Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of WikiWatershed, a web toolkit designed to help citizens, conservation practitioners, municipal decision-makers, researchers, educators, and students advance knowledge and stewardship of fresh water. New to EnviroDIY? Start here

Sleeping Mayfly logger example

This example sketch is similar to the simple file example except that it also puts the Mayfly to sleep in between samples.  The logger wakes up every minute to check the time (and print the time to the screen), and you can choose the interval at which it does the logging.

You’ll need 3 additional libraries (RTCTimer, Sodaq_DS3231, and Sodaq_PcInt), download them here if you don’t already have them:  Arduino libraries for the Mayfly.