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

Simple file example

This example Arduino sketch will create a file on the Mayfly’s microSD card, then measure the battery voltage at a recurring interval and write that voltage measurement to the memory card file.  It will also print the data to the serial port so you can view it with the Serial Monitor.  All of the libraries needed for this example should be included with your Arduino IDE.