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: Requirements for making a sensor compatible

Home Forums Environmental Sensors Requirements for making a sensor compatible Reply To: Requirements for making a sensor compatible

#19489
Sara Damiano
Moderator

    Using ModularSensors doesn’t necessarily require the sensors to be directly connected to the Mayfly.  They could be, but they don’t have to be. In the case of a lot of inexpensive sensors sold as breakout boards, the Mayfly connects and talks directly to the sensor, but most of the not-bare-circuit sensors have black-box layers between the raw sensors and the Mayfly that do some internal processing before passing the number along.  If you wanted to make your sensors SDI-12 slave, you’d need to create those layers, whether on your 328p or some other in-between board.  Most commercial environmental sensors can do some on-board averaging, bad-value management, temperature correction, power management, and communication translation. Then “sensor” as the Mayfly sees it is the combination of the bare circuit sensor and the processing layers.  The Mayfly doesn’t need to know anything about what the lowest level sensing, just how get a “final” measured value.