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

Braedon

Forum Replies Created

Viewing 10 posts - 11 through 20 (of 37 total)
  • Author
    Posts
  • in reply to: Using Modular Sensors for METER Teros 12 #18036
    Braedon
    Participant

      @srgdamiano Sorry to bother you on this, but I still need help understanding the issues I’ve had with the Teros library.

      in reply to: Using Modular Sensors for METER Teros 12 #17987
      Braedon
      Participant

        @srgdamiano were you able to look at the cpp code?

        in reply to: Using Modular Sensors for METER Teros 12 #17982
        Braedon
        Participant

          No worries! I also just wanted to let you know that I have run into similar issues using the Teros 11 files where it won’t record all of the measurements.

          in reply to: XBee Networks of Mayfly Loggers – 900Mhz #17976
          Braedon
          Participant

            For anyone who would be interested in using these radio modules with modular sensors, I was able to transfer modular sensor readings from a Mayfly through the XBee Pro S3B to another XBee Pro S3B in transparent mode using the following lines of code in my void loop() function:

            Here, dataLogger is just the Logger object. The xbeeSleepPin is 23. I also used the following lines of code in my setup() function:

            The xbeeRegulatorPin is 18, and the xbeeBaud is 9600.

            in reply to: Using Modular Sensors for METER Teros 12 #17975
            Braedon
            Participant

              @srgdamiano could I get your help with these h/cpp files I created for the Teros 12 sensors? I am having some issues with my sensors not getting values other than -9999 when I have multiple Teros 12 sensors connected. When I use the Teros 11 modules, they all record together, which leads me to believe I set up my h/cpp files wrong. Could I get your help on this? Here is my cpp file to start:

               

              in reply to: XBee Networks of Mayfly Loggers – 900Mhz #17968
              Braedon
              Participant

                Yes, these two modules can be set up like a wire. I got a Mayfly to send information over the Pro S3B module to another module connected to a computer. I set them up on the XCTU in transparent mode, set the network IDs to be the same, and told the sender XBee what the serial address is of the receiver XBee. In transparent mode, anytime data is printed to the UART it is automatically sent out of the radio, which is all I really need for the time being. My main question is how to bridge the gap between 900 MHz radio modules and the modular sensors library.

                in reply to: XBee Networks of Mayfly Loggers – 900Mhz #17967
                Braedon
                Participant

                  Okay, so what do you think would be the best way to pull out the data generated from the logger object’s logData()? If it is easy to access it, then I feel it shouldn’t be too hard to just jump to a Serial1.print() statement once the logData() method is complete to send the data. Am I thinking this through correctly?

                  in reply to: XBee Networks of Mayfly Loggers – 900Mhz #17964
                  Braedon
                  Participant

                    @srgdamiano would you know if the XBee Pro S3B modules can be used with the ModularSensors library? I know how to send data over them using Serial1.print(), but I would like to use these 900 MHz modules with ModularSensors if that is possible. Thanks!

                    in reply to: XBee Networks of Mayfly Loggers – 900Mhz #17934
                    Braedon
                    Participant

                      Can a 900 MHz XBee radio be used with the ModularSensors library? I noticed that there is are DigiXBee.cpp and DigiXBee.h files in the modems folder. Can modem objects created with that class be used with the logAndPublishData() function found in most ModularSensor examples that use XBees, or is there a different way of integrating 900 MHz XBee radios with ModularSensors?

                      in reply to: Using Modular Sensors for METER Teros 12 #17933
                      Braedon
                      Participant

                        @srgdamiano I made a header and cpp file for the Teros 12 by copying the 11 files and adjusting them. When I try to use it, the outputs recorded to my SD card are all -9999 values, and the column headers for the variables are never added (but it will add the headers for the other variables besides the Teros). I get the same problem when I use the MeterTeros11 file, which I figured should still give me some results as it looks like it will just dump whatever is leftover in the data retrieval past the VWC counts and the temperature in the MeterTeros11.cpp file. Maybe I am using these objects incorrectly? Here is what I have for using the Teros11 class (the Teros sensors are at the bottom of my sensor objects):

                         

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