So you're using an ESP8266 based Arduino (with 0-1volt analogue input).
The boards with 3.3volt analogue-in use a voltage divider (with resistors) to drop 0-3.3volt to 0-1volt.
That divider will upset your fixed 10k resistor.
Better find out if your board uses a voltage divider.
Leo..