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

Shannon Hicks

Forum Replies Created

Viewing 10 posts - 11 through 20 (of 562 total)
  • Author
    Posts
  • in reply to: Reading -9999 on all Sensors #18756
    Shannon Hicks
    Moderator

      Have you tried measuring the voltage being applied to the sensors by using a voltmeter when the channel scanning sketch is running?  For the turbidity sensor’s screw terminal board, put the voltmeter’s red probe on either of the V+ screws, and the black probe on either of the GND screws.  For the CTD sensor’s 3.5mm headphone jack adapter board put the probes on the two points shown in the attached photo.

      in reply to: Reading -9999 on all Sensors #18749
      Shannon Hicks
      Moderator

        In your 4th picture, it looks like the Grove cable plug may not fully be seated in the grove jack.  Not sure about any of the other ones since the angles in the photos didn’t show them well, but be sure that it’s pressed all the way into the jack.  And your second photo shows that your two SDI12 Grove jack voltage selection jumpers are both set to the default 3.3v position.  As stated above, the ClariVue sensor requires 12v to operate, and since you’re not using one of the 12v boost screw terminal boards, (photo 3 shows the standard 6-position multipurpose screw terminal board), then you’ve got to select 12v on the Grove jack where you’ve got the turbidity sensor connected.  Also look at the bottom of the screw terminal board and make sure there are solder blobs on the 3 solder jumpers, all in the default position (there’s a photo of the bottom of the board on the product page, showing the 3 possible solder jumper positions)

        I assume you plugged both sensors into the Mayfly for the photo, but remember that you need to fully disconnect one of them if you’re trying to set the SDI12 channel.  The sketch you sent looks like it’s been slightly modified from the original one that’s included in the SDI12 library’s example (which can be found here: https://github.com/EnviroDIY/Arduino-SDI-12/blob/master/examples/b_address_change/b_address_change.ino).  I would recommend you use the original sketch, with only one sensor attached, making sure both ends of the Grove cable are plugged in securely, and that you use 12v on the one for the turbidity sensor.

        in reply to: Reading -9999 on all Sensors #18740
        Shannon Hicks
        Moderator

          Can you describe how you’ve connected the sensors to your Mayfly, there are multiple ways to do it correctly with the adapters we offer and even more if you’re doing it a non-traditional way.  Better yet, could you take a pictures of your setup showing how you’ve connect each of the sensors to the Mayfly?

          in reply to: Clarivue10 data logging problems #18738
          Shannon Hicks
          Moderator

            When the sensor is powered, you should be able to put the two probes of a voltmeter on the little screws on top of the screw terminal board where you’ve connected the ClariVue’s cable to the Mayfly.  Put the black probe on the Gndscrew and the red probe on the V+ screw.   You’ll know the sensor is being powered when the red LED on the bottom left corner of the Mayfly board is lit  (the one labeled Switched Power Out).  You can put the Mayfly into test mode by pressing (for one second) the D21 pushbutton next to the microSD card socket.  That’ll wake the Mayfly (and keep it awake) for a few minutes, constantly keeping the output power on and will also output sensor data to the serial monitor every 10 seconds or so.  Putting it in this mode will give you time to check the output voltage with a meter.

            in reply to: Continous HAB monitoring #18737
            Shannon Hicks
            Moderator

              The calibration sheet from Turner was very accurate for the new sensor, so if you don’t want to buy expensive rhodamine standard right now, you’re probably fine to use the data from the sheet.  But we’ve found that the sensors tend to drift over time so we do quarterly recalibrations of the sensors to make sure they’re still accurate.

              Here’s a simple sketch to take 100 analog readings quickly and average them, then constantly repeat that, and printing all data to the serial port.  Then I just copy/paste the text from the serial port into Excel so I can do an analysis and overall average.

               

              in reply to: Reading -9999 on all Sensors #18736
              Shannon Hicks
              Moderator

                Both of those sensor models ship from their manufacturers with their SDI12 address set to ‘0’ (zero).  In order for the Hydros21 sensor to work with the Mayfly logger in SDI12 mode, you MUST change the address of the sensor to anything other than zero (otherwise the sensors is in TTL output and not SDI12).  It’s okay for the ClariVue sensor to remain at channel 0, but your logging sketch should agree with whatever you’ve set it to, and your sketch says 2, so you’ll need to use the address-changing sketch to set the channels.  Note that you can’t connect both new sensors at the same time when setting the channel.  Only connect one sensor to the Mayfly when doing the address changing procedure.   Once you’ve got one sensor connected, the sketch will cycle though all 62 possible channels.  If it’s not stopping on zero (or maybe another channel if you’ve been able to successfully change the channel earlier), then that means your logger doesn’t hear anything from the sensor.  If that’s the case, then your wiring to the Mayfly may be wrong or something else.  Are you supplying 12v to the ClariVue sensor using a screw terminal board (either directly from the Mayfly’s onboard 12v option or the external 12-v boost screw terminal board)?  The Hydros21 works fine at 3.3v or 5v or 12v.   If you’re using the 3.5mm stereo plug option, make sure it’s plugged firmly into the jack on the Grove adapter board.  If you’re using bare wires, make sure you’ve got the 3 wires from the sensor connected to the proper screw terminals (Ground, V+, and S2).

                in reply to: Clarivue10 data logging problems #18730
                Shannon Hicks
                Moderator

                  I assume you are using a Mayfly v1.1 board and not an older v1.0, because it had a hard time providing a stable 12v for that particular type of sensor.  But are you using the onboard 12v source by selecting 12v on the Grove voltage selector jumper, or are you using one of the new screw terminal boards that has its own 12v boost circuit on it?  And have you put a voltmeter on the power wires going to the sensor when it’s on to verify that it’s receiving 12volts?

                  in reply to: Continous HAB monitoring #18725
                  Shannon Hicks
                  Moderator

                    That all looks correct.  I usually put the Mayfly’s analog Grove jack voltage selector jumper to the 5v position because the old sensors required 5v for excitation, but supposedly these newer ones are happy with 3v to 15v, but we still use them at 5v and calibrate them with that excitation voltage.  If you connect the 6-pin screw terminal board shown in your photo to the Mayfly’s upper aux analog jack (AA0-AA1), then your sensor will be connected to the A0 pin, so make sure that’s what you’ve entered on the line of your sketch that looks like this:

                    const int8_t cyclopsChloroADSChannel = 0; // ADS channel

                    We’ve only used the C-FLUOR sensors for phycocyanin but I would assume their operation and performance would be the same for the chlorophyll model.  Which one are you using?     The ModularSensors library for the Cyclops sensors assumes you’ll be entering the two voltages of the sensor output (blanking voltage and standard concentration voltage), and the concentration of the standard.  So for my station, it looks like this:

                    These voltages were obtained by placing the sensor (with power applied) in nanopure water (or distilled if that’s all you’ve got) in a large dark contained (a black opaque 1-liter bottle) and measuring the output voltage of the sensor.  Then we repeat it with 1 liter of the standard (the Rhodamine standard purchased from Turner).  If you’re measuring the voltage with an external voltmeter, remember that you’ll need to divide the voltmeter voltage by 2 because you’ve got that resistor-divider circuit on your screw terminal board.  So if you put the sensor in the standard and get 2.2 volts, you would then enter 1.1 volts into the sketch.  Same thing for the blanking voltage (although it’s usually a really small number closer to zero.)  We usually measure the voltage out to 5 decimal places using the Mayfly to measure the analog voltage 100 times (20 milliseconds apart) and take an average, then do that at least 50 more times, and take an average of all those measurements.

                    If you’ll be entering the data from the sensor’s calibration sheet instead, you’ll need to enter blanking voltage from the sheet (again, dividing by 2 because of the res-div).   So let’s pretend the datasheet says the blanking offset is 0.02 volts, so divide that by 2 and get 0.01.   And then the sheet gives you the calibration coefficient as ppb per volt (parts per billion per volt).  So pretend a sensor’s datasheet said 1035.4234 ppb/v.  So you could enter that number in the concentration line and 0.5v for the voltage (because that’s half of one volt), like this:

                     

                    in reply to: Can’t add EnviroDIY ATmega Boards #18715
                    Shannon Hicks
                    Moderator

                      The file is there.  Is your computer behind a firewall that is blocking github?  What happens if you click on the link for the EnviroDIY json file?  You should see a simple text webpage with some code talking about packages and platforms.

                      Shannon Hicks
                      Moderator

                        Can you email me your code at mayfly@envirodiy.org so I can take a look at it?  How many other adafruit ADC boards do you have attached to the Mayfly in question and are they the 12-bit or 16-bit versions?  The Mayfly’s ADC is permanently set to 0x48.  What is the typical and maximum voltages you should see on the sensor?

                      Viewing 10 posts - 11 through 20 (of 562 total)