Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 19, 2024, 09:54:03 21:54


Login with username, password and session length


Pages: [1]
Print
Author Topic: ESP32 Adc not linear and noisy  (Read 3903 times)
0 Members and 1 Guest are viewing this topic.
fritsthecat
Inactive

Offline Offline

Posts: 1

Thank You
-Given: 2
-Receive: 0


« on: September 11, 2018, 12:51:13 12:51 »

Hi Everyone,

I'm experimenting with the ESP32 and I observe that the ADC is not terribly linear and pretty noisy. I need to filter it to have a decent and repeatable reading.

I don't know if someone else is experimenting that.

Thanks
Logged
gan_canny
Junior Member
**
Offline Offline

Posts: 89

Thank You
-Given: 101
-Receive: 26


« Reply #1 on: September 11, 2018, 04:59:29 16:59 »

The esp32 has varying power demands due to transmission of WiFi. The power supply has to be beefy and as smooth as can be.
Most buy the dev boards with the 5v micro usb supply and the usb to serial controller on board.The ADC is relative to the supply voltage and any fluctuation will make the results variable. These dev boards work well but not so much for precision ADC.
The esp32 has dual MCU's ( one devoted to WiFi) and avoids the issue that earlier esp8266 would commandeer CPU cycles and interfere with predictable timing as well as also have the power fluctuations
Logged
Sideshow Bob
Cracking Team
Hero Member
****
Offline Offline

Posts: 982

Thank You
-Given: 230
-Receive: 960



« Reply #2 on: September 12, 2018, 10:38:23 10:38 »

Have you read this
https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/peripherals/adc.html
Logged

I have come here to chew bubblegum and kick ass... and I'm all out of bubblegum
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC