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: Logging Mayfly with Decagon SDI-12 Sensor

Home Forums Mayfly Data Logger Logging Mayfly with Decagon SDI-12 Sensor Reply To: Logging Mayfly with Decagon SDI-12 Sensor

#2136
Sara Damiano
Moderator

Now that your sensor is connected and has an address set, you can get data from it using code like this:

Once you have an array of values from the sensor, you can save them to an SD card or anything you’d like.