ArduinoMid icon indicating copy to clipboard operation
ArduinoMid copied to clipboard

how to use rtc ?

Open magaiverzinho opened this issue 6 months ago • 5 comments

Where to place the real time module on the board?

magaiverzinho avatar May 27 '25 10:05 magaiverzinho

Hi, get him some power and connect data to I2C (two-pin SDA SCL header, next to SIP relay). Have you already ordered PCB?

Hery255 avatar Jun 07 '25 11:06 Hery255

Yes, my mid is already assembled and working! It is missing the rtc and the sip relay that saves the data when turning off the key

magaiverzinho avatar Jun 07 '25 22:06 magaiverzinho

Is the RTC only used to save the time and date? Or is it also used to save travel data, consumption and other things?

magaiverzinho avatar Jun 07 '25 22:06 magaiverzinho

RTC itself can only store time and date. For travel data you need to have EEPROM, which stores data on shutdown and loads then on setup. But they can be on the same module/PCB, f.e. DS3231 module has usually also AT24C32 - I2C EEPROM memory .

And where are you from? Now I have everything on universal PCB and instead of ordering 5pcs fron JLCPCB, I could buy one or two from you, If you will. Also you managed to get some Amber LCD? I cannot find it anywhere so for now I test IT on different color and it doesn't look pretty in my car (Frontera B).

Hery255 avatar Jun 08 '25 06:06 Hery255

I'm from Brazil, I ordered the plates a while ago, I bought some spares, and I have some left over

magaiverzinho avatar Jun 11 '25 11:06 magaiverzinho