Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • Thanks very much for your answer. I also had a feeling that connecting both pins together via the resistor was not a good idea, but the post I had mentioned made it sound plausible. Also the datasheet didn't give any indication of what kind of resistors to use or how to calculate their value and what info I found was between 4.7K and 10K. I tried with 10K each and it worked. However, there will also be a barometric sensor module (BMP180) attached which has its own internal resistors. Would this then mean I wouldn't need resistors for the DS1337 in the first place? Commented Jul 2, 2021 at 19:13
  • @jhorv The resistors only need to exist. It doesn't matter if they are in another module or wired direct to the bus. You can even have multiple resistors, in which case the resistance is just the parallel total of those resistances. Commented Jul 2, 2021 at 19:52
  • I made a mistake with the resistors. I forgot to pull the interrupt pin high, thus it was always low and that made it look like the DS1337 was waking the MCU. The DS1337 is not working with 10K resistors but neither with 1K resistors. I keep getting an I2C error 4. I will start a new question after doing some more tests and background research. Thanks again for your help. Commented Jul 5, 2021 at 20:20