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 - 541 through 550 (of 568 total)
  • Author
    Posts
  • in reply to: Water level monitor with a Mayfly. #1672
    Shannon Hicks
    Moderator

      Check out this ultrasonic sensor example I just posted. It shows how to read the serial output of a Maxbotix sensor. I like to use the MB7386 and MB7389 sensors because they have the TTL output that can be read directly by the Mayfly. The MB7360 you mentioned only has RS232 output, so you’ll need a RS232-to-TTL converter between the sensor and the Mayfly.

      in reply to: Cellular telemetry for remote locations #1637
      Shannon Hicks
      Moderator

        We have had very good results with the GPRSbee module from SODAQ. It’s a 2G board and SODAQ also has a new 3G board with the same Bee footprint so it could also work with the Mayfly. We have deployed many stations with the GBRSbee board along with a SIM card from a company that offers a low-cost data plan, so the loggers can push data into our custom online database every 5 minutes. They work anywhere that there’s a decent AT&T or T-Mobile signal. Verizon uses different hardware and also doesn’t permit devices like this on their network anyway.

        We plan to offer kits later this month that include a GPRSbee and SIM card, along with publishing a tutorial for how to build the logger stations that use the Xbee and/or cellular modules.

        in reply to: [rtc] time kept without power (has cr1220)? #1635
        Shannon Hicks
        Moderator

          I have done some thorough testing of the battery holders on the original v0.3 boards and the new v0.4 boards and found that it’s the texture of the bottom of the battery that makes the difference. It appears that one brand of battery might have some problems making good contact with the board, but this isn’t limited to the Mayfly. I tested 3 different brands of batteries and I found that one of them is almost smooth of the bottom, whereas the other two have a bumpy texture in the metal. See the attached photo for a comparison between two of them.

          What I found was that the smooth-bottom battery sometimes has trouble making good contact when inserted into the Mayfly battery socket. I inserted the bumpy-bottom battery into over 100 Mayfly boards and every one of them worked perfectly. I also had trouble with the smooth battery in a few other devices that were not made by us, so I think the problem is caused by the battery and not specifically the Mayfly board. In every case where the battery wouldn’t make contact, putting a small bit of solder on either the battery or on the board under the holder immediately fixed the connection issue.

          in reply to: Ver 0.3 Mayfly Grove Power Supply #1632
          Shannon Hicks
          Moderator

            See my latest blog post for information about exchanging the v0.3 Mayfly boards for the new v0.4 boards. I will also be emailing all of the Amazon customers today with information about the exchange.

            in reply to: Seeeduino Stalker v3.0 discussion #1627
            Shannon Hicks
            Moderator

              Pins 10, 11, 12, and 13 on the Stalker are used by the SPIbus, so if you’re want to use the microSD card socket, you can’t use those digital pins for anything else. It’s been awhile since I looked at the specs of the Stalker, but I think there are very few free pins. That’s one of the reasons we stopped using it and created the Mayfly. And the Mayfly’s secondary hardware serial port makes it easier since you can sometime avoid using the SoftwareSerial functions if you just have one serial device to interface with.

              The Mayfly boards should be available again on Amazon by this weekend.

              in reply to: Ver 0.3 Mayfly Grove Power Supply #1625
              Shannon Hicks
              Moderator

                If you measure 3.3v on the Sw_5v pin, then unfortunately you have a board with the incorrect regulator. There’s no way to get your board to generate 5v unless you replace the regulator. While it is possible to replace it if you have the right tools and you have experience removing and replacing a SOT-23 surface mount device. However, we have new boards with the correct part that we have shipped to Amazon to replace the existing inventory. I will also be contacting each customer directly through Amazon to tell them how they can exchange any affected boards for a new one.

                Keep in mind that most users will not need to use the 5v setting on the Grove connector jumper. The Mayfly is not tolerant of 5v I/O signals, so any peripheral devices you connect must not send any voltage greater than 3.3v back to the Mayfly I/O pins. The 5v options is only there for experienced users who can ensure that they have proper level-shifting circuitry or other protective measures to ensure that the Mayfly only sees 3.3v signals. In my case, I use several analog sensors that need to be powered by 5v supply, but only output a 0-2.5v signal. Other digital sensors that require 5v will be connected to a level-shifting adapter board via the Grove connector.

                in reply to: Seeeduino Stalker v3.0 discussion #1624
                Shannon Hicks
                Moderator

                  Did you put a solder blob across the pads of P3 on the back of the board? You’re using INT0 in the code, so you need to close the pads that connect the RTC interrupt signal to pin D2, and according to the Stalker 3.0 wiki, that is accomplished by shorting out P3. I have not used a Stalker 3.0, but I know on the Stalker 2.3, the board would go to sleep after one reading and never wake up again if I forgot to short that RTC INT0-D2 solder jumper.

                  in reply to: Seeeduino Stalker v3.0 discussion #1614
                  Shannon Hicks
                  Moderator

                    I’m not sure why your code didn’t post correctly. Maybe because you attached it as a .ino file. Try just pasting it into the “code snippet” box when you’re typing a reply. Just hit the “Add Code Snippet” button in the row of buttons right above the text box, past your code into the window that pops up and choose “Arduino” from the Language drop-down menu so it formats the code properly.

                    Here’s some code that I used a long time ago when using the Maxbotix sensors with a Seeeduino Stalker. In the example, I connected the data line of the sensor to pin D7, then just connect the sensor to ground and its power to 3v3. Communicating with the Maxbotix sensor only uses pin 5, 6, and 7 on the sensor. The sensor outputs a digital string every second when it’s powered continuously. If you only want to take readings periodically, you can power the sensor momentarily with any of the free digital pins on the Stalker since the sensor only uses a few milliamps so the Arduino digital pins can source that. In the following example, it’s powered all the time.

                    in reply to: [rtc] time kept without power (has cr1220)? #1613
                    Shannon Hicks
                    Moderator

                      I’m glad it worked. We’re working on switching out all of the Amazon inventory with new boards and we’ll be testing each of them first for proper battery connections. It can sometimes be hard to solder to a battery which is why I suggested doing the board first. The next run of boards will have a different battery holder and board footprint so this issue can be avoided.

                      I’ve got some sketches about sleeping the Mayfly, I’ll try to post them soon. I’ve got a backlog of software examples to post, but also dealing with hardware and inventory stuff, so we’re rather busy here. It’s helpful to get requests from people so I know where to concentrate my efforts. Thanks for the heads up about the battery issue.

                      DaveE, did you have a similar problem with your board?

                      in reply to: [rtc] time kept without power (has cr1220)? #1606
                      Shannon Hicks
                      Moderator

                        I just did some more testing with a dozen boards. Out of all of them, I found one that exhibited behavior similar to yours. It looks like the green solder mask paint is thick enough on some boards that it is preventing the battery’s negative side from sitting completely flush against the circular ground pad on the Mayfly board. You can easily remedy this by adding a very small layer of solder to the circular pad, if you have a fine enough point on your soldering iron to reach the pad without creating a solder bridge to the metal of the battery connector above it. Or you can solder a very small drop of solder in the center of the battery, like in the attached photo.

                        Attachments:
                      Viewing 10 posts - 541 through 550 (of 568 total)