3

I have a portable project on my Raspberry Pi Zero and I am using a i2c 0.96" OLED on the SDA/SCL pins on my Raspberry Pi. I would like to add a RTC Module to my project, but all of the tutorials I have seen involve using the SDA/SCL pins for communication.

I have not purchased an RTC module yet. The OS that I am using is Raspbian Lite. Is it still possible for me to install an RTC module on this project?

MatsK
  • 2,882
  • 3
  • 17
  • 22
chill389cc
  • 133
  • 4

1 Answers1

3

As others have commented, yes, you can have multiple I2C devices (that's the whole point of a bus!)

Make sure that you only have ONE set of pull-up resistors on the bus. Presumably your oled card already has them, otherwise it would not be working. Unfortunately, many I2C vendors put pullups on their boards; the better ones put solder jumpers that you can break off. Either way, make sure the rtc module you use either has some way of disabling its own pullups, or that it doesn't have any.

JayEye
  • 1,908
  • 12
  • 19