bmg1234:
I need to make my arduino to wake up once in hour and goes sleep after 1 minute. will your code help me. what changes i should make. can you please guide me
- In post #7 in setup you need to change the RTC ALM1 to minutes, not seconds: RTC.setAlarm(ALM1_MATCH_MINUTES, 00, 00, 0, 0);
- Then, there in the loop, while woken up, currently the new "wakes" are set at 5 minutes past the hour.
The loop is written so that you get back to sleep, to the end of void loop(){}
If you want to wait for one minute before going to sleep after wake-up, insert a timer with this delay.