Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of WikiWatershed, a web toolkit designed to help citizens, conservation practitioners, municipal decision-makers, researchers, educators, and students advance knowledge and stewardship of fresh water. New to EnviroDIY? Start here

Shannon Hicks

  • I edited your original post to put the code into the Code Snippet tool.

    I check every one of the Mayfly boards thoroughly before they get sent out to Amazon, so it’s possible that one with an FTDI or USB jack issue slipped by since that’s the only part of it that I don’t check. Send me an email to mayfly@envirodiy.org and I’ll see what I can do…[Read more]

  • I edited your post to move the sketch code into code snippet box. Next time, use the “Add Code Snippet” button at the top of the text editor box when you’re writing a post or comment. It makes it much easier to read, especially for long sketches.

    It’s very easy to add an integer or characters to a string, you did it correctly with the line…[Read more]

  • The Mayfly logger processor is just like any other Arduino board, and loading sketches onto it is just like any other Arduino board. The uploaded sketch is “burned” into the microprocessor chip in the center of the board. The microSD card slot is just an optional device to allow users to store recorded variables or other data during the…[Read more]

  • Shannon Hicks posted a new activity comment 1 month, 1 week ago

    It sounds like you’re having issues with not properly declaring the libraries required for the sketch, or not having the libraries installed on your computer. I use the standard Arduino IDE, but Sara (and others) who use Platform IO will need to help you since I’m not as familiar with the library functionality with that software.

  • The Mayfly is not designed to have 2 microSD cards inserted at the same time. No one should ever insert two cards. The reason for the second vertical socket is for people who have the logger mounted inside an enclosure that makes it difficult to remove the card in the regular horizontal socket. Various electrical irregularities will occur if…[Read more]

  • What you’re describing with the microSD card is definitely not normal. I’ve encountered it only a few other times in over 1000 boards, and it’s usually caused by a bent pin inside the microSD socket that causes a short circuit when a card is inserted. Is this a brand new board? And are you seeing this behavior with the microSD socket that’s…[Read more]

  • It sounds like your PC is just not seeing the Mayfly. You should make sure the Mayfly is turned on at the main power switch, and that the small power-select slide switch is set to the USB/Lipo setting (not Ext). Sometimes the switches can be a little glitchy, so you can try sliding them back and forth to make sure they’re getting good contact.…[Read more]

  • The 4G LTE modules we use are brand new and have only been available for a few weeks. I just stocked the LTE bee adapter board in our Amazon storefront last week too, so the materials you need for building the signal tester are so new that I haven’t had a chance to document the building and programming process. I’ll be building a few more once I…[Read more]

  • Shannon Hicks posted a new activity comment 1 month, 4 weeks ago

    It’s Ms. Hicks, actually. But the If you want to read an analog signal using one of the two analog Grove sockets on the Mayfly board, they are actually connected to the auxiliary 16-bit A/D converter, which is an ADS1115 chip. You’ll need to use an ADS1115 library, which has the commands you use for reading an analog voltage with any one of the…[Read more]

  • Shannon Hicks posted a new activity comment 2 months ago

    If you use a DS18B20 sensors, it requires a pullup resistor on the data line. You can connect the sensor data line to pin D10 and then just close the solder jumper SJ12 on the back of the Mayfly to enable the builti-in pullup resistor for that data pin. This saves you from having to add a separate resistor somewhere on the board to pullup D10.

  • The way a voltage divider works is for you to use 2 resistors in series, and then you measure the junction between the two resistors, and you’ll see a fraction of the overall voltage. The best method for breaking a 5v signal down to something the Mayfly can tolerate would be to use two identical value resistors (like 10k-ohms each), so that way…[Read more]

  • Also, you need to use 3.3 volts as the board voltage in your conversion formula and not 5.0 volts. And if you’re measuring a 50/50 voltage divider, you’ll then need to double the measured voltage to get the true sensor voltage. So:

    float voltage = (sensorValue * (3.3 / 1023.0)) * 2.0;

  • You mean the USB5V on the FTDI header? That’s only used if you’re supplying power to the board via an FTDI adapter when programming. You should definitely be using the SW5 pin for powering a sensor and not using the FTDI header.

    What does your resistor divider network look like? What values, and how do you have them connected in relation to…[Read more]

  • What pin is the sensor getting power from? If it’s the Switched 5v pin (labeled SW5), or from one of the grove terminals (assuming you’ve moved the jumper over to the 5v setting), you still need to switch on the 5V boost regulator by putting this line, preferably in your setup routine:

    digitalWrite(22, HIGH);

    The 5v boost regulator (as well as…[Read more]

  • Which analog pins of the Mayfly are you attempting to use to measure the voltage? And can you share the code you’re using to read the voltage?

  • Some of you have already noticed that the Mayfly boards and kits are back in stock on Amazon. If you’re planning to order more than a dozen of any item, I’d appreciate an email at mayfly@envirodiy.org so that we can tell you if there’s enough of that item in stock or to find a better way to get you the larger quantities.

  • For the past few years, we’ve only offered the vertical microSD card adapter as part of the starter kit. But if there’s significant demand for it, I suppose we could add it to our Amazon store as a separate item.

  • 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 high or low. That’s because the pin should be pulled high when you want to sleep the Xbee (like I mentioned in my previous post), and if you want to sleep the Mayfly…[Read more]

  • We had a big run on boards and kits the past couple weeks, I guess it’s the spring monitoring season again. I usually try to keep the Amazon store well-stocked, but we sold more in the past few weeks than we did the previous 2 months, so I’m working on replenishing the Amazon inventory ASAP. I sent some boards to Amazon last week which should be…[Read more]

  • To address your points:
    1. Any power source connected to the 2 pins labeled “Ext 12v” will power the Mayfly but will not charge any LiPo batteries connected to the two LiPo jacks.
    2. The solar panel connected to the JST jack labeled “SOLAR” should never exceed 6 volts. The charging circuity on the Mayfly uses a small chip that has a 6v…[Read more]

  • Load More