Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of WikiWatershed, a web toolkit designed to help citizens, conservation practitioners, municipal decision-makers, researchers, educators, and students advance knowledge and stewardship of fresh water. New to EnviroDIY?Start here
Increasing resolution and reading differential voltage
I’m looking to use the mayfly data logger to read data from my homemade sap flow sensors. To do this I need to increase the resolution so I can read up to 0.0001 v of differential voltage. I know there are ways to increase resolution and read in differential voltage, I’m just not too sure how to get started. I currently have the mayfly starter kit; would I need to purchase any addition hook ups to make this work?
The library comes with examples for single-ended and differential measurements. So you can follow the differential example to take a reading with the Mayfly. The ADS1115 on the Mayfly is at the default I2C address of 0x48. Using the default gain of 2/3, you’ll have a resolution of 0.1875mV per bit. So if you want 0.1mV resolution, you need to switch the gain to 2 so you’ll get 0.0625mV per bit. But that also limits the range of the maximum input voltage, so be careful not to exceed it. Exact details about the resolution and gain settings can be found in the example sketch that comes with the library.
I’d be interested to hear what you find. Here in NH we have interest in sap flow measurements for projects in conjunction with the Proctor Maple Syrup Institute at UVM. Installing Mayfly-based networks could be really interesting to them.