ESP pin to power 4x DHT22 or use transitor/mosfet
Posted: Thu Jan 04, 2018 10:36 am
Hello all,
I have a project where I am using an ESP8266 to take temperature of 4 DHT22 sensors. These connected to the ESP on a CAT5 cable with a length of around 60 feet with the sensors being placed along the wire.
My question is: would it be more power efficient to power the DHT22 with one of the ESP output pins, or would it make more sense to have one of the ESP pins control a MOSFET or transistor to switch on the supply voltage to the DHT22 when taking a reading. I am trying to save as much power as possible.
From the datasheet it appears the pins of the ESP8266 can supply up to 12ma, but I am not sure how the long cable run will effect it?
Finally, does the mosfet or transistor use less current when operating?
Thanks!
I have a project where I am using an ESP8266 to take temperature of 4 DHT22 sensors. These connected to the ESP on a CAT5 cable with a length of around 60 feet with the sensors being placed along the wire.
My question is: would it be more power efficient to power the DHT22 with one of the ESP output pins, or would it make more sense to have one of the ESP pins control a MOSFET or transistor to switch on the supply voltage to the DHT22 when taking a reading. I am trying to save as much power as possible.
From the datasheet it appears the pins of the ESP8266 can supply up to 12ma, but I am not sure how the long cable run will effect it?
Finally, does the mosfet or transistor use less current when operating?
Thanks!