Your PIC will be a Master transmitter. If your PIC has the hardware I2C and you want to use it, connect the SCL line to the PIC's SCL pin and SDA line to the PIC's SDA pin. If you PIC doesn't have hardware I2C, you can use any pair of digital I/O pins for bit-banged I2C. Don't forget the pull-up resistirs. For the Vcc=+5V the pulups should be 2.2k.
Good luck
Guest
help!!!!
Posted: Wed Mar 15, 2006 5:03 am
kender can u give me a webside that show the connection between pcf8583 and pic.... why we need pull-up resistor?? thank
PICoHolic
Joined: 04 Jan 2005 Posts: 224
Posted: Thu Mar 16, 2006 3:11 am
As a background you should get a document describing the i2c protocol (from the net) after that start reading about the i2c hardware in any PIC (that supports i2c) datasheet.
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