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

Reply To: Analog-to- Digital Converter Port on Mayfly Data Logger

Home Forums Mayfly Data Logger Analog-to- Digital Converter Port on Mayfly Data Logger Reply To: Analog-to- Digital Converter Port on Mayfly Data Logger

#13182
Shannon Hicks
Participant

Mayfly D22 is not a physical pin on the board, it’s processor pin 22, which means you set it high or low using digitalWrite commands in your sketch, just like you would with pin 8 or 9 to turn the red or green LEDs on or off. If you’re new to Arduino or the Mayfly, you might try working through example sketches or workshop sketches in our Github repo to familiarize yourself with the operation before you connect an expensive sensor like an OBS3 to a Mayfly.