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

Hydros21 sensors not returning data

Home Forums Mayfly Data Logger Hydros21 sensors not returning data

Viewing 3 reply threads
  • Author
    Posts
    • #18591
      kwolfe
      Participant

        We are unable to get our Hydros 21 CTD sensor to return data. We are getting -9999 values on both the SD card and the website. All the connections are secure. The SDI-12 address is set as follows:
        <div>
        <div>     const char*   hydrosSDI12address = “1”;  // The SDI-12 Address of the Hydros 21</div>
        <div>     const uint8_t hydrosNumberReadings = 6;  // The number of readings to average</div>
        <div>     const int8_t  SDI12Power = sensorPowerPin;  // Power pin (-1 if unconnected)</div>
        <div>     const int8_t  SDI12Data  = 7;               // The SDI12 data pin</div>
        </div>
        <div></div>
        <div>We switched out the Hydros 21 CTD with an extra one we have and get the same results.</div>
        <div>We have run out of ideas and are looking for any suggestions of things to try to resolve the issue.</div>
        <div></div>
        <div></div>

      • #18592
        Shannon Hicks
        Moderator

          Did you do the example “b_address_change” sketch first, to change the sensor’s default channel from 0 to 1?

          • #18594
            kwolfe
            Participant

              We tried that but are still getting -9999 values.

          • #18595
            Shannon Hicks
            Moderator

              When you did the address changing sketch, did you get a positive result using the serial monitor that showed the channel was changed to something other than 1?  Sometimes there’s a glitch where you have to set the channel twice before the change actually happens and it stays on the new channel.

              What sketch are you using for the logging sketch where you’re getting -9999 results from the sensor?  Is the sensor connected to the logger with a 3.5mm headphone jack, or bare wires and a screw terminal board?  Which grove jack are they connected to on the Mayfly?  What’s the voltage selection jumper next to that Grove jack set to?

            • #18600
              kwolfe
              Participant

                Setting the channel twice did the trick.

                Thanks!

            Viewing 3 reply threads
            • You must be logged in to reply to this topic.