How to implement the I2C test board using PIC16F77?
Posted: Tue May 24, 2005 8:30 pm
Hi every body.
I am a newbie in PIC microcontroller.
I am starting study about PIC, so i want to build some test programming such as blink a led, Echo characters from PC via RS232, I2C communication...
I just have only two pic16F77 and PIC16F84A to practice.
I had build two test programming blink led and Echo characters from PC via RS232 successful. Now i want to build I2C communication between two pic.
or interface i2c between pic16F77 and serial ROM (I2C ROM).
Have any one, who had build i2c test board using pic16f77 or another pic such as 16f877... or have experience in pic give me a schematic and source code.
I am using PIC C compiler to build program.
Thanks.
valemike Guest
Posted: Wed May 25, 2005 10:29 am
okay, so assuming you already have the circuit to do the other stuff as you say you do, then just add the following:
solder a wire between RC3 on one micro to RC3 on the other.
Solder another wire between RC4 on one micro to RC4 on the other.
Tie one end of a 4.7K resistor on one wire.
Tie one end of a different 4.7K resistor on the other wire.
Tie the two dangling ends of the resistors together and pull them up to the 5V rail.
That's the hardware.
as for the software -- it's archived everywhere in this website.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum