59
returns an answer signal. Then the host receives the answer signal and begins to receive 40-
bit humiture data (8-bit humidity i 8-bit humidity d 8-bit temperature integer
+ 8-bit temperature d 8-bit checksum). For more information, please refer to DHT11
datasheet.
Experimental Procedures
Step 1:
Build the circuit
Humiture Sensor Module SunFounder Uno
S --------------------------------------- D4
- ---------------------------------------- GND
+ --------------------------------------- 5V
LCD1602 connection:
connect pin RS to digital pin 5; R/W to GND; E to digital pin 6; D4~D7 to
digital pin 9 to 12; VSS to GND; VDD to 5V; A to 3.3V; K to GND
Potentiometer connection
: Connect the middle pin to VO of LCD1602 and any other pin to
GND
Step 2:
Program (Please refer to the example code in
LEARN -> Get Tutorial
on our
website
)
Step 3:
Compile
Step 4:
Upload the sketch to SunFounder Uno
Now, you can see the value of the current humidity and temperature displayed on the LCD.
SunFounder
Summary of Contents for Sensor Kit V1.0
Page 12: ...9 S u n F o u n d e r ...