I try to read voltage with ADC1_0 but I always get unstable values.
Anybody work with adc in esp32 and can help?
Thanks
adc not stable
-
- Posts: 9757
- Joined: Thu Nov 26, 2015 4:08 am
Re: adc not stable
Unstable as in the values jitter a lot? What you can do is try oversampling, that is, take a bunch of measurements and take the average of them. We're working on ADC stability, so we may add things to esp-idf to help with this in the future, but for now this is something you can do.
Re: adc not stable
Thank for reply.
I get 2 different values in adc read the first after wake up from deep sleep and the second after ~5 seconds.
The difference is very big.
Does anyone have any idea what the problem is?
I get 2 different values in adc read the first after wake up from deep sleep and the second after ~5 seconds.
The difference is very big.
Does anyone have any idea what the problem is?
Who is online
Users browsing this forum: No registered users and 39 guests