Adafruit_ADS1X15 icon indicating copy to clipboard operation
Adafruit_ADS1X15 copied to clipboard

Library does not properly put ADS1115 to sleep in single-ended mode, uses full 300uA+ 24/7

Open moeburn opened this issue 8 months ago • 2 comments

I am testing this with a multimeter. Comparing this sketch:

https://github.com/adafruit/Adafruit_ADS1X15/blob/master/examples/singleended/singleended.ino

...with this nearly identical sketch from a different ADS1115 library:

https://github.com/wollewald/ADS1115_WE/blob/master/examples/Single_Shot/Single_Shot.ino

The Adafruit library results in the multimeter showing ~320uA constantly. The other _WE library shows the multimeter reading 0.2uA most of the time, and then briefly jumping up a bit during each read before going back down to near-zero. This is how the ADS1115 is supposed to behave in single-ended mode.

I cannot confirm if this behaviour is the same on genuine Adafruit brand modules. I can only say that this library is no good if you are using 3rd-party ADS1115 modules, if you are expecting full power savings in single-ended mode.

moeburn avatar Jun 18 '24 01:06 moeburn