Home › Forums › Mayfly Data Logger › Code change for Meter Hydros 21 CTD › Reply To: Code change for Meter Hydros 21 CTD
2022-06-23 at 7:13 PM
#17115
A couple bits of additional info. To visually identify whether your Hydros 21 is a Gen 1 or a Gen 2, see attached photos of the sensor head on each version. Note that some Gen 1’s had red cables
A couple bits of additional info. To visually identify whether your Hydros 21 is a Gen 1 or a Gen 2, see attached photos of the sensor head on each version. Note that some Gen 1’s had red cables, but not all.
Second, as Shannon noted in the post she linked to above, the address-setting on the Gen 2 is slightly more finicky; you just have to repeat it a few times. Here’s my serial output from the b_address_change.ino sketch:
12345678910111213141516171819202122 Opening SDI-12 bus...Powering up sensors...Checking address 0...VacantVacantVacantChecking address 1...VacantOccupiedSensor active at address 1.Enter new address.Readdressing sensor.Success. Rescanning for verification.Checking address 0...OccupiedSensor active at address 0.Enter new address.Readdressing sensor.Success. Rescanning for verification.Checking address 0...VacantVacantVacantChecking address 1...OccupiedSensor active at address 1.Enter new address.
Note the “Checking address 1…Vacant
Occupied”. Then after the first “Enter new address” prompt, I typed 1, but it came back with “address 0…Occupied”. So be persistent and your change will take.
-Matt