Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
moeburn opened this issue Jun 18, 2024 · 2 comments

Comments

@moeburn
Copy link

moeburn commented Jun 18, 2024

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.

@caternuson
Copy link
Contributor

What ADS1115 hardware is being used for testing?

Is the only difference between the setups the Arduino library being used?

@moeburn
Copy link
Author

moeburn commented Jun 28, 2024

I've tried this on all the various ADS1115 modules I have, on an ESP32C3. Correct, the only difference is changing libraries, and suddenly the current properly drops to 0 after a single ended reading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants