-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working on ESP32 Lolion32 #1
Comments
@MerlinTheProgramist Then the example prints "RTC not found, it is recommended to start with running an I2C test program to check the presence of the DS1307 I2C address to double check the wiring. |
@Erriez |
Please find some hints below to double check: What happens when reducing the I2C clock speed to 100kHz, or even lower to 10kHz? // Set I2C clock to 100 kHz
Wire.setClock(100000); Is the I2C device powered to the same 3V3? Please notice that I2C communication problems are beyond the scope of this DS1307 library. |
sorry to bug you here! but i wanted to thank [Erriez] and add few things:
hope i could have been some help. |
@josef2600 Thanks for sharing your info! The deviation error with the DS1302 is even worse, but DS3231 is already better than DS1307. However, it depends on the chip itself as there are a lot of clones / fake chips around. The MCP79410 is new for me, so I'll check where to buy it. |
It is not working on esp32 on ports that you mention in the table, maybe there is a slip-up with it. I tested it on Arduino Uno and it works great with the same RTC. With the Example that U posted I get a debug "RTC not found". I'm also not connected to the SQW pin on the RTC, but I think it is not required to just get/set time. It could be my fault but IDK.
The text was updated successfully, but these errors were encountered: