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 - 111 through 120 (of 554 total)
  • Author
    Posts
  • Shannon Hicks
    Moderator

      What board are you using for your datalogger?  And what is your battery and the model of the ESP32 you’re using?

      in reply to: Mayfly v1.1 technical questions forum thread #17600
      Shannon Hicks
      Moderator

        The correct part number for U9 is bq24074, as shown in the red text at the top of the schematic symbol.  Apparently the device properties in the Eagle library that I got from Adafruit two years ago for that component have an incorrect value printed below the symbol diagram on the schematic file only, but the BOM produced from that schematic file, as well as the manually-created BOM I give the manufacturer for producing all of the Mayfly boards specifies that the part number is bq24074, and the footprint for the part on the board layout is the correct footprint for that component (16-pin QFN).  I didn’t put that incorrect number at the bottom of the schematic symbol, but it doesn’t affect anything about the functionality or manufacturing of the board, so it can be ignored until I can remove it from the file.

        in reply to: U.S. Cellular EnviroDIY LTE Bee connection #17590
        Shannon Hicks
        Moderator

          There’s no easy way to tell your Mayfly sketch to  wait longer on initial startup, the instructions for that are buried deep in one of the supporting library files and not in the main sketch.  Usually just having the larger antenna and using it in an area with known strong cell signals during the initial activation is all that’s necessary.

          One other thing to check is that you’ve inserted the SIM card properly in the cell module.  The first photo in section 6.1 of the manual shows the right way to insert the card.  There’s a little notch in one corner of the card, and that’s the end you insert first, and with the gold contacts of the card facing the green circuit board and the text on the card facing away from the circuit board, as shown in the photo.  Sometimes people accidentally insert the card upside down or backwards (or both upside down AND backwards), which obviously will prevent the board from making a connection.  We’ve also seen antennas not properly snapped all the way onto the tiny little antenna jack, resulting in connection issues.  So just make sure everything looks the photos shown in the manual.

          in reply to: U.S. Cellular EnviroDIY LTE Bee connection #17586
          Shannon Hicks
          Moderator

            If the Mayfly reports “could not wake modem for clock sync” then that means there’s no communication between the Mayfly and the cellular module.  That usually happens when then cell module isn’t properly seated all the way in the Bee socket or the pins aren’t aligned properly.  If the bee module is correctly installed, the clock sync part of the sketch is purposely made long (2 minutes) to give a newly activated SIM card time to join the network for the first time.  I don’t know how US Cellular is, but with our Hologram cards, it can sometimes take several tries of doing the 2-minute sync session to get the card to join the network for the first time.  Once it’s done that, subsequent connections can happen in about 5 seconds.  So if you’re in an area with weak or no US Cellular signal, then it might be challenging to get that initial connection completed.  If your cell data plan supports things like tablets or phones, then you could put the new SIM card in a different device that is constantly on and use that to establish the card with your provider first, and then move it back to the SIM7080 after that.  And if US Cellular doesn’t recognize the SIM7080 as an approved device for their network (which is what Verizon does), then it probably won’t let the Mayfly connect at all.  That why we’ve been using the Hologram network for the past 6 years because they’ve supported all of the various cell modules we’ve ever tried to use, and for around $5 per month per device.

            What antenna are you using?  There’s 2 small antennas that come with the SIM7080 board (one’s for cell, the other for GPS and not currently used), but we’ve found that the small cell antenna is usually not sufficient unless you’re in an urban area or very near a supported cell tower.  We’ve had much better luck with a larger antenna like the one suggested in section 6.1 of the manual:  https://www.envirodiy.org/knowledge-base/building-an-envirodiy-monitoring-station/

            in reply to: U.S. Cellular EnviroDIY LTE Bee connection #17584
            Shannon Hicks
            Moderator

              What is the APN name that US Cellular gave you use?  Is the SIM card activated?  Have you ever used that particular SIM card on another cellular device, like a tablet or phone?  Are you sure that there is sufficient US Cellular coverage in the area where you’re using the board?  They don’t actually own any cell networks, they just piggy-back off other carriers service like AT&T and Verizon.  And apparently Verizon doesn’t recognize the EnviroDIY SIM7080 as an allowed device on their network, so even if all of the other steps I’ve mentioned are okay regarding the APN and SIM card activation, if there’s only Verizon service in the area you’re trying to use the board, then it may not work.  Do you know what cell providers have coverage in your area?

              in reply to: Transfer MMW Site Owner #17578
              Shannon Hicks
              Moderator

                I don’t think that feature has been implemented yet, so for the time being, if you need to change ownership of a site you can email me at mayfly@envirodiy.org and I can manually change the assigned owner.

                in reply to: Ultrasonic Water Surface Elevation #17577
                Shannon Hicks
                Moderator

                  There are several different models of Maxbotix ultrasonic sensors with different types of outputs that interface with the Mayfly, so do you have a particular sensor model in mind, or have a preferred communication protocol?

                  Shannon Hicks
                  Moderator

                    Here’s my code that has been successfully working on a Mayfly v1.1 RevB board, with a Hydros21 connected to the D4-7 Grove jack (with jumper set to the switched 3v setting) and a Y-511a and our custom RS485 adapter connected to the D5-6 jack and an external (non-Mayfly) 12v source supplying power for the Y-511a.

                     

                    in reply to: MayFly Data Logger During Winter #17568
                    Shannon Hicks
                    Moderator

                      When we scout an area for a potential CTD sensor installation, one of the top deciding factors is whether that portion of the stream will freeze during extremely cold weather.  Almost all of our sensors are mounted in deep, continuously flowing water.   Most of the time our streams won’t freeze at all in the area around the sensor, or if they do, it’s only the top inch or two.  By installing the sensors at least 12 inches or more below the surface, they aren’t damaged by the ice. There’s a few small tributaries or streams with shallow or slow water that we have to monitor for a particular reason and can’t choose a deeper spot, so we just make sure to pay close attention to the site when extended cold weather is in the forecast.  We’ve got over 200 stations in the Delaware River watershed, and since we only see deep prolonged freezes a few times a year, if at all, our stations typically make it through the winter with no damage.  We’ve only had a few sensors be damaged by ice in the past 5 years, most were in the first year or two of the project before we got good at predicting ice formation areas.  If someone has a sensor in a stream that might freeze and isn’t sure whether or not it will survive some upcoming cold weather, it’s certainly safer to remove the sensor and place it on the streambank (dry it off thoroughly and either hang it somewhere off the ground and protected from rain that might later freeze, or wrap the sensor in a dry towel and place it in a ziploc bag on the shore (in a safe area that won’t be damaged in case of flooding resulting from future snow-melt). Note that freeze damage to pressure sensors is not covered by the manufacturers, so if your sensor is still under warranty and you think it will likely freeze, it’s up to you to decide what to do.  One of our biggest monitoring efforts right now is examining the effects of road salt in our waterways, so being able to measure water depth and conductivity during these winter months is extremely important and worth taking a gamble that we might lose one or two sensors out of 200.  If you are only interested in measuring temperature and conductivity and not depth, then a simpler sensor like Meter Group’s ES-2 conductivity-temperature sensor is a better choice than the CTD, because it doesn’t have the sensitive pressure sensor on it and the housing can be completely incased in ice without damage.

                      in reply to: Grove 4 pin terminal board #17567
                      Shannon Hicks
                      Moderator

                        If you have the original sketch that someone wrote for the logger, then that should give you clues of how everything should be connected.  There are several different ways in which to connect a tipping bucket to a Mayfly logger, some require a circuit in between to do the actual counting (like the Trinket or an ATtiny), but we’ve had good luck with just connecting the two poles of the tipping bucket switch directly to the Mayfly board and using digial pin 10 (D10) which is a hardware interrupt pin to wake the logger and count the tip.  By activating the onboard pullup resistor (using jumper SJ12) you can just connect one wire of the bucket to D10 and the other to Mayfly ground.  There’s a full explanation in this thread (https://www.envirodiy.org/topic/rain-gauge-tip-data-without-rain/) along with the sample code.  However, note the one drawback to using this method (as mentioned in that thread) that tips won’t be counted if the Mayfly is busy doing something else like making a radio or cell transmission, so an occasional tip might be missed during high rain-rate events (and depending on your transmission frequency).  So having a separate counting device report tips to the Mayfly on demand is a more reliable and accurate method, so people use the Trinket, ATtiny, or other small affordable programmable chip for that.

                      Viewing 10 posts - 111 through 120 (of 554 total)