Skip to content

ESP8266 ADC pin only works with 0-1V #50

Answered by rlogiacco
DanForever asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Dan, your assumption on the library documentation is right in regards to the assumptio the ADC accepts the same voltage as VCC pin and, to my knowledge, the ESP approach is quite unique as it doesn't allow to measure the board pins output without a voltage divider.
I've run some tests myself using an ESP32 board in order to confirm the library works also under these uncommon conditions and I haven't found the need to change anything.

Your voltage divider is appropriate and your 0,93 V figure is also correct so I assume you should be able to see the battery getting drained and being reported by the library: feel free to post again if you encounter any issue or to close this discussion i…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by DanForever
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants