How to Set Up the DHT11 Humidity and Temperature Sensor on an Arduino

How to Set Up the DHT11 Humidity and Temperature Sensor on an Arduino

Circuit Basics

8 лет назад

513,348 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@patschannel9513
@patschannel9513 - 05.02.2021 18:49

still using this vid in 2021! lol!

Ответить
@prof111
@prof111 - 09.02.2021 12:15

works fine for me using Uno with serial monitor. However, have yet to try out the LCD version. Bravo.

Ответить
@adamfosfi691
@adamfosfi691 - 21.02.2021 02:28

I ended up shorting my Humidity sender due to an error I made, which could have been avoided with a resistor, now all my readings are -999, maybe adding a resistor next time would do... Please be careful about how you wire it

Ответить
@manuelnita5626
@manuelnita5626 - 01.03.2021 04:17

Hello, how can I use these data and make a excel graphics in real time?

Ответить
@madang_heenak
@madang_heenak - 08.03.2021 09:34

bro i got some problem when its read second time its like 999
and then its back to normal
so its like
temperatur 32
humidity 70
temperatur 999
humidity 999
temperatur 32
humidity 70

Ответить
@maxmattsson00
@maxmattsson00 - 02.04.2021 11:48

Why do we connect the sensor to a digital pin? Dont we have an analog signal from the sensor? Im confused

Ответить
@Daniel-ej8ll
@Daniel-ej8ll - 25.04.2021 19:02

Am I the only one getting the error where the screen starts displaying random gibberish after like 20 seconds

Ответить
@15Stratos
@15Stratos - 12.05.2021 00:59

I'm using the exact same program with the exact same library having connected the 4-pin sensor exactly the way it's connected in your site.For some reason both the temp and humid readings are -999.Can you tell me why?

Ответить
@dericktharp5796
@dericktharp5796 - 17.05.2021 03:47

Hey thanks for this great video!!
I’ve added a second relay and if and else statements and an additional output pin for a total of 2 commands but can’t get the second output pin to energize the second relay. Any suggestions?

Ответить
@vanillabeige9028
@vanillabeige9028 - 23.05.2021 14:12

Hi it read 33 degree celsius. but supposedly the real temperature of my room when i check using room thermometer is 30 degree celsius. How do I adjust it?

Ответить
@hakanerenbilgin4832
@hakanerenbilgin4832 - 28.05.2021 00:14

Hello. I need a block diagram of this project. Can you help me?

Ответить
@chickenz4604
@chickenz4604 - 02.07.2021 13:45

Nice Video Sir!, btw hows the arduino Sir? is it still working ? Iam confused whether i should choose arduino or plc for controlling air temperature in farm and turn on the spray or other stuffs if it is too hot

Ответить
@BDR_Memphis
@BDR_Memphis - 22.07.2021 06:06

Anytime I try to verify the code,it just gives me an error code on the first line: “compilation terminated
dht.h no such file or directory

Ответить
@jonahsandersgaminglive7822
@jonahsandersgaminglive7822 - 05.08.2021 01:01

Yes it is

Ответить
@patatas7036
@patatas7036 - 26.09.2021 17:32

Thanks man

Ответить
@taipheng4621
@taipheng4621 - 08.10.2021 12:48

Hey there, thanks for the video.

I have some problems, when I copy the code and run my dht11 is overheated pretty quickly and on the serial monitor it only show -999 for both temperature and humidity.

Ответить
@tonebiclas5350
@tonebiclas5350 - 25.10.2021 14:42

lindo

Ответить
@helpcnarinceoglume
@helpcnarinceoglume - 26.10.2021 21:02

my lcd has 4 pins

Ответить
@pandakso3365
@pandakso3365 - 18.11.2021 22:31

Can this work without the potentiometer?

Ответить
@carlospineda1228
@carlospineda1228 - 03.12.2021 03:16

For anyone working on this. If you set it up with the LCD like in this video, I used a 2k ohm resistor at pin 3. I tried to follow his tutorial with the potentiometer, but mine was broken.

Ответить
@jasonnation6615
@jasonnation6615 - 11.12.2021 07:57

Is there ANYONE who could tell me to do this exact thing with the bmp180?

Ответить
@radiamoon2395
@radiamoon2395 - 17.12.2021 23:34

hello, sir why connecting the dht11 signal wire to the digital pin instead of the analog pin?
i know that the digital pin gives just two values 1 and 0.

Ответить
@syedashah590
@syedashah590 - 12.01.2022 09:48

Hi.... is there one sensor for both Temperature and humidity ??

Ответить
@fazuraaaw7054
@fazuraaaw7054 - 12.01.2022 17:54

what if i want to power it by a battery what changes will be added to the board

Ответить
@sinaiyema-osango5736
@sinaiyema-osango5736 - 18.02.2022 03:00

Thanks by thousand dewde... I was stuck on the step to display the temp and the humidity on lcd and finally succeed retrying all the plugs now it works !!!!!!

You deserve a thumb up :)

Ответить
@EnriqueHernandez-rj5lh
@EnriqueHernandez-rj5lh - 24.02.2022 07:29

gracias

Ответить
@BasharatAli-xs7mm
@BasharatAli-xs7mm - 01.03.2022 05:13

Hello brother this circuit make with volt and current meter means volt amp Watt and temperature show on one display for 5v
Please make a More video

Ответить
@First.Last.99
@First.Last.99 - 05.03.2022 19:52

worked! I had a problem as it was my first project. asked me to change port and I randomly picked a wrong one. So once I changed it its working normally! thank you. easy for a first project ;)

Ответить
@skwid11
@skwid11 - 22.05.2022 03:52

I just had the same issue if the delay time is too low it will blink 999 on the values. I set it to 1500 and its working

Ответить
@gavincox8498
@gavincox8498 - 16.06.2022 07:14

I got confused with using "dht.h" instead of <dht.h>.

Ответить
@jaxs976
@jaxs976 - 20.08.2022 21:17

Is your video green screened

Ответить
@bryanaguilazamora422
@bryanaguilazamora422 - 08.10.2022 20:44

What resistors were used for the LCD display? Thanks

Ответить
@saadwaheed465
@saadwaheed465 - 11.12.2022 02:43

mine is not working its showing -999 for humidity and lcd display

Ответить
@ohok8615
@ohok8615 - 10.01.2023 14:30

where the lcd library sir?

Ответить
@samyukta4369
@samyukta4369 - 31.03.2023 12:27

We're getting zero for both values...what to do??

Ответить
@graysenfisher4769
@graysenfisher4769 - 27.05.2023 01:32

the humidity and temp isn't showing up on my serial monitor

Ответить
@kitzzzophrenic
@kitzzzophrenic - 31.05.2023 09:43

Niceeeeeee

Ответить
@ghosteen1890
@ghosteen1890 - 11.06.2023 17:10

Quick question, whats with the chk variable in the code? Ive been digging it AND the library and i dont see it referenced again anywhere

Ответить
@achillesalbarico2532
@achillesalbarico2532 - 03.07.2023 12:34

Hi,is it ok to use the SDA and SCL pins in the lcd?

Ответить
@guppypvp9582
@guppypvp9582 - 16.07.2023 07:26

my lcd display is flickering and idk what to do please help

Ответить
@JustThatOneGuy_
@JustThatOneGuy_ - 16.10.2023 21:50

Error: 13 INTERNAL: Library install failed: archive is not valid: multiple files found in zip file top level Please Helppp!

Ответить
@Nino_TZN
@Nino_TZN - 26.12.2023 16:29

not working display a !

Ответить
@mattiasollo9987
@mattiasollo9987 - 23.01.2024 20:38

Thank you so much from Italy! My thesis can now progress. Your help is greatly appreciated.

Ответить
@johnpinckney7269
@johnpinckney7269 - 07.02.2024 08:25

relative humidity is not % h2o

Ответить
@ZainabMajed-j9y
@ZainabMajed-j9y - 29.02.2024 18:00

everything worked except that the temp and humidity are always at 0

Ответить
@FWCaptain-kv6sm
@FWCaptain-kv6sm - 27.03.2024 03:30

error error error

Ответить