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.
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
Echo request is not set
Troubleshooting • 12 Aug 2024, 15:36 • kamilb85 3 Sept 2024, 08:58 -
Can not compile MySensors on esp8266
Troubleshooting • 24 Aug 2024, 15:35 • TheoL 29 Aug 2024, 20:47 -
Compiling Sensor code using BME280 and ESP8266
Troubleshooting • 26 Feb 2025, 00:32 • dpcons 26 Feb 2025, 06:22 -
Getting system time from the controller
Troubleshooting • 27 Feb 2025, 01:39 • dpcons 29 days ago -
Raspberry Pi 5: invalid GPIO 9
Troubleshooting • 27 Aug 2024, 13:20 • igo 27 Aug 2024, 13:20