How to Use a DHT11 Humidity Sensor on the Arduino - Ultimate Guide to the Arduino #38

preview_player
Показать описание
Learn how to measure temperature and humidity with the DHT11 and an Arduino. Examples are provided to connect and program standalone and breakout board type humidity sensors.

This is tutorial #38 in the Ultimate Guide to the Arduino, a complete video course on the Arduino microcontroller with 45 lessons that are designed to teach anyone how to master the Arduino at any skill level. Visit our YouTube channel page to watch the entire series!

Get the 3-in-1 Arduino Smart Car and IOT Learning Kit from SunFounder here:

Or get the kit from Amazon:

Visit the webpage for this video tutorial on Circuit Basics for wiring diagrams and example code:

And be sure to check out the Circuit Basics blog and social media for more articles and tutorials on the Raspberry Pi, Arduino and other DIY electronic projects!
Рекомендации по теме
Комментарии
Автор

THANK YOU SO MUCH
I was having problems, I had temperature and humidity reading 255 every time but this video solved my issues, you're a legend

qz
Автор

Thank you for the explanation! Can you elaborate why you stored the result of the read11 function as an int "chk"? The variable doesn't appear to be used anywhere.

mcoley
Автор

Serial.print("Temperature = ");

15

16

17 Serial.print("Humidity = ");

18 Serial.println(DHT.humidity);

19

20 delay(1000);

RicardoBoro
Автор

Hello. Is it possible to connect 3 DHT11 to one Arduino?

markcraft.online
Автор

what kind of software did you use to demonstrate the usage of DHT11 humidity sensor, virtually?

localfolklores
Автор

Why didn’t you put a link to the library video instead of making people search your channel. It’s not improving your views by making us search. Just the opposite.

Nine_
Автор

When I try to verify it, I get the error 'DHT' was not declared in this scope, how do I fix this?

brock
Автор

Sorry, I'm not a english native speaker but Id like to ask if that reading is in C o F degrees?

Thanks 😊

wifa
Автор

nice but was the background music necessary?

minimalSwift
Автор

Dude, great info, but you scare the hell outta me the way you look into the camera like that. Shudder....

rjbrake