Skip to content

esp32 analog input #1036

Answered by floitsch
micrcx asked this question in Q&A
Sep 18, 2022 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

The value returned by the ADC converter is the actual voltage.
It uses calibration data that is stored inside the ESP32 to correct the raw data to be more accurate.
The range of the returned value is fundamentally 0.0 to 3.3, since that's the voltage the ESP32 works with.

I just created a PR to also obtain the raw value of a measurement: #1037
It's likely going to be included in the next release.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@micrcx
Comment options

@floitsch
Comment options

Answer selected by kasperl
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