Тёмный

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

Circuit Basics
Подписаться 66 тыс.
Просмотров 42 тыс.
50% 1

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 RU-vid channel page to watch the entire series!
Get the 3-in-1 Arduino Smart Car and IOT Learning Kit from SunFounder here:
www.sunfounder.com/products/s...
Or get the kit from Amazon:
US Amazon: amzn.to/3W1Mahh
DE Amazon: amzn.to/3j0oETn
JP Amazon: amzn.to/3UYrHZG
UK Amazon: amzn.to/3uTJZAC
CA Amazon: amzn.to/3W2vExN
Get a DHT11 humidity sensor from SunFounder here: www.sunfounder.com/products/h...
Visit the webpage for this video tutorial on Circuit Basics for wiring diagrams and example code:
www.circuitbasics.com/how-to-...
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!
www.circuitbasics.com
Facebook: / circuitbasic
Twitter: / circuitbasics
Instagram: / circuitbasics

Наука

Опубликовано:

 

26 июн 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 17   
@qz9720
@qz9720 29 дней назад
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
@RicardoBoro
@RicardoBoro Месяц назад
Serial.print("Temperature = "); 15 Serial.println(DHT.temperature); 16 17 Serial.print("Humidity = "); 18 Serial.println(DHT.humidity); 19 20 delay(1000);
@evilkittyofdoom195
@evilkittyofdoom195 Год назад
Nice...
@mcoley84
@mcoley84 Год назад
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.
@Circuitbasics
@Circuitbasics Год назад
The chk variable is integral to the library somehow, but I'm not sure how it works. I just know that it's required because I have tried storing the sensor reads in different variables and couldn't get it to work.
@brock7157
@brock7157 7 дней назад
When I try to verify it, I get the error 'DHT' was not declared in this scope, how do I fix this?
@localfolklores
@localfolklores 2 месяца назад
what kind of software did you use to demonstrate the usage of DHT11 humidity sensor, virtually?
@omegasm8054
@omegasm8054 Месяц назад
Is the Arduino serial monitor, it's already included in the Arduino IDE
@minimalSwift
@minimalSwift Месяц назад
nice but was the background music necessary?
@noahbumvr
@noahbumvr Месяц назад
4:32 is when the yapping is over btw
@wifa45
@wifa45 4 месяца назад
Sorry, I'm not a english native speaker but Id like to ask if that reading is in C o F degrees? Thanks 😊
@marcoxyz-Grand
@marcoxyz-Grand 4 месяца назад
in Celcius
@Nine_883
@Nine_883 6 месяцев назад
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.
@apoorvgupta2710
@apoorvgupta2710 Месяц назад
Well now u can just install libraries using arduino ide by going to Tools -> Manage Libraries... -> typing DHTlib
@ahmedramadan4169
@ahmedramadan4169 3 месяца назад
can you give me dht libarary
@rjbrake
@rjbrake 3 месяца назад
Dude, great info, but you scare the hell outta me the way you look into the camera like that. Shudder....
@JustinS06
@JustinS06 2 месяца назад
Looks like he's held at gunpoint lol
Далее
555 Timer IC in Bistable Mode
1:19
Просмотров 1,8 тыс.
Flo Rida - Whistle НА РУССКОМ 😂🔥
00:29
ПОДВОДНЫЙ ГЕЙМИНГ #shorts
00:22
Просмотров 1,4 млн
Measuring altitude using arduino and MPL3115A2
4:17
How to Use Arduino Interrupts The Easy Way
33:28
Просмотров 79 тыс.
HYDRAULIC PRESS VS ARMOR, USA AND RUSSIA
10:16
Просмотров 6 тыс.