Skip to main content
Arduino

Timeline for Programming Arduino Uno R3 to trigger a relay once every 24 hours

Current License: CC BY-SA 4.0

13 events
when toggle format what by license comment
Jul 26, 2022 at 7:43 history edited ocrdu CC BY-SA 4.0
added 7 characters in body
Sep 5, 2020 at 8:51 vote accept Felix0004
Sep 5, 2020 at 8:40 comment added Felix0004 Thank you Edgar for your very informative inputs, contributions and your very kind help. I will research your idea more deeply and try to apply it practically soon. and yes the 3.3 v arduino pin is power output i mean to use it to power the RTC module not to power the arduino, I found a local supply that have 3 different models of RTC modules, PCF8523, DS1307 and DS3231 and DS1302 IC only and DS1307 8 dip package IC, I made some research and found that DS3231 is the most accurate with high precision because it has temperature sensor that adjust any timing drift/shift periodically
Sep 4, 2020 at 9:27 comment added Edgar Bonet The 3.3V pin of the Uno is a power output, you cannot power your Arduino through it. If you replace the Arduino by a bare ATmega on your own PCB, you can replace the resonator by a 16 MHz crystal oscillator. It may still drift too much, but the drift rate will be consistent and you can calibrate it out. Alternatively, clock the ATmega off its internal RC oscillator, and plug a clock crystal into the TOSC pins of its asynchronous timer. Used this way, the asynchronous timer is like an RTC built into the ATmega.
Sep 4, 2020 at 8:51 comment added Felix0004 So, No programmatical solution, it must be a hardware solution for this, by using an RTC external module or maybe by making my own pcb circuit installing a crystal oscillator on it and connecting it to the arduino digital pin output ? And the link you posted is very useful thank you, I'm going to read it. I don't want to use an RTC so i don't have to change the battery every while, Or can i just connect the battery socket to the arduino 3.3v dc power pin? Thank you very much Edgar, Greatly Appreciated
Sep 3, 2020 at 12:16 answer added JRobert timeline score: 1
Sep 3, 2020 at 12:00 history tweeted twitter.com/StackArduino/status/1301490121888366593
Sep 3, 2020 at 0:05 history became hot network question
Sep 2, 2020 at 20:36 comment added Edgar Bonet "Few minutes every few months" is about 20 ppm. You can expect close to 1,000 ppm clock drift on the Uno. Even if you calibrate out the drift, frequency wander will likely defeat your calibration to worse than 20 ppm in a day or so. You really need an RTC for meeting your accuracy requirement. See Arduino clock frequency accuracy for a detailed experimental analysis on the frequency stability of the Arduino (the Uno has a resonator similar to the one on the Pro Mini).
Sep 2, 2020 at 16:34 answer added StarCat timeline score: 4
Sep 2, 2020 at 16:33 answer added ocrdu timeline score: 3
Sep 2, 2020 at 16:02 review First posts
Sep 2, 2020 at 17:09
Sep 2, 2020 at 16:01 history asked Felix0004 CC BY-SA 4.0

AltStyle によって変換されたページ (->オリジナル) /