first post, bear with me...
I have a Nodemcu and I try to get a thermistor sensor to work using Esphome.
A fixed resistor (1kΩ) and a ntc thermistor (4.7kΩ at 25degC) as a voltage divider circuit. voltage is measured, resistance of the thermistor is calculated and converted to temperature. All seems to work, except the voltage measured is wrong. 2.7V on a trusty multimeter vs 2.9V on the analog input pin.
The pin apparently has a voltage divider, as the raw voltage is 0-1V but that is multiplied by 3.3 to get the real voltage.
Connecting a 3.3V output pin to analog in gives me a perfect 3.3V reading. But not when my resistors are connected.
What am I doing wrong? I have tried two different Nodemcu's with the same result.
I have a Nodemcu and I try to get a thermistor sensor to work using Esphome.
A fixed resistor (1kΩ) and a ntc thermistor (4.7kΩ at 25degC) as a voltage divider circuit. voltage is measured, resistance of the thermistor is calculated and converted to temperature. All seems to work, except the voltage measured is wrong. 2.7V on a trusty multimeter vs 2.9V on the analog input pin.
The pin apparently has a voltage divider, as the raw voltage is 0-1V but that is multiplied by 3.3 to get the real voltage.
Connecting a 3.3V output pin to analog in gives me a perfect 3.3V reading. But not when my resistors are connected.
What am I doing wrong? I have tried two different Nodemcu's with the same result.