Hi folks,
I'm a bit new at the whole Arduino / electronics thing so please excuse me if I'm asking dumb questions! I've researched this quite a bit but I haven't been able to make it click so far - I was hoping maybe somebody could explain this to me. I'm working on a remote weather sensor that has a DS18B20 and a DH11 in it, powered by an Uno + a battery pack. I'm working to conserve power on the Arduino its self currently.
I understand the whole deal with the watchdog timer, but what I'm looking to know is whether or not the watchdog timer could be staggered. From what I understand the timer allows for a maximum of 8 seconds at a time - I'm looking to have the Arduino sleep for about 14 minutes, to send the updated temp/humidity via Xbee every 15 minutes. I guess the main point I'm trying to clear up is whether or not this type of deal would be possible:
void sleep()
{
sleep magic
}
void loop() {
do stuff
for until i is 113
{
sleep()
}
}
I've seen this mentioned elsewhere but I can't really been able to determine if this will work, or if this is a good idea. I understand that the Arduino will be powering off and on and I'm okay with that. I'm not looking to make something that will last forever, just something that will last for a bit more than a day
I'm aware of the external timer/clock + pin wake up method, but I'm preferring not to go that route at this time - I'm trying to keep things as simple as possible as I learn a bit more about this process.
Thanks guys - and I'm sorry if the answer to this is around somewhere, I did look, but I tend to be prone to occasional blindness.