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

XBee Networks of Mayfly Loggers – 900Mhz

Home Forums Mayfly Data Logger XBee Networks of Mayfly Loggers – 900Mhz

Viewing 15 reply threads
  • Author
    Posts
    • #12570
      David Lutz
      Participant
        Hi everyone,

        I thought that I would start a new thread in case anyone is interested in using their Mayfly loggers in locations where there is not reliable cell service or in areas of dense vegetation

      • #12574
        neilh20
        Participant
          Hi Dave @dartmouthwsn
          Yes I’ve been thinking about it, and I have used the XBP900s before.
          Do you see that it would gateway to a) building with internet and power, or b) would it be a gateway t
        • #12575
          Shannon Hicks
          Moderator
            We have successfully used dozens of Xbee Pro 900HP radios with Mayfly boards for our logger network here at the Stroud Center and at other locations. You can program the modules to be in “pin-s
          • #12577
            neilh20
            Participant
              Wow – nice Shannon,
              I was wondering @shicks do you have any references to the XBP900 driver code on the mayfly. Since you’ve put the infrastructure in place be nice to have a starting poi
              • #12611
                David Lutz
                Participant
                  Shannon,

                  This is very helpful! We’ve ordered a few XBee PRO S3B 900 modules but are having trouble getting them to communicate via the Mayfly script.

                  One thing we think may be a problem is whe

                  • #12616
                    Shannon Hicks
                    Moderator
                      That simple Xbee serial printing example doesn’t require any additional libraries installed in you IDE or called by your sketch. All it is doing is printing text to the 2 separate hardware seri
                    • #12914
                      Jon
                      Participant

                        The end nodes are set to pin-sleep mode so that the Mayfly wakes them when it’s time to send data. So the Mayfly just drives a pin low (Xbee modules sleep when pin high, and wake when

                      • #12917
                        Sara Damiano
                        Moderator
                          @jkirchoff – drive the pin level with the digitalWrite(#, level) function.

                          If you’re using a Mayfly, the XBee’s sleep request pin is attached to the Mayfly pin 23. So to wake the b

                        • #12918
                          Jon
                          Participant
                            Sara,
                            Thank you so much for your reply. I was just getting ready to try to figure it out. I’ve been having issues with my batteries draining, so this will be a tremendous help.

                            Edited 6/8/19:
                            A

                          • #12924
                            Shannon Hicks
                            Moderator
                              Here’s some sample code that I just put together to demonstrate the code for waking and sleeping the Xbee. You’ll notice it’s a little more complicated than just setting the D23 pin
                        • #12583
                          neilh20
                          Participant
                            Had this come through –
                            https://www.crowdsupply.com/silicognition/wesp32 – POE ESP supposedly first delivery mid-Dec
                            https://github.com/espressif/arduino-esp32 No idea how well an Ardui
                          • #12968
                            ehazard
                            Participant
                              Hi Everyone,

                              I’m working with @dartmouthwsn, the original poster on this thread, to construct a logger network using Mayflys and 900 Mhz XBee Pros. We had the code successfully working so that the

                            • #13401
                              LittleManistee
                              Participant
                                Hello Everyone,

                                I am part of the Little Manistee Watershed Conservation Council here in North West Michigan. We are in the early stages of implementing a series of up to six monitoring stations alon

                              • #14256
                                David Lutz
                                Participant
                                  Hi everyone,

                                  Some updates on this project – we now have 12 loggers monitoring 8 sensors at each site. It took a full field season but now have all the wiring free of shorts and power problems.

                                • #15569
                                  FreakyZ
                                  Participant
                                    Hi there! I’m hoping to do something similar to what David is doing. I’m using a couple Xbee Pro 900HP modules and couple Mayfly’s. I’m setting up the network using PlatformIO
                                  • #17858
                                    Braedon
                                    Participant
                                      Hello, I am new to using Mayflies and XBee modules, so I’m hoping I can get some help here since the modules I’m planning on using are the 900 MHz XBee Pro S3B. Programming the modules cor
                                      • #17860
                                        Shannon Hicks
                                        Moderator
                                          The Bee socket of the Mayfly board isn’t powered continuously by default, so in your code examples above, it appears that you’re not turning them on.  If you study the schematic for which
                                        • #17861
                                          Braedon
                                          Participant
                                            Okay, so this is what I have now for my sender code:

                                        • #17859
                                          neilh20
                                          Participant
                                            Gosh Brandon, I successfully used the 900Mhz modules about 15years ago with the TinyOS framework.

                                            Seems you are thinking of using it in a Peer-2-peer arrangement, possibly in a mesh configuration. A

                                            • #17862
                                              Braedon
                                              Participant
                                                I am very new to the world of electronics and circuit boards. I am a graduate student of civil engineering looking to deploy snow sensing stations using the Mayfly. They will be satellite stations aro
                                            • #17863
                                              neilh20
                                              Participant
                                                Hey thanks for the overview. Welcome to the art of jumping in – and learning by doing (my philosophy though I’m an EE graduate) – though its beneficial to bring an engineering basis
                                              • #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
                                                  • #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 modul
                                                  • #17965
                                                    Sara Damiano
                                                    Moderator
                                                      The radio XBee’s *cannot* be used directly with the logAndPublishData functions. That only works for XBees that have a direct internet connection.

                                                      You would have to set up your radio using the

                                                      • #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
                                                          • #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 t
                                                        • #17966
                                                          neilh20
                                                          Participant
                                                            @braedon-dority I would add that the Digi range of modems is extensive- with many functions. They have good “Data Sheets” on their capabilities.

                                                            What it sounds like you are asking is can

                                                            • #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, s
                                                            • #17969
                                                              neilh20
                                                              Participant
                                                                @braedon-dority it seems to me you have “bridged” or wirelessly connected one S3B/Mayfly1 to another S3B(XCTU or Mayfly2) an
                                                            Viewing 15 reply threads
                                                            • You must be logged in to reply to this topic.