Experiment 2 How to Use Temperature & Humidity Sensor DHT11

Share for us

Overview:

In this experiment, we will learn how to use Temperature & Humidity Sensor DHT11. After you performed all the steps, you will see the temperature & humidity data collected by DHT11 display on the serial monitor.

Components:

SUNFOUNDER MEGA2560 * 1 DHT11 * 1

USB Cable * 1 Jumper wires

Steps:

First, connect the circuit

Second, program (Please refer to example code in CD we provide)

Third, compile the program

Fourth, burn the program into SUNFOUNDER MEGA2560 board