-->
Page 2 of 3

Re: ESP pin to power 4x DHT22 or use transitor/mosfet

PostPosted: Mon Jan 08, 2018 1:32 pm
by btidey
The maxim app note https://www.maximintegrated.com/en/app- ... mvp/id/148 provides some useful information.

Reports of successfully achieving distances of 50m seem to benefit from lower pull ups (e.g. 2.2K) and wiring the data/gnd as a pair, and the supply/gnd as another pair. Some also say some sensors benefit from being run at 5V but with the one wire pull up to 3.3V.

Having said that, my personal strategy is to avoid long cable runs which are a pain in the neck for all sorts of reasons. The big benefit of the ESP modules is to avoid this by putting them next to the sensor and letting wifi replace the cable. They are sufficiently small and cheap to sprinkle them around as required. Obviously the wifi range can become a factor but there are chaining methods that can be employed if that becomes a problem.

Re: ESP pin to power 4x DHT22 or use transitor/mosfet

PostPosted: Tue Jan 09, 2018 7:00 am
by destroyedlolo
Hi,

If you're only interested by the temperature, you may have a look on 1-Wire : probes are cheap and it supports longs network.

Bye

Re: ESP pin to power 4x DHT22 or use transitor/mosfet

PostPosted: Tue Jan 09, 2018 7:58 am
by btidey
That's a good point. I normally use ds18b20 as they are fast and accurate.

Checking further on the dht22 indicates it is a different 1 wire interface and not addressable so daisy chaining multiple units on the same wire is not possible, unlike the ds18b20.

Re: ESP pin to power 4x DHT22 or use transitor/mosfet

PostPosted: Tue Jan 09, 2018 8:04 am
by destroyedlolo
Yes, but the advantage (only one ?) of DHT22 is it can measure moisture as well :mrgreen:

Anyway, I made a library that support many 1-wire chips and looking for beta tester and participants :)