I imagine you're using ESP8266 based on your other posts?
The ESP8266 ADC only has a voltage input range of 0 to 1v as far as I know, so yes - you'll only be able to read the first 1/3 or so of the potentiometer range if you connect it direct - you need to add another resistor between the pot and 3.3v to act as a potential divider and bring the voltage down.
If you don't want to do that then all the official Espruino boards have a full 3.3v range ADC.
Sorry for not naming the board, I use the Official MDBT42Q board
© Espruino, powered by microcosm.
Report a problem