Electronic – Understanding Dividing Voltage

esp8266voltage divider

I am attempting to get an ESP8266 to read temp from an analog temp sensor (TMP36). The ESP is on the Adafruit HUZZAH ESP8266 breakout. The board has a single analog pin that I believe will allow me to do this. The description of the board says the analog input has a 1.8v max voltage. I will be supplying the TMP36 with 3.3v.

Do I need to divide the output of the TMP36 to get a proper reading? How should this division be done? Once it is done, do I also then multiply the reading from the TMP36 by they same amount it was divided?

Best Answer

"To use, connect pin 1 (left) to power (between 2.7 and 5.5V), pin 3 (right) to ground, and pin 2 to analog in on your microcontroller. The voltage out is 0V at -50°C and 1.75V at 125°C.

The supply voltage can vary but the output stays in the range 0 - 1.75V (very close to your 1.8V max input) so no need for a divider.

Related Topic