Driving thermistor from GPIO
Posted: Thu Jan 03, 2019 9:32 am
Hi All,
I have built a thermometer using a voltage divider (10k thermistor and 1 k resistor). At the moment it is powered by a 3.3v breadboard power supply and goes into a loop of deep sleep for 5 mins, wakes, sends the temp and then goes back to sleep . There is also a 10k resistor between the ADC pin and the divider to stabilize the values.
I am now thinking of changing it to be battery powered and realised that although the esp is in low powered deep sleep for most of the time, the voltage divider is always on. Given the resistors involved, even if the thermistor is at theoretical 0 omhs, it is only drawing 3 mA (if my calcs are correct - I have not included the 10k resistor).
So.... should I worry about this? One option would be to power it off one of the GPIO pins rather than Vcc so when the ESP wakes up it sets the pin high and this is used to power the voltage divider.
Any thoughts on best way to approach this to extend battery life?
thanks
Lee.
I have built a thermometer using a voltage divider (10k thermistor and 1 k resistor). At the moment it is powered by a 3.3v breadboard power supply and goes into a loop of deep sleep for 5 mins, wakes, sends the temp and then goes back to sleep . There is also a 10k resistor between the ADC pin and the divider to stabilize the values.
I am now thinking of changing it to be battery powered and realised that although the esp is in low powered deep sleep for most of the time, the voltage divider is always on. Given the resistors involved, even if the thermistor is at theoretical 0 omhs, it is only drawing 3 mA (if my calcs are correct - I have not included the 10k resistor).
So.... should I worry about this? One option would be to power it off one of the GPIO pins rather than Vcc so when the ESP wakes up it sets the pin high and this is used to power the voltage divider.
Any thoughts on best way to approach this to extend battery life?
thanks
Lee.