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


  • Thanks @neilh20, I think I needed to run pio pkg install . Now that I have done that – the libraries do indeed clone then install automatically when I update the .ini file.

    I’m still not sure I fully appreciate the power of the .ini file and pio commands…but  that will come with time I guess.

    Git is a critical part of my daily work-life, and…[Read more]

  • @hannahlb I’m also quite new to this community and I think I’m interested in setting up a very similar application. Specifically 2 and 3 in @neilh20 ‘s response sound like what I’ve been googling. If you’ve got it working, I’d love to hear how you set it up/sketch examples, etc.

  • Hi @shicks (and thanks @neilh20),

    Thanks for that.  I am using a Yosemitech Y511-A with a Hydros CTD (Gen 1).  My code is fairly similar to yours.  I notice that you use pin 22 to power the Y511 (line 145) where I have ‘-1’.  I also don’t see the line ‘<span class=”crayon-i”>AltSoftSerial</span> <span cla…[Read more]

  • This is very interesting @neilh20 ! I learnt something new reading up on HEX- and INI-files and it would be of great help with a method like this.

    I will try your examples and see if I can be of any help.

  • @jamesbailey @neilh20

    I’ve confirmed that the Verizon SIM we used was this one, from NimbeLink:

  • Hi @neilh20, I believe the SIM we used was a RevX.

  • @neilh20 so the board here is called a MKS Base V1.4 if i remember correctly. It’s an old 3d printer board. There are a slough of options and which is used really doesn’t matter. They are all, like the mayfly, a modified arduino. Though these use the arduino mega as their main design.

    I have the relay controlling the power to the board itself.…[Read more]

  • @neilh20 For my sediment machines I use a high torque 920z Nema 17 motor and is rated for 3.36v and 2.1amps. It works very reliably. The one I prototyped is a 76oz Nema 17 which is rated for  4.2v and 1.5amps. I have a pancake motor as well but they are lower torque. Here is a reference to a number of steppers from the 3d printing side of things:…[Read more]

  • @shicks, thanks for your help anyway Shannon.  @aufdenkampe, any insight on the code above would be greatly appreciated.

    @neilh20, yes all setups are the same.  Some work fine, others have issues with dropping out.  I have spare Mayflies and a spare CTD, but no spare turbidity sensor.  Did you ever end up producing your Mayfly wings for the 0.5…[Read more]

  • Hi @shicks and @neilh20

    I’m leaning more towards an interaction with the MODBUS wing.  I had one station that produced -9999’s constantly when the Turbidity sensor was plugged in, and operated fine when I removed the MODBUS wing.  This drove me nuts until Anthony pointed me towards the complex loop code where I set the Turbidity sensor to low a…[Read more]

  • @srgdamiano @shicks @neilh20


    Hi there! Does the Mayfly have an I2C address associated with it? I’m trying to use Wire.h to transmit data between two Mayflys. If it does, where could I find it, for both the 0.5b and the 1.0. Thank you!

  • Hi @neilh20,

    Thanks, this makes sense. I appreciate all the details; it’s helpful context.


  • Load More