As the title says... Chat on...

User avatar
By be80be
#49596 I been working on reading a tmp36 well it reads it fine but the value is off. I'm reading 223 with my dvm and the adc is returning 240. I'm using a divider with total of 3.2 k trimmed to give a 0 to 1 volt to the adc.
User avatar
By trackerj
#49597 I suppose that what you are saying is that the DMM read = 223mV and ADC read = 240mV?
What's the formula that you are using to transform ADC readings in mV?

Check your voltage divider.
Check your VCC value.
Establish ADC input interval.
Recalibate based on Voltage divider and VCC values.

Reply with the results.
User avatar
By trackerj
#49604 How is the voltage divider dead? Please explain a bit. What is your voltage divider ratio and how did you calculate it?
You know that depending on your VCC your ADC max input voltage is actually about 0.978V, or even less?
Take a look also here: ESP8266 Internal ADC