Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

How to Connect and Use the DHT11 Temperature and Humidity Sensor

Paul McWhorter via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to measure temperature and humidity using the DHT11 sensor with an Arduino in this comprehensive tutorial. Connect the sensor, install the necessary library, and write code to read temperature and humidity data. Follow step-by-step instructions for setting up constants, creating objects, and using floats for accurate readings. Troubleshoot common issues and test the sensor's functionality using the Serial Monitor. Gain practical skills for integrating environmental sensing into Arduino projects.

Syllabus

Introduction
What You Need
Download DHT11 Space Arduino Library
Connecting the Temperature and Humidity Sensor
Adding the Library
Setting a Constant
Creating the Object
Why Use Floats
Set Time
Read Humidity
Read Temperature
Troubleshooting
Prints
Testing
Serial Monitor
Humidity
Temperature
Testing the Sensor

Taught by

Paul McWhorter

Reviews

Start your review of How to Connect and Use the DHT11 Temperature and Humidity Sensor

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.