5% OFF Over $19, Code: Elephant5; 10% OFF Over $59, Code: Elephant10



PLUG Starter Kit For Arduino Project 20: Temperature and Humidity

Posted by Fiona Su on

Overview
How to test the temperature and humidity in the current environment? Use a DHT11 sensor. Simply connect to the EASY Plug control board.
Component Required

  • EASY plug control board*1
  • EASY plug DHT11 Sensor *1
  • EASY plug 1602 LCD module *1
  • RJ11 cable*1
  • USB cable*1

Component Introduction


Keyestudio EASY plug DHT11 Temperature and Humidity Sensor
The DHT11 is a basic, ultra low-cost digital temperature and humidity sensor.
It uses a capacitive humidity sensor and a thermistor to measure the surrounding air, and provides a pre-calibrated digital signal output.
This DHT11 sensor has fast response, anti-interference ability, excellent reliability and long-term stability.
Supply Voltage: 5V
Relative Humidity and temperature measurement
Good for 20-90% humidity readings with 5% accuracy
Good for 0-50°C temperature readings ±2°C accuracy
Interface: Digital
Low Cost
Connect It Up
Connect the EASY Plug temperature and humidity module to control board using an RJ11 cable.

thumb

Upload the Code
Below is an example code.

thumb

What You Should See
Open the Serial monitor, you should be able to see the temperature and humidity data.

thumb

Little Knowledge:
If the data is scrolling very fast, you can’t make out the data clearly, so you can modify the Delay time in the code to check it easily.

thumb

Extension Experiment

Make a Hygrothermograph

Hookup Guide
Connect the EASY Plug DHT11 sensor and 1602 LCD module to control board using RJ11 cables.

thumb
Test Code
Below is an example code.

thumb
What You Should See

thumb

Upload success, you should be able to see the temperature and humidity data are showed on the LCD screen.

thumb

All Tutorial

 Buy here>>EASY PLUG Super Starter Kit For Arduino STEM EDU

0 comments

Leave a comment

Please note, comments must be approved before they are published