So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By eVador
#91212 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 !
User avatar
By schufti
#91221 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?
User avatar
By eVador
#91222 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 !