Realtime Clock in Arduino: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
=Internal= | |||
Is shut down if Arduino loses power. Can use 3.7 battery for power. Library is RTC.h. | |||
https://www.arduino.cc/en/Reference/RTC | |||
=External= | |||
<html><iframe width="560" height="315" src="https://www.youtube.com/embed/E6wkvTG2Ofs" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></html> | <html><iframe width="560" height="315" src="https://www.youtube.com/embed/E6wkvTG2Ofs" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></html> | ||
Module is cheap - [https://www.amazon.com/HiLetgo-AT24C32-Arduino-Without-Battery/dp/B00LX3V7F0/ref=asc_df_B00LX3V7F0/?tag=hyprod-20&linkCode=df0&hvadid=312400581241&hvpos=&hvnetw=g&hvrand=9151307232354017007&hvpone=&hvptwo=&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=9023315&hvtargid=pla-576374083857&psc=1] | Module is cheap - [https://www.amazon.com/HiLetgo-AT24C32-Arduino-Without-Battery/dp/B00LX3V7F0/ref=asc_df_B00LX3V7F0/?tag=hyprod-20&linkCode=df0&hvadid=312400581241&hvpos=&hvnetw=g&hvrand=9151307232354017007&hvpone=&hvptwo=&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=9023315&hvtargid=pla-576374083857&psc=1] |
Revision as of 06:43, 19 March 2021
Internal
Is shut down if Arduino loses power. Can use 3.7 battery for power. Library is RTC.h.
https://www.arduino.cc/en/Reference/RTC
External
Module is cheap - [1]