Wiring plain DHT22 chip
-
Hi All,
As a MySensors noob, I ordered a standalone DHT22 chip (4 pin) instead of a module (3-pin) - didn't notice the difference.
I found a wiring diagram on the Adafruit site (https://learn.adafruit.com/dht/connecting-to-a-dhtxx-sensor) which seems to use a plain DHT chip like myself.
Is this wiring OK for the Mysensors library? Will it read the sensor the same way as from a module?
Any help is appreciated.
-
@Andras-Soltesz - Hi and welcome Andras!
No problem, wire the DHT like the link and use the Mysensors sketch (https://www.mysensors.org/build/humidity) and everything will work out fine!Just note that data input on the arduino uses D2 on the adafruit link but standard defined is D3 for MySensors.
-
Thanks, I will try it out.
-
It works, many thanks.
I used a 4K7 resistor as pull-up and it seems to be enough.