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 -
Getting system time from the controller
Troubleshooting • 27 Feb 2025, 01:39 • dpcons 3 Mar 2025, 01:00 -
DHT22 wrong sensor type in Home Assistant
Troubleshooting • 3 days ago • Commodoreuno about 22 hours ago -
Echo request is not set
Troubleshooting • 12 Aug 2024, 15:36 • kamilb85 3 Sept 2024, 08:58 -
NODs stop responding, but ping works.
Troubleshooting • 8 Mar 2025, 19:47 • Marcin 8 Mar 2025, 19:47 -
JSN SR04T - Temperature Influencing Readings
Troubleshooting • 6 Sept 2019, 07:51 • Timbergetter 16 days ago