Lolin D32 v1.0.0 can't get I2C working
Posted: Sun Mar 30, 2025 3:27 am
Hello! Been a while. I'm currently working on an alarm clock, and I'm at my wits' end now.
Originally I was using a board that registered as Node32s in Arduino IDE. Like this one
https://www.aliexpress.com/item/1005005 ... 1802p25W0k
Everything worked, I had a screen going with Bodmers TFT-Espi and a DS3231 RTC. But when removing the headers to solder wires directly to the board (very cramped) I pulled two traces off. Rather than screw around trying to repair it I just got a replacement board, as I wanted to add a battery backup anyway. So, I got the Lolin D32 v1.0.0
https://www.aliexpress.com/item/1005005 ... 1802fmqpHJ
No matter what I try, I can't get I2C to work on this board. I got 2 of them, after soldering everything on and realizing it didn't work, I grabbed the second one to connect only the DS3231. Still nothing. I was originally connected to the labelled pins for SDA and SCL, pins 21 and 22. I grabbed the old board with the broken traces, and that one can read the I2C. So the DS3231 didn't die randomly. I even tried a second RTC just in case, still nothing.
So I tried setting different pins as the I2C pins. Still doesn't work. Okay, the RTC has resistors on it already so it's easy to wire up, but some people said to add external pull up resistors anyway. Tried that with the suggested 4.7k, still nothing. I figured, because it works without those on the original board, but tried anyway.
So now, I am at a loss. I do not know WHY it refuses to work. The only real difference between the boards is that the Lolin D32 has a battery port. I don't believe that would affect this, especially with the battery disconnected, but I just have no idea. Anyone else experience this, or have any suggestions? At this point I'm ready to drop the battery and fix up the old board, or at least get a replacement of the old one.
Thanks all.
Originally I was using a board that registered as Node32s in Arduino IDE. Like this one
https://www.aliexpress.com/item/1005005 ... 1802p25W0k
Everything worked, I had a screen going with Bodmers TFT-Espi and a DS3231 RTC. But when removing the headers to solder wires directly to the board (very cramped) I pulled two traces off. Rather than screw around trying to repair it I just got a replacement board, as I wanted to add a battery backup anyway. So, I got the Lolin D32 v1.0.0
https://www.aliexpress.com/item/1005005 ... 1802fmqpHJ
No matter what I try, I can't get I2C to work on this board. I got 2 of them, after soldering everything on and realizing it didn't work, I grabbed the second one to connect only the DS3231. Still nothing. I was originally connected to the labelled pins for SDA and SCL, pins 21 and 22. I grabbed the old board with the broken traces, and that one can read the I2C. So the DS3231 didn't die randomly. I even tried a second RTC just in case, still nothing.
So I tried setting different pins as the I2C pins. Still doesn't work. Okay, the RTC has resistors on it already so it's easy to wire up, but some people said to add external pull up resistors anyway. Tried that with the suggested 4.7k, still nothing. I figured, because it works without those on the original board, but tried anyway.
So now, I am at a loss. I do not know WHY it refuses to work. The only real difference between the boards is that the Lolin D32 has a battery port. I don't believe that would affect this, especially with the battery disconnected, but I just have no idea. Anyone else experience this, or have any suggestions? At this point I'm ready to drop the battery and fix up the old board, or at least get a replacement of the old one.
Thanks all.