Home › Forums › Mayfly Data Logger › Hydros21 sensors not returning data
- This topic has 4 replies, 2 voices, and was last updated 2024-07-31 at 3:41 PM by
kwolfe.
-
AuthorPosts
-
-
2024-07-24 at 5:02 PM #18591
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> -
2024-07-25 at 11:07 AM #18592
Did you do the example “b_address_change” sketch first, to change the sensor’s default channel from 0 to 1?
-
2024-07-26 at 4:54 PM #18594
We tried that but are still getting -9999 values.
-
-
2024-07-26 at 7:27 PM #18595
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?
-
2024-07-31 at 3:41 PM #18600
Setting the channel twice did the trick.
Thanks!
-
-
AuthorPosts
- You must be logged in to reply to this topic.
Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of