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

#19487
Sara Damiano
Moderator

    I spent some time skimming your GitHub code for your device.  If your logger is using a simple serial protocol to communicate with your GUI controller, it should also be able to communicate with the Mayfly (with or without Modular Sensors) in the same way if you expose the Serial (or AltSoftSerial) pins.

    ModularSensors already supports the MS5803 and the Mayfly has a QWIIC connection.  The Mayfly has a built-in ADS1115 for analog sensors. The VCNL4010 is not implemented in ModularSensors, but it looks like an I2C sensor with an Adafruit library, so it would be easy to implement and submit a PR for using the example of the MS5803.  Keep in mind if you’re developing anything with I2C communication that the I2C protocol is designed for short distance communication so you need an alternative if you want more than a few feet of cable.