Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions regarding Real Time Clocks (RTCs) which can be a timekeeper IC used by microcontrollers, or using a microcontroller as an accurate timekeeper. Some have calendar, alarm, interrupt or heartbeat features, while some simply keep track of time since last programmed (Epoch timers are similar).
0
votes
1
answer
981
views
DS3231 stops working on VBAT
So I had a problem with DS3231 not counting time when on VBAT. Also, I had a problem with alarm not resetting after it is triggered. I saw many people on the net having these problems, so below is the …
3
votes
DS3231 stops working on VBAT
If you want RTC to count time properly when VBAT is off, reset bit 7 in 0x0E - it ensures oscillator action on VBAT. … Here is the code in Arduino for clearing registers, then setting alarm (using DS3231.h library; this library unfortunately does not have a function to clear alarms properly):
DS3231 RTC;
Wire.beginTransmission …