Experiment 2 How to Use Humiture Sensor DHT11 module

Share for us


In this experiment, you will learn how to use Humiture Sensor DHT11 module. After you take all the steps, you will see the temperature & humidity data collected by DHT11 displayed on Serial Monitor.


– 1 * SunFounder Mega 2560

– 1 * Humiture Sensor DHT11 module

– 1 * USB cable

– 1 * 3-Pin anti-reverse cable

Experimental Procedures

Step1: Build the circuit

Step2: Program

Step3: Compile

Step4: Burn the program into the SunFounder Mega 2560 board (check the board and port selected)

Now, you can see the ambient temperature and humidity values on Serial Monitor.