1

I have DS1307 small SMD parts so I can't simply leave out the resistors easily to make it work with 3.3V by default as with adafruit kit tutorial. How could I connect this device to my Raspberry Pi correctly? I assume I could add a resistor but I am not sure to what pins as this is I2C device.

Also what is the likelihood I damage either raspberry pi or rtc module by connecting it as is at 5V? Would it function properly?

Here's the front of the RTC:

DS1307 front

SlySven
  • 3,631
  • 1
  • 20
  • 46
DominicM
  • 155
  • 1
  • 3
  • 11

2 Answers2

3

R2 looks to be connected to the SDA pin. I guess R1 would be connected to SCL, and R3 to SQW. But you could just unsolder all three of them. You don't need those, as the Pi already has 1.8K resistors on the I2C lines.

SCL is just an input on the RTC and the SDA is an open drain, so all it does is pull the line to ground, so the RTC chip will never put 5V on any of those 2 pins. Minimal signal voltage required on the SCL and SDA lines is 2.2V so well below the 3.3V the Pi. So all should work fine once those resistors are removed.

(PS eBay has better RTC modules, for half the price)

Gerben
  • 2,420
  • 16
  • 17
1

Connecting directly will damage the Pi.

It is possible to use a level translator (you will find many examples), but this seems overkill for this application.

What do you mean by "non removable parts". It is always possible to cut the resistor leads, or in extreme (e.g. for SMD) crush the resistor with a pair of pliers.

Milliways
  • 62,573
  • 32
  • 113
  • 225