EnviroDIY / Arduino-SDI-12

An Arduino library for SDI-12 communication with a wide variety of environmental sensors. This library provides a general software solution, without requiring any additional hardware.
https://github.com/EnviroDIY/Arduino-SDI-12/wiki
BSD 3-Clause "New" or "Revised" License
158 stars 100 forks source link

Data read error #74

Open miguepoloc opened 3 years ago

miguepoloc commented 3 years ago

Hello, I am trying to read the data from a LUFFT 600 weather station or a Hydrolab DS5x probe but I have been able, even if I connect the SDI-12 data pin to any of the pins of the arduino it does not recognize it. How much I achieved was what is sampled in the image and nothing else. Using an OTT datalogger if it was possible to observe the data. image

SRGDamia1 commented 3 years ago

What type of Arduino are you using? Are you using a level-shifter of any kind? SDI-12 standard is 12V, but some instruments use other voltages. Some sensors may also need extra "wake-up" time before responding to commands. You add that by adding the time as an extra argument on the sendCommand function; ie, sendCommand("1M!",100).