Главная
Study mode:
on
1
Introduction
2
What You Need
3
Download DHT11 Space Arduino Library
4
Connecting the Temperature and Humidity Sensor
5
Adding the Library
6
Setting a Constant
7
Creating the Object
8
Why Use Floats
9
Set Time
10
Read Humidity
11
Read Temperature
12
Troubleshooting
13
Prints
14
Testing
15
Serial Monitor
16
Humidity
17
Temperature
18
Testing the Sensor
Description:
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.

How to Connect and Use the DHT11 Temperature and Humidity Sensor

Paul McWhorter
Add to list
0:00 / 0:00