Hi,
I'm trying to build a single channel data logger which will be battery powered so needs to be low powered.
My idea was to read the AtoD and write the value to a SD card every second for 24 hours. Between reads I hoped to put the Arduino Duemilanove to sleep.
I can put the Arduino to sleep OK but what is the best way to wake it every second to take a measurement? I think there are two options, either the WDT or an RTC.
If I use the WDT are there any problems with the bootloader? A code example would be appreciated.
If I use an RTC (this will be a first for me) how do I control it, by SPI? (I have a DS1305) A code example would be appreciated.
Another option is the datalogging shield from nuelectronics. They are in the UK, but the size of the shield makes posting it anywhere not an issue. Cost before postage at 1 Nov 10: abt US$17
Has RTC and interface for SD card, and the analog inputs are all available. (Shield gives you nice connector options, too.) I don't know about the "sleep" part of your needs... but doubt there's anything about the shield to get in the way.