Jump to content
Sign in to follow this  
dom

bit switch with pic10f204

Recommended Posts

hey guys

im trying to build a bit switch but i have only acces to a pic10f204 and not a pic10f202

i was wondering if can use that pic instead of the one you guys use

i asked the same question on an electronics forum and they told me i had to put this near the start

bcf CMCON0, CMPON

but to edit the code i need the .asm file

whats your thought on this subject?

can you give me the .asm file or is there any way to convert the .hex file into a .asm file

have you guys ever tried the build a bit switch with a pic10f204

Share this post


Link to post
Share on other sites

The comparator disable code is already in place. The memory space on the 10F204 is 256 word. The 10F202/F206 is a 512 word device. The code may not fit (have not tried it).

Share this post


Link to post
Share on other sites

thanx for the reply

does that mean that if the code is less than 256 word it will work ?

how can i see the length of the code

are there any other pic's that would work for this project

Share this post


Link to post
Share on other sites

I don't have the free time to review the code to see if the ram locations and other resources will be compatible with the 10F204. So please use the 10F202/206, as recommended in the project text and the downloaded readme file. If you are interested in trying the 10F204 then just burn one and see what happens. Might work, might not.

Share this post


Link to post
Share on other sites

Hello,

I`m trying to build all so a bit switch. I`am not very good in electric stuff thats why I`m only buying parts and my friend will make from them a bit switch.

So now I have both all the parts except pic10f202/206. The question is which one schould I buy from this list?

http://lemona.lt/index.php?page=search&filter=0&q=pic10F202&option=0

http://lemona.lt/index.php?page=search&filter=0&q=pic10F206&option=0

I need that the chip will be with 8 pins and not small in the size.

Something like in the picture.

Thank You!

Share this post


Link to post
Share on other sites

The part numbers with a P at the end are 8-Pin DIP. Dimensions are found in the PIC's data sheet.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×