Electronic Circuits and Projects Forum


I2C bus: PIC16F874 to DS1307

Results 1 to 2 of 2
Reply to Thread
  1. #1
    3lectrokid
    3lectrokid is offline

    Default I2C bus: PIC16F874 to DS1307

    how do i connect the PIC16F874 to the DS1307. on the PIC i see SDO,SDI and SCK pins but i dont understand how to wire the sensor up to them

  2. #2
    dougy83
    dougy83 is offline
    Quote Originally Posted by 3lectrokid View Post
    on the PIC i see SDO,SDI and SCK pins
    Those pins are for SPI. If you're after I2C, use SCL & SDA pins.

Reply to Thread

Similar Threads

  1. Problems using 16F877 and DS1307 with I2C
    By pmsantos in Microcontrollers
    Replies: 7
    Latest: 9th July 2010, 01:15 PM
  2. I2C bus length
    By marxmax in Microcontrollers
    Replies: 22
    Latest: 2nd January 2010, 03:19 AM
  3. i2c bus
    By udayshanbhag in Electronic Projects Design/Ideas/Reviews
    Replies: 15
    Latest: 30th April 2005, 01:27 AM
  4. I2C Bus
    By i2c2k in Microcontrollers
    Replies: 4
    Latest: 27th February 2004, 11:48 PM
  5. I2C bus
    By thendo in Microcontrollers
    Replies: 1
    Latest: 20th November 2003, 09:04 AM