I know most of the previous comments are 2 years old or more but I just started and like all the others it was very clear and easy to follow. Thanks for a great tutorial.
Dejan thanks for your stuff it is clearly and understandable as always! I would like to ask if you know how can l schedule two dht22 to take their measure every 2 sec, l mean to synchronized the measures at the same time (cause l need to calculate a gradient )?
Hi, congratulations on your video. But I get the error that "the dht.h library is missing. There are several libraries, I don't know which one to install. In my Arduino the dht sensor library is installed, but it doesn't work with this library. Any suggestions? Thanks.
@dejan Nedelkovski Do you know if the DHT11's readings of the humidity and temperature can be float variable and give an accurate value, just like the DHT22 you showed in the video? thx
Can you tell me exactly which library to download? DHT only? Or the Adafruit-sensor-master as well? sketch_oct30b:14:1: error: 'dht' does not name a type dht DHT;
hi Dejan ; do you have a tutorial about arduino internal eeprom and how to set them that if the power is off the arduino start on a cretin stage not from the beginning
The DHT22 sensor enables temperature measurement in the range of -40 to 80°Celsius Does your program accept this? I.e it also shows negative temperatures?
Dejan Nedelkovski can you do a video about the same thing, except use a PIR motion sensor to display sensor values on the lcd screen? or do one with capacitive touch sensors?
I could not get the DHT11 single wire protocol to work with a 20x4 I2C display. The display works fine with just a display sketch, and the DHT11 works fine with just a DHT11 sketch, but the two could not be carefully combined to work together. Using the serial monitor display as well as the LCD display simultaneously, I can see the sensor working properly but there is no change whatsoever to the LCD - nothing displays. I suspect that with the on-board pull-up resistor pulling the DHT11 high and ready for communication, it may have been preventing I2C from starting up. I don't know. Ideas?
Arduino: 1.6.7 (Windows 7), Vývojová doska:"Arduino/Genuino Uno" C:\Users\User\AppData\Local\Temp\arduino_58c88b70bb658d9ab087ef443dabacf7\sketch_feb17a.ino:10:17: fatal error: dht.h: No such file or directory #include ^ compilation terminated. exit status 1 Chyba pri kompilácii. Tento výpis by mal viac informácií s "Zobraziť viac informácií počas kompilácie" povolené v Súbory > Vlastnosti.
hi, if you don't use the resistor what will happen, I have mines setup with a 10k but the temp is off 10 degrees. do you have any idea why I am off so much degrees? I am using the DHT22 with 3.3V. also can this be power by only by 3.3v or it can be power by 5v?
It can be powered by 3-5 Volts, but I think the reason the reading is so off, is because of either a mistake in the code calculations or that you ned to use a different resistor.
can u give the circuit of lcd display its so messy and i tried to understand the pin outs from picture in intro. But its to hard so pls put the fritzing circuit.
Hola, felicitaciones por tu video. Pero me da error de que "no encuentra la librería dht.h HAY varias librerías, no sé cual instalar. En mi Arduino está instalada la librería dht sensor library, pero no funciona con esta librería. Alguna sugerencia? Gracias.
My DHT22 started measuring wrong humidity. It was supposed to be around 60% (as used to be) and now a 4%. I am new to electronics, is that a way to fix it?
can you make and DHT11 Temperature and humidity sensor using arduino with LCD display tutorial materials needed is: 2 pieces of DHT11 sensor 1 piece of LCD 16x2 with I2C Module and show to code for this please....
I have constructed the circuit and apply what it 's necessary. But i have a problem. DHT22 reads both Temp:-9999 and Humidity: -9999. What is the issue ?
+chao xi I have downloaded the DHT lib and the error is gone now. But still when I open the serial monitor, there is always zero value.... the sensor seems not sending any value, i use a 1K resistor in the data port of DHT11.
Lyan G hey guy I was with the same problem, you should look for inside of the folder library and look if the name of the folder it's the same, if not just change it to dht and try to use :)
The content of this video is really good but you should work on your intonation. Every sentence throughout basically this entire video was said with the exact same intonation pattern and it sounds super robotic. Talk like you are having a conversation with someone, not just spouting facts. No offense intended, just a tip. Great video.
can you make and DHT11 Temperature and humidity sensor using arduino with LCD display tutorial materials needed is: 2 pieces of DHT11 sensor 1 piece of LCD 16x2 with I2C Module and show to code for this please....
Thanks,
You have by far the best Arduino tutorial projects.
Excellent! You provide a vital service to the Arduino community. Keep up with the good work!
I know most of the previous comments are 2 years old or more but I just started and like all the others it was very clear and easy to follow. Thanks for a great tutorial.
the dht11 works fine without a pullup resistor...thanks for this super tutorial.
Thank you. That was very thorough!
This video is excellent. Educational, clear, and concise, and interesting. Thank you so much! I wish could subscribe 100 times
Thanks for your nice tutorials! They're great!
thanks, best explanation ever found
Dejan thanks for your stuff it is clearly and understandable as always! I would like to ask if you know how can l schedule two dht22 to take their measure every 2 sec, l mean to synchronized the measures at the same time (cause l need to calculate a gradient )?
Excellent tutorial!
very good video. Included everything you need to know. Thank you!
Thanks so much man!
VERY NICE EXPLAINED, THANKYOU!
great and very educative tutorial
Excellent. Congratulations.
Hi, congratulations on your video. But I get the error that "the dht.h library is missing. There are several libraries, I don't know which one to install. In my Arduino the dht sensor library is installed, but it doesn't work with this library. Any suggestions? Thanks.
Thanks for the explanation
@dejan Nedelkovski Do you know if the DHT11's readings of the humidity and temperature can be float variable and give an accurate value, just like the DHT22 you showed in the video?
thx
Yes. I don't see the 1/100 accuracy as I see in your DHT22 video.
I did exactly your code, and I don't get 1/100 measurements. I'll try to find an DHT22.
man thanks, I didn't know that dh11 doesn't support negative temps
thank you very much !
I am running the same code but getting an error of No such file or directory . Can you please help me with that thanks.
I have the while DHT22, is it mandatory to connect the pull-up resistor? I am getting non-logic values without it!
+Dejan Nedelkovski this is why i was received bad readings. should be 4.7k or 10k?
I can see others seem to have had the error ‘ dht ‘does not name a type, but no solution seems to appear, does anyone have an answer please ?
I am brand new to arduino, can you hook this and a MQ9 up to a single arduino uno? Thanks for this video.
Can you tell me exactly which library to download?
DHT only? Or the Adafruit-sensor-master as well?
sketch_oct30b:14:1: error: 'dht' does not name a type
dht DHT;
I have same error dht does not name a type
Where do I download the library for my DHT22?
hi Dejan ;
do you have a tutorial about arduino internal eeprom and how to set them that if the power is off the arduino start on a cretin stage not from the beginning
ahh yes i remember it
thanks
The DHT22 sensor enables temperature measurement in the range of -40 to 80°Celsius
Does your program accept this? I.e it also shows negative temperatures?
Hello, could you please tell me how to install dht.h?
Thanks a lot Sir :-)
hy bro
can we control incubator with it
Nice :) Thumbs up :)
Alex
***** 👍👍👍👍
Does it have to constantly be connected to the computer to get info from the serial monitor?
Dejan Nedelkovski can you do a video about the same thing, except use a PIR motion sensor to display sensor values on the lcd screen? or do one with capacitive touch sensors?
Can I use this sensor on the industry level?
can we design with an Arduino to read 2 Max6675 temperature and send the data to the computer?
if i change the delay to lower than 2000 ms, is error occure? or it gives the earlier calculation.
I could not get the DHT11 single wire protocol to work with a 20x4 I2C display. The display works fine with just a display sketch, and the DHT11 works fine with just a DHT11 sketch, but the two could not be carefully combined to work together. Using the serial monitor display as well as the LCD display simultaneously, I can see the sensor working properly but there is no change whatsoever to the LCD - nothing displays. I suspect that with the on-board pull-up resistor pulling the DHT11 high and ready for communication, it may have been preventing I2C from starting up. I don't know. Ideas?
Arduino: 1.6.7 (Windows 7), Vývojová doska:"Arduino/Genuino Uno"
C:\Users\User\AppData\Local\Temp\arduino_58c88b70bb658d9ab087ef443dabacf7\sketch_feb17a.ino:10:17: fatal error: dht.h: No such file or directory
#include
^
compilation terminated.
exit status 1
Chyba pri kompilácii.
Tento výpis by mal viac informácií s
"Zobraziť viac informácií počas kompilácie"
povolené v Súbory > Vlastnosti.
Hi did you find a way to solve this? I am having the same problem...
@@oneiricj4877 download the library from the internet then include it in your Arduino sketch
@Jair Pedraza Cuál? Hay varias- Gracias.
hi, if you don't use the resistor what will happen, I have mines setup with a 10k but the temp is off 10 degrees. do you have any idea why I am off so much degrees? I am using the DHT22 with 3.3V. also can this be power by only by 3.3v or it can be power by 5v?
It can be powered by 3-5 Volts, but I think the reason the reading is so off, is because of either a mistake in the code calculations or that you ned to use a different resistor.
Btw, can you make a tutorial about using the Wii Nunchuk controller?
It would be great.
Keep it up.
+Dejan Nedelkovski
Ok, nice to know that will be more tutorials like this.
Regards from Portugal
can u give the circuit of lcd display its so messy and i tried to understand the pin outs from picture in intro. But its to hard so pls put the fritzing circuit.
Outdoor DHT sensor doesnot read minus values at winter.
Please ,how can we fix the temperature from -50 to +50
You cant, you need to get a different sensor for that
would you please give a PCB diagram with arduino nano.
Would be better if you would make a tutorial about how to use this sensor without a library.
can that really work with my apartment cause I want to create one for myself and I want it to detect the temperature and humidity in my room
Ok lets say I have two 3.7v batteries and co2 sensor tempature sensor DHT22 sensor could I power up all that with only two 3.7v batteries
Can a Nano work with this? I need Nano, LCD, 2 Temp and 1 or 2 humidity
Hola, felicitaciones por tu video. Pero me da error de que "no encuentra la librería dht.h HAY varias librerías, no sé cual instalar. En mi Arduino está instalada la librería dht sensor library, pero no funciona con esta librería. Alguna sugerencia? Gracias.
can you please snap an upper view of the model
i dont really know where to put the wires
how if that distance sensor? do you know the code?
Why do not you have connected the LCD through I2C?
My DHT22 started measuring wrong humidity. It was supposed to be around 60% (as used to be) and now a 4%. I am new to electronics, is that a way to fix it?
wich resistor is that
im using proteus for simulation BTW. .i need DHT22 library for proteus
Could you pls help me how to connect to cloud
can you make and DHT11 Temperature and humidity sensor using arduino with LCD display tutorial
materials needed is:
2 pieces of DHT11 sensor
1 piece of LCD 16x2 with I2C Module
and show to code for this please....
What if I get temperature and humidity values "-999". It happens from time to time and totally random
dht.h no such file or directory..... any ideas?
Gracias
I have constructed the circuit and apply what it 's necessary. But i have a problem. DHT22 reads both Temp:-9999 and Humidity: -9999. What is the issue ?
How to remember set point on power is off
How i connect lcd?
Code will not compile:
sketch_jan28a:14: error: 'dht' does not name a type
dht DHT; // Creats a DHT object
have you find the solution? I try today this program and have the same thing
@@clementdavid7370 solution?
Hi, I got an error when uploading.... please help...
fatal error: DHT.h: No such file or directory
#include "DHT.h"
+chao xi I have downloaded the DHT lib and the error is gone now. But still when I open the serial monitor, there is always zero value.... the sensor seems not sending any value, i use a 1K resistor in the data port of DHT11.
Hi, Dejan. Thanks for your prompt response. I have downloaded another lib and yes it works now. Thank you sir!
i have dht22, he has a big error if compare whith psychrometer
It keep telling me -999% on both Humidity and Temp, what do i do ?
'dht' does not name a type
How to fix it thanks
Lyan G hey guy I was with the same problem, you should look for inside of the folder library and look if the name of the folder it's the same, if not just change it to dht and try to use :)
Download the DHT 11 Library
@@yuriromano1119 brother you mean to change the name in the folder
@@waleedishaq3012 yes
@@yuriromano1119 thank you I think that worked but I have got another error that says dht doesnot name a type
My code is dht Dht;
brother, I am a little bit confused here because you did not show how to contact the display to the arduino board
Please, help me with this
Check my Arduino LCD Tutorial for that.
I'm just getting 0 temp and 0 humidity
DHT.read11(dataPin) returns -3
@@Wesgeen I am getting the same problem, did you ever figure it out?
@@drewbutler1326 No, i eventually just assumed the DHT11 was broken, and moved on :c
@@Wesgeen Well that stinks. Thanks tho.
I had the same problem.
Removed the resistance and it started to work.
Don't know why. My DHT22 has 4 pins.
how to use in arduino uno?
hi can it work without computer after programming
reply fast
with that code i am getting a error
expected primary-expression before '.' token
Sir how to connect aurdino to ethernet
i think its not possible
i just think
is your code available
Sampling rate for dht22 0.5 Hz, it means that for 1 second we receive data two times, it's faster than dht11, isn't it?
0.5Hz is the sample rate.. 0.5 samples/second or 2 seconds for 1 sample.
Hi Sir, Can u send me the Source code?
my Email ID:engr.syedmusa@gmail.com
Am I the only one getting the readings -999? Please help
me too, do someone knows why does this happen?
sounds like you guys swapped the ground and 5v wires.
The content of this video is really good but you should work on your intonation. Every sentence throughout basically this entire video was said with the exact same intonation pattern and it sounds super robotic. Talk like you are having a conversation with someone, not just spouting facts. No offense intended, just a tip. Great video.
Well the reason he sounds like that is probably because of his accent, and English not being his native language
pls arduino uno
Inaccurate!
translate to Arabic please 😐
I cant find dht.h library
help got this error
#error "CPU SPEED NOT SUPPORTED"
^
exit status 1
Error compiling for board LinkIt ONE.
can you make and DHT11 Temperature and humidity sensor using arduino with LCD display tutorial
materials needed is:
2 pieces of DHT11 sensor
1 piece of LCD 16x2 with I2C Module
and show to code for this please....