[SOLVED] Use a PIC16F628 instead of a PIC12F683p in a circuit

Status
Not open for further replies.

Nojman

Newbie level 6
Joined
Jan 11, 2014
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
108
Hi!

I want to build a clapper and I found this tutorial online, https://embedded-lab.com/blog/?p=6439
But he is using a PIC12F683p and I want to use PIC16F628. Can't find any with a PIC16.. :/
I have one at home and have worked a little bit with it before so I want to use.

Can i use the PIC16 or do i need to change the whole circuit?
And do i just connect the wires to the same names on the pins? (PIC12 is VSS pin8 and on PIC16 is VSS pin5, so i connect it to PIC16 pin5).

Thanks
 

The two processors are almost identical apart from their pin counts. Yes, use the pins with the same name but you will also have to compile the program for the '628 processor. There will be minor differences such as the configuration bytes but otherwise little has to be done.

Brian.
 
Reactions: Nojman

    Nojman

    Points: 2
    Helpful Answer Positive Rating
Okay, thanks for the fast replay
 

Hi again!

Do you think you can help me with the code? Tried to edit by myself but cant make it work... :sad:
Read the datasheet but had a hard time understand it.

Tanks
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…