This was an experiment to make an easy, no external components, simple clock.
But of course they are dedicated chips when you want to have precise time.
One of them is the popular DS3231, also not the cheapest if you add in a PCB, you can find it for around 3 USD in Aliexpress or eBay.
The DS3231 is a low-cost, extremely accurate I2C real-time clock (RTC) with an integrated temperature- compensated crystal oscillator (TCXO) and crystal.
In my latest project:
Epaper weather station where I aim to design an open source controller PCB but also the code to drive it, I've designed an ESP32S3 PCB, that acts as a master SPI but also has a DS3231 on board. So you can have both things directly available in case you need to make an industrial clock.
This RTC chip due to the compensated crystal allows also to read ambient temperature.
If you are interested in the Epaper weather station project please follow it in Github to be aware of the new additions.
And now would be someone interested in having a demo code with one of this cheap RTC modules like the one below?

Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.