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

InSitu RDO PRO-X not reading

Home Forums Environmental Sensors InSitu RDO PRO-X not reading

Viewing 2 reply threads
  • Author
    Posts
    • #15628
      Selbig
      Participant

        I’m using the code pulled from the menu_a_la_carte for the InSitu RDO PRO-X and Decagon ES2. I’m able to get values for the Decagon but the RDO returns -9999 values. I was able to communicate with the RDO using WinSitu software and change the SDI address to 5. I’m powering the RDO using a separate 12v battery. I’m pretty confident my connections are correct but I’m less confident in the code. Is there anything missing or in error? Here’s an example of what is returning in the serial window:

        -> SampNum
        -> Battery
        -> BoardTemp
        -> RDOpercent
        -> RDOppm
        -> RDOtempC
        -> RDOppO2
        -> ES2Cond
        -> ES2Temp

        \/—- Line Saved to SD Card —-\/
        2021-06-28 22:25:00,3,4.852,28.75,-9999.00,-9999.00,-9999.00,-9999.00,1.5,14.15

         

         

         

      • #15629
        Shannon Hicks
        Moderator

          I successfully used that sensor with a Mayfly v0.5 board with no problem.  If you’re powering the sensor with a separate 12v battery, do the Mayfly and the 12v battery share a common ground?  The white wire from the sensor is the SDI-12 data line, which should go to pin 7 , as you stated in Line 93.  It’s fine to use a separate battery to provide the 12v power to the sensor (red wire), but you need to make sure the Ground pin of the Mayfly is connected to that external battery, and the ground line of the sensor (black) is connected to the external battery as well.  I assume you used the sensor’s two RS485 wires (green & blue) to connect to some sort of modbus-to-PC adapter so you could use their software to change the SDI-12 channel number?  For future reference, you can use the Mayfly to change that channel number using the example “b_address_change” sketch included in our SDI-12 library.  Once you’ve deployed your sensor and don’t need to access the RS485 wires anymore, make sure you cover the bare ends of the green and blue wire and don’t let them touch anything on the Mayfly board or other pins in your logger enclosure.

          I would also suggest removing line 172, because it’s going to reprogram the RTC time every time the board is turned on or restarted to whatever time you’re written in line 34.  If you’ve got a CR1220 coin cell battery in the Mayfly’s battery holder, there’s no reason to set the clock more than once.  It’s best to set the clock in a sketch all by itself, then verify that it’s synchronized, then upload any other sketch you want and the clock will keep the correct time for several years, until either the CR1220 dies or is removed.

        • #15630
          Selbig
          Participant

            Thank you for the useful advice. I grounded the Mayfly to the 12v battery ground and voila! The RDO is reading perfectly. Never would have thought of that one so you saved me a ton of time. Thanks!!!!

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