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

Sara Damiano

Forum Replies Created

Viewing 10 posts - 1 through 10 (of 460 total)
  • Author
    Posts
  • in reply to: Get MMW data in real time? #18361
    Sara Damiano
    Moderator

      This code still works for me. Are you sure you have your start and end dates set within the range that your sensor has data?

      in reply to: Latest supported Sensors for the Mayfly stations #18356
      Sara Damiano
      Moderator

        The list Shannon shared for ModularSensors should be up-to-date.  But the Mayfly itself can interface with many, many more sensors that are supported by libraries other than ModularSensors. We couldn’t make a comprehensive list – almost any sensor that can work in an Arduino environment can be used with the Mayfly.

        in reply to: Hydros 21/Decagon CTD: reading error #18309
        Sara Damiano
        Moderator

          Are you sure your serial port monitor is set to the same baud rate as the serial baud rate in your program?  Usually when there are nothing but junk characters, it’s a baud rate mis-match. I would suggest using a serial baud rate of 57600. Make sure you have that set in your program and on your serial port monitor.  The baud rate between the sensor and the Uno is different than the baud rate between the Uno and your PC.

          Do your Uno and sensor have a common ground?  If you are powering the sensor from a separate power source than you are powering the Uno from, you need to connect the grounds. No sharing a common ground can mess up the data signaling.

          The full specifications for SDI-12 are here:  https://www.sdi-12.org/current_specification/SDI-12%20Specification%201.4%20February%2020%202023.pdf Voltage specs are in table 1.

          in reply to: Hydros 21/Decagon CTD: reading error #18301
          Sara Damiano
          Moderator

            @bibhutibikramaditya Exactly what output are you getting?  You’re not asking for data in your script, so you should only be getting a response like “00013” not any data values.

            Suggestions:

            Sara Damiano
            Moderator

              Are you using PlatformIO or the Arduino IDE?  In PlatformIO, you can add it to the build_flag section of your platformio.ini file. Add -DMS_SDI12_NON_CONCURRENT right below the -DSDI12_EXTERNAL_PCINT line in the example ini file.  If you’re using the Arduino IDE, you need to open up SDI12Sensors.h and add the line #define MS_SDI12_NON_CONCURRENT around line 67, right below the header guard.

              Sara Damiano
              Moderator

                Have you tried using the -D MS_SDI12_NON_CONCURRENT build flag: https://envirodiy.github.io/ModularSensors/group__sdi12__group.html.  Some SDI-12 sensors don’t properly support the concurrent mode that ModularSensors uses by default.  That could by why they work individually, but not all together.

                in reply to: MMW lost readings #18278
                Sara Damiano
                Moderator

                  I finally dug into this.  As I commented on GitHub, I think this loss must be related to a server update or hotfix.  The server did get the data, so it might be recoverable. I doubt it’s related to the older issue.

                  in reply to: Coding to send data from a non-Mayfly logger #18206
                  Sara Damiano
                  Moderator

                    If you can create a POST request, you can get data to Monitor My Watershed.  There’s information about the POST format here:

                    https://github.com/ODM2/ODM2DataSharingPortal/blob/main/doc/example_rest_requests.md

                    in reply to: LTEBee conflict with NeoSWSerial? #18139
                    Sara Damiano
                    Moderator

                      I’m sorry; I’m stumped. There’s something wrong with the way the battery voltage is being read. But I don’t understand what. As soon as I turn on the debugging for it.. it works. It also works if I upgrade to the current ModularSensors master branch. But I cannot figure out for the life of me what change makes it work.

                      So my two suggestions to get it working (pick one):
                      – Add -D MS_PROCESSORSTATS_DEBUG to the build flags in your platformio.ini
                      – Upgrade to the latest master branch of ModularSensors on GitHub by changing your lib_deps to envirodiy/EnviroDIY_ModularSensors@0.33.3

                      in reply to: LTEBee conflict with NeoSWSerial? #18138
                      Sara Damiano
                      Moderator

                        I’m looking into it. I would have said “of course they should work together” but I’d never tried it, so I hooked it up and tried it out. And I got the same result as you. I haven’t figured it out yet, though.

                      Viewing 10 posts - 1 through 10 (of 460 total)