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

Reply To: Upgrading boards at existing locations

Home Forums Mayfly Data Logger Upgrading boards at existing locations Reply To: Upgrading boards at existing locations


    @nick IHMO there are few maintenance and ease of use concepts  built into   github.com/EnviroDIY/ModularSensors    & MMW.

    To  make it easier, it takes what Computer Science people call “Use Cases” for how equipment is used in the field. There are international standards for managing equipment maintenance states – however they  take more software infrastructure work!

    I haven’t found any way of being able to set a MWM node to a “test state”, show the test data separately until its determined that its ready for real data gathering. But maybe it will happen some day.

    What you can do is test the parts separately with out POSTs to the “Production” MMW site – that is test with a “dummy test” UUIDs to a test MMW site, and then switch the UUIDs in some form – possibly as a compile option in a ms_cfg.h file. If it compiles and you have eyeballed the data flow, it probably will work.

    I’m a great fan of ModularSensors, and its great strength is interfacing to sensors.  I have extended the software for real world equipment management.

    I put the UUIDs on the uSD as an .ini file and they are read at initialization. I also build a set of .hex programs for my release, and then I can program all the Mayflys with the same features from this one .hex – and the uSD customizes each hardware unit. Data driven design. I discuss it here. https://www.envirodiy.org/geographical-scaling-modularsensors/

    For my replacement board, I test with a “dummy test” of UUIds on the uSD to verify that the board works to MMW.  However it doesn’t upload to the “production” MMW.

    In the field they will disconnect the solar panel, battery, and RS485 shield from the Mayfly. Unscrew/remove the Mayfly from the enclosure. Then they will take out the uSD, which has the personalization UUIDs on it, and plug it in the new Mayfly. Then put the board back together – since this is often in the humid riparian zone, take care to keep sweet out your eyes, off the board – and make sure all the pins of these small devices locate properly!!!  Be interested to hear how you make it work!