Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of WikiWatershed, an initiative of Stroud Water Research Center designed to help people advance knowledge and stewardship of fresh water.
New to EnviroDIY? Start here

Reply To: Connecting Arduino MEGA or NANO with Teros 12 Sensor

Home Forums Environmental Sensors Connecting Arduino MEGA or NANO with Teros 12 Sensor Reply To: Connecting Arduino MEGA or NANO with Teros 12 Sensor

#18837
Shannon Hicks
Moderator

    Did you make sure the sensor is properly wired to your Mega, (tip to 5v, sleeve to GND, and ring to data) and that the pin number in the sketch matches whatever pin number you connected the data line to?  If all the wiring is correct, then it might be an issue with the latest SDI12 library that a few people have reported.  You could try replacing all of the latest SDI12 library files you downloaded (the entire folder) and replace it with a stable legacy version (v2.1.4) from a few years ago (https://github.com/EnviroDIY/Arduino-SDI-12/tree/v2.1.4) and see if that fixes it.