DHT11 Temperature & Humidity sensor with Arduino - Tutorial

preview_player
Показать описание
Let's read some temperature and humidity with the help of this DHT11 module and an Arduino UNO.

Рекомендации по теме
Комментарии
Автор

For everyone only reading 0% and 0 degrees:
Some DHT11 sensors have the signal pin on the left. Meaning you should connect it like this:
Connect the negative pin (right) to GND.
Connect the positive pin (middle) to 5V.
Connect the signal pin (left) to pin 7.
In the code change DHT.read11(dht_apin); to DHT.read11(7);

Hope this helps 😁

funguslars
Автор

Everyone keep in mind that he used a sensor mounted on a pcb. If you have just the bare sensor, you need a resistor across the analog and 5v pins or it won't work correctly. His already had this resistor on the pcb.

korbano
Автор

I need to look at the datasheet for this. It shows humidity going from 63% up to 75% after only a few seconds. Seems like a large drift in a short period of time.

irishRocker
Автор

Hi need help I am getting zero for both temp as well as humidity. Tried all possible connections with this code. I have 3 pin dht11. What could be the possible reason????

Need help

electronishq
Автор

For anyone with the ERROR: 'DHT.h' there is no such file:
Change DHT to dht (small letters) in the beginning of the file.

Simon-nxsc
Автор

It helps me for my robotic project thank you.

niwashiniapsivasangaranmoe
Автор

I am not getting any errors but the Serial Monitor only gives me 0, 00% Humidity and 0 C. The Library must be broken somehow

theIfrit
Автор

after adding library, it also says error

misbah
Автор

the stability of the readings from your sensor seem to be very erratic!

alexlototzky
Автор

'dht' does not name a type how do i fix this?

seanschuffert
Автор

Hey Brainy, super easy and fast! thank you, if you allow me to say something, there is a huge difference of volume of sound between the start of video and in the middle. thanks again!

cadudatoros
Автор

I check my Arduino library and there is no such file as DHT or dht. what should I do?

shineratti
Автор

I'm a bit confused, the DHT11 is supposed to deliver a digital reading, not analog?

FSchack
Автор

For whatever reason, the temp and humidity both keep showing only zero

YD_.
Автор

my output for temperature and humidity both are -999 always.. can u help??

priyankakalena
Автор

I am impressed - Your videos are incredibly impressive and genuinely helpful😀

AlexTechProjects
Автор

Nevermind, everything has worked properly. However, why does it always give me values of 0 for temperature and humidity ?

MegaBigboss
Автор

Can you please include library properties? I want to code it in arduino droid for Android. It asks for library.properties

jayeshbrahmkshatriya
Автор

thank you. it worked for me nice and well. thankyou for the library also

m.iinnovations
Автор

the code is correct. Connect the data pin to A0 on the Arduino Uno Board.

arunsworld