EnviroDIY/ModularSensors: v0.19.6: Modem Improvements & ADS1X15 Generalization
- 1. Stroud Water Research Center
- 2. LimnoTech
Description
The EnviroDIY ModularSensors library gives environmental sensors a common interface of functions for use with Arduino-framework data loggers, such as the EnviroDIY Mayfly Logger. The ModularSensors library is specifically designed to support wireless, solar-powered environmental data logging applications that:
-
Retrieve data from many physical sensors;
-
Save that data to a SD memory card;
-
Transmit that data wirelessly to a web server; and
-
Put the processor, sensors and all other peripherals to sleep between readings to conserve power.
The ModularSensors library coordinates these tasks by "wrapping" native sensor libraries into a common interface of functions and returns. These wrapper functions serve to harmonize and simplify the process of iterating through and logging data from a diverse set of sensors and variables. Using the common sensor and variable interface, the library attempts to optimize measurement timing as much as possible to reduce logger "on-time" and power consumption. Although this library was written primarily for the EnviroDIY Mayfly data logger board, it is also designed to be compatible with a variety of other Arduino-based boards as well.
New in v0.19.6: Modem improvements & ADS1X15 generalization
-
New Features:
-
Added ADS1015 as an optional analog to digital converter (ADC) for boards other than the Mayfly
-
-
Improvements:
-
Modem waits for signal strength return before sending data
-
Other modem tweaks
-
Restructuring of data publishers
-
-
Bug Fixes
-
Fixed bug with ADS1115 for M0/SAM21
-
New in v0.19.3: Bug fix and example re-working (released in January 15, 2019):
-
Fixes bug in sending data to the WikiWatershed / Monitor My Watershed data sharing portal.
-
Re-works the examples to remove duplication between them.
New in v0.19.2: Decreased Data Consumption (released Dec 22, 2018)
-
New Features:
-
Added ThingSpeak support via MQTT (PubSubClient is now a required dependency)
-
Added support for TI INA219 thanks to @neilh21 (Adafruit INA219 library is now a required dependency)
-
-
Improvements:
-
Reduced data consumption (by half in one test), by creating an outgoing text buffer. Note : the default buffer size is quite large, decrease it to decrease program memory size.
-
Refactored data publishers as a new class rather than subclasses of loggers
-
Files
EnviroDIY/ModularSensors-v0.19.6.zip
Files
(270.6 kB)
Name | Size | Download all |
---|---|---|
md5:c3d74bca64544255f3f5a23f067ef753
|
270.6 kB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/EnviroDIY/ModularSensors/tree/v0.19.6 (URL)
Funding
- CZO: Spatial and temporal integration of carbon and mineral fluxes: a whole watershed approach to quantifying anthropogenic modification of critical zone carbon sequestration. 0724971
- U.S. National Science Foundation
- Christina River Basin CZO: a whole watershed approach to integrating feedbacks between water, mineral and carbon fluxes in human landscapes 1331856
- U.S. National Science Foundation