Sketches and documentation for Arduino-compatible EnviroDIY Mayfly data logger
Clone or download
Pull request Compare This branch is 15 commits ahead, 4 commits behind EnviroDIY:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

EnviroDIY Mayfly Data Logger

The EnviroDIY™ Mayfly Data Logger is a powerful, user-programmable microprocessor board that is fully compatible with the Arduino IDE software. The goal of the Mayfly Logger project is to enable professional-quality do-it-yourself environmental science and monitoring.

Getting Started

  1. Read Getting Started With the Mayfly Data Logger on the EnviroDIY community website.
  2. Purchase an EnviroDIY Mayfly Data Logger Board or an EnviroDIY Mayfly Data Logger Board and Starter Kit on
  3. Install the Arduino Integrated Development Environment (IDE) application on your computer; add "EnviroDIY ATmega Boards" using the Tools > Board > Boards Manager as described in the Mayfly Data Logger Software post.
  4. Clone or download (and unzip) this entire repository into your Arduino Sketchbook directory, for schematics, and code examples to learn how to program the Mayfly Board.
  5. Learn by running the example and workshop code sketches, using the Arduino IDE (from File > Sketchbook), from our EnviroDIY_Mayfly_Logger > examples or EnviroDIY_Mayfly_Logger > workshop folders.
  6. Use our ModularSensors code library and other EnviroDIY libraries on GitHub to deploy solar-powered environmental monitoring stations.


Open an issue to suggest and discuss potential changes/additions.

For power contributors:

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D


Software sketches and code are released under the BSD 3-Clause License -- See file for details.

Documentation is licensed as Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) copyright.

Hardware designs shared are released, unless otherwise indicated, under the CERN Open Hardware License 1.2 (CERN_OHL).


EnviroDIY™ is presented by the Stroud Water Research Center, with contributions from a community of enthusiasts sharing do-it-yourself ideas for environmental science and monitoring.

S. Hicks is the primary developer of the EnviroDIY Mayfly Logger, with input from many other contributors.

This project has benefited from the support from the following funders:

  • William Penn Foundation
  • US Environmental Protection Agency (EPA)
  • National Science Foundation, awards EAR-0724971, EAR-1331856, ACI-1339834
  • Stroud Water Research Center endowment