-->
Page 1 of 1

ESP-201 and potentiometer

PostPosted: Sun Apr 25, 2021 9:14 am
by eVador
Hi all,
When I analogRead the value of a standard "precision" potentiometer, which has a 270° range, the value sweeps from 0 to 1024 in only about 60° of the range of the potentiometer ?
What am I missing ? Thanks you !

Re: ESP-201 and potentiometer

PostPosted: Mon Apr 26, 2021 4:36 am
by schufti
most probably the potentiometer gives 0...5V or 0...3.3V (depends how you connect it, didn't show) and the analog input of ESP-201 only accepts up to 1V for a 1024 reading?

Re: ESP-201 and potentiometer

PostPosted: Mon Apr 26, 2021 4:58 am
by eVador
Thanks to your answer I was able to clarify the problem:

ESP8266 development boards have a 3.3V ADC range, but indeed ESP8266 chip have a 1V ADC range !
So I have to learn about voltage dividers :)

Thank you for fast and correct answer !