Skip to content

Commit 8f89d15

Browse files
authored
Updated comment on the Pin Out of the DHTxx Sensors
The DHTxx series sometimes come with 3 pins although the actual sensor itself happens to have 4 pins, So I made an update on the comment to help anyone who might find it sketchy ...Thanks
1 parent 61ffee5 commit 8f89d15

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/DHTtester/DHTtester.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
// NOTE: If using a board with 3.3V logic like an Arduino Due connect pin 1
2121
// to 3.3V instead of 5V!
2222
// Connect pin 2 of the sensor to whatever your DHTPIN is
23-
// Connect pin 4 (on the right) of the sensor to GROUND
23+
// Connect pin 3 (on the right) of the sensor to GROUND (if your sensor has 3 pins)
24+
// Connect pin 4 (on the right) of the sensor to GROUND and leave the pin 3 EMPTY (if your sensor has 4 pins)
2425
// Connect a 10K resistor from pin 2 (data) to pin 1 (power) of the sensor
2526

2627
// Initialize DHT sensor.

0 commit comments

Comments
 (0)