Finally a tutorial that works. You would not believe how many I have gone through.
@hailiu17214 жыл бұрын
@BaconMasterT_YT you should check out BV3D, they have great tutorials, too. :)
@Noah-ek8hp3 жыл бұрын
I've went through at least 10 different ones
@gold3ngam3s844 жыл бұрын
this is literally the only video on youtube that has the download to the needed library, liked :D
@minifigjake7 жыл бұрын
Great video to get the basics of the sensor down. Especially with the info on your blog page. Thanks! Using mine to control the environment in my snake enclosures via a mister and small computer fan.
@sinaiyema-osango57362 жыл бұрын
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 :)
@mattiasollo998711 ай бұрын
Thank you so much from Italy! My thesis can now progress. Your help is greatly appreciated.
@First.Last.992 жыл бұрын
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 ;)
@ycmgxekwa7 жыл бұрын
I got it working. I am not sure why arduino IDE wouldn't accept the library but anyhow it did in the end. I am happy now.
@yunabi436210 ай бұрын
how did you fix the problem
@Malaak_purloin10 ай бұрын
How do u fixe it ??
@xxintixx46387 ай бұрын
how did u fix it tho
@unkophil5 жыл бұрын
Dude...thank you so much!!!! I followed your instructions to the T and everything went well!
@thecrazykartbyAJ3 жыл бұрын
Thanks for the useful video! May I ask you, why between correct readings I receive this reading? 12:43:40.127 -> Temperature = -999.00 12:43:40.161 -> Humidity = -999.00
@Gargamilk3 жыл бұрын
you should just put the delay to 1500 and everything should be fine :D
@mnakooda4893 жыл бұрын
@@Gargamilk I receive the same error , I've put delay to 1500 and still the same thing
@arthurmorgan66423 жыл бұрын
Same :(
@yc17633 жыл бұрын
delay(2000) works for me.
@MrBobWareham5 жыл бұрын
Have joined your channel as I found your tutorial easy to follow and very helpful thank you Bob
@vinlawrence72598 жыл бұрын
Thank you for this demo
@jonathanflores37489 жыл бұрын
Thank you so much bro! i couldn't find my mistake and you helped me good video!!
@vedansh296 жыл бұрын
While using the LCD, you should use I2C module so that the connection becomes simple because we only need 4 pins (including VCC and GND)
@vedansh296 жыл бұрын
watch any video on on youtube for more convenience
@pari200996 жыл бұрын
Hi, I have selected the serial. When I see the serial output, I am getting the display as given below: emperature = -999.00 Humidity = -999.00 Temperature = -999.00 Humidity = -999.00 Temperature = -999.00 Humidity = -999.00 Temperature = -999.00 Humidity = -999.00 Temperature = -999.00 Humidity = -999.00 Temperature = -999.00 Humidity = -999.00 Temperature = -999.00 Humidity = -999.00 What went wrong ? Can you please help?
@klaasmuller96636 жыл бұрын
pari20099 Hi, you put the delay which is 1000 to 2000 then it will work
@shadahmed73106 жыл бұрын
i have also tried that but this isn't working i am getting the same response as-999.0
@CauseImYourFat6 жыл бұрын
@@shadahmed7310 he mean 1000to 2000 but not included 1000 and 2000 let's try 1500. or maybe the cable s damaged
@shadahmed73106 жыл бұрын
@@CauseImYourFat I know bro I tried it but later on I found out that there was an issue with my DHT11 Sensor . btw thanks for help.
@mambotrader6 жыл бұрын
Your code is wrong
@Un_Pour_Tous5 жыл бұрын
Some DHT11 has signal pin in middle and ground on left and VCC on right.
@amittandon79374 жыл бұрын
I have that too.
@sub09245 жыл бұрын
If you get the -999 error make sure you've connected the pins of the DHT11 right, some sensors have the + - and signal placed differently than the sensor used in the video.
@yasinr92335 жыл бұрын
or you can change the delay to 2000... I was having this issue but when I changed the delay to 2000 it stopped showing -999
@calmz95083 жыл бұрын
@@yasinr9233 OMG, thank you so much
@Andyruuuu4 жыл бұрын
thank you very much this worked perfect for me!
@kallumarrowsmith20466 жыл бұрын
Putting the delay to 2000 fixed this for me thank you
@topten70645 жыл бұрын
Really great, thank you very much
@thomasalexander15638 жыл бұрын
Nice video and article, Thank you..
@benjaminw23106 жыл бұрын
Values of the resistors?
@akifkhanafridi52234 жыл бұрын
thank you sir . it was helpful
@Szhd695 жыл бұрын
what resistors were used ?
@waynu17 жыл бұрын
very useful. your tutorials are fantastic. thanks for the codes on you website.
@jwang62227 жыл бұрын
Absolutely brilliant, thank you
@amirulhakim26765 жыл бұрын
Can I use arduino nano instead of uno
@stevegables33034 жыл бұрын
Yes
@monicarojasrestrepo21579 жыл бұрын
Hi! finally something I can understand! Sorry I'm a super beginner on electronics. I followed the steps but the "Serial Monitor" only shows "-999" value on both Temperature and Humidity. Do you know why?
@Circuitbasics8 жыл бұрын
Sounds like something may not be connected properly... Are you using the same pins I used in the video?
@madpenguin94028 жыл бұрын
+Mónica Rojas Restrepo You've prob done it now but yes you've got your dht wires wrong way round. Been playing myself and same thing - until I swapped the + and - around (it sure got hot at one point!)
@monicarojasrestrepo21578 жыл бұрын
+Mike Mo yes, it was that. thanks
@VolthausLabElectronics8 жыл бұрын
We all are beginners in the beginning. Live and learn! (i gotta get that tattooed on me someday)
@rimjhimkashi9957 жыл бұрын
how was the -999 problem solved...?
@chickenz46043 жыл бұрын
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
@prof1113 жыл бұрын
works fine for me using Uno with serial monitor. However, have yet to try out the LCD version. Bravo.
@pandakso33653 жыл бұрын
Can this work without the potentiometer?
@jasonc94955 жыл бұрын
In case anyone is wondering how to convert this to fahrenheit, you just change this line---- lcd.print(DHT.temperature * 1.8 + 32, 0);
@LNasterio4 жыл бұрын
why would anyone possibly want to convert it to none sense
@usamaafana86714 жыл бұрын
how many programs can you upload to the Ardiuno Uno card? if many, can you flip between two programs with a switch?
@achillesalbarico2532 Жыл бұрын
Hi,is it ok to use the SDA and SCL pins in the lcd?
@allanfranklinflanco35967 жыл бұрын
connected it correctly but prints -999 and my DHT11 melted,any solutions?
@rexpimplemyer38397 жыл бұрын
If you change the delay timing to 1500 or more it will allow the display to update less frequently. Not sure about the DHT11 melting, although my first time assembling it I thought "I" had it right but no display appeared. Turns out I had one of the "pot" wires in an empty hole. Moving it over it worked perfectly. I'm guessing you have the wires reversed for the DHT11 power connections.
@lexumi51616 жыл бұрын
i changed it to 5000 delay and it wont work
@Rizzan85 жыл бұрын
@@lexumi5161 Setting the delay to 1500 helped me with my -999 issue.
@dericktharp57965 жыл бұрын
Great video!.... do you have videos were you take it a few steps further? The Arduino reads the sensors values. A threshold is programmed to initiate a Digital out pin to energize a relay, in turn opening a water valve, and driving an actuator that opens a damper/ turning on a fan.?
@electronic79796 жыл бұрын
Excellent
@intravena5 жыл бұрын
Can I plug in multiple temperature sensors?
@misterman13714 жыл бұрын
yes..
@Hibcon6 жыл бұрын
yesss. this is exactly what i needed. but i will measure insidse a fridge so i need to go lower than 0 celcius degrees. as far as i can see dht11 supports only between 0-50. so i guess i'll be using dht22 right? will the code be the same for dht22? also the goal of my homework is to transfer the data to my computer wirelessly from the sensor. how can i do that? thank you.
@carlospineda12283 жыл бұрын
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.
@chanakyashukla58202 жыл бұрын
Bro to set up an LCD it is a little pain and patience, if you have JHD 162A. This quick tip can work flawlessly. After connecting all pins successfully, and make sure you soldered it right and your LCD is still alive; test it by powering it's last two 15,16 pins or first two 1,2 with 5v. Now if the lights but shows nothing on screen then we can began because pin 3 is alone responsible for displaying anything over it, until then your project will look useless though program must be running just fine. So, here what you do in the code create an integer value after including the LCD library and the Sensor's Library. eg. int Contrast=20; // keep it this much for good visibility, the more you increase this value your text will go more blurry. NOW! in the void setup() { analogWrite(6, Contrast); // here you used the pin 6 of Arduino board as a digital potentiometer. } * So what actually you did, you used the reverse technology. Instead of limiting the voltage via a potentiometer you are actually giving a controlled voltage via PWM pins of uC board. as you know PWM is a digital mimicry of natural Sin Wave. So we created an integer and set it's value later we analog write it and it works quite well. Make sure your connections are correct and you might need to reset the controller quite some time everytime the wired connections are loose. Hope it helps! Later!
@chanakyashukla58202 жыл бұрын
and yeah connect the PIN 3 of LCD to PIN 6 of Arduino. *MOST IMPORTANT STEP* my bad i forget to tell you this :D
@christophermartinez17696 жыл бұрын
That library version is not working well for me, insted i used version 1.2! :)
@RD-ni7qe4 жыл бұрын
Why does the temperature only display in 1 degree increments, can you make it display a more accurate reading like 26.48?
@dericktharp57963 жыл бұрын
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?
@ohok86152 жыл бұрын
where the lcd library sir?
@zaf665 жыл бұрын
Nice tutorial
@TeamDriftNationVideo8 жыл бұрын
my sensor just prints -999.00 for both temp and humidity. send help.
@baghdaddroid84177 жыл бұрын
mine also
@DiamondDogGoPewPew7 жыл бұрын
Make sure you use the right code should be under "DISPLAY HUMIDITY AND TEMPERATURE ON AN LCD"
@rukman487 жыл бұрын
give more delay. 2000 will be good. give more time gap to access the sensor.
@vijaybhandari96147 жыл бұрын
check ur connections + go for 5v and -ve go to ground and the left one go to pin
@donknowz7 жыл бұрын
change delay from 1000 to 2000 , it will solve your problem
@syedashah5903 жыл бұрын
Hi.... is there one sensor for both Temperature and humidity ??
@syedashah5903 жыл бұрын
Kindly guide me. Its urgent
@ghosteen1890 Жыл бұрын
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
@EntropyOfTime4 жыл бұрын
looking for a link to the code
@fazuraaaw70543 жыл бұрын
what if i want to power it by a battery what changes will be added to the board
@15Stratos3 жыл бұрын
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?
@skwid112 жыл бұрын
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
@bryanaguilazamora4222 жыл бұрын
What resistors were used for the LCD display? Thanks
@thapelo_mapeshoane Жыл бұрын
I don't really use any resistors for the LCD display.
@thapelo_mapeshoane Жыл бұрын
Oh sorry, I connect the 4k7 potentiometer on V0 pin
@Malphius1237 жыл бұрын
Can i ask where`s the potentiometer from the LCD video guide?
@AndikaPratama-vn6ft8 жыл бұрын
whats ardiano that you use? and where can i buy that lcd panel??
@Circuitbasics8 жыл бұрын
That's the Arduino Uno I'm using. You can get the lcd from amazon, sparkfun, or adafruit... Just search for 16x2 lcd...
@mouad8018 жыл бұрын
+Circuit Basics any lcd can work ? i have one with only 4 ports ( the lcd not the sensor)
@rickyllapa1006 жыл бұрын
How do we change the code to have it read in Fahrenheit?
@lilscent14 жыл бұрын
When I try to go to your website it says there is an error connecting to the database, I'm not sure if thats a problem on your end or mine but when I looked it up most things point to the service provider or owner of the website. Just thought I'd let you know. Thanks for the tutorial.
@wallaceshackleton18895 жыл бұрын
I am a bit confused, you seemed to have changed your web page (2.30 mins into the video) for this project as there is no library file to download from your link - it only goes to the Arduino Playground page with no obvious way forward or to download the .zip file
@NinoTZN-Mc Жыл бұрын
not working display a !
@club9productions104 жыл бұрын
How much long the wires could be between DHT11 and the arduino (max possible length of wire for accurate readings)??
@sammather98304 жыл бұрын
i keep getting an error where i get -999 and dont know how to fix it
@dogsniffing20224 жыл бұрын
same
@halleltagoe13762 жыл бұрын
Same
@siretanunicolai22392 жыл бұрын
Not same u baka
@radiamoon23953 жыл бұрын
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.
@ericmb12217 жыл бұрын
Hi Guys, you have to change the delay, just put it in 2000ms. it will work!
@mouniduddu16485 жыл бұрын
THANK YOU SOOO....MUCH
@makramgemayel83967 жыл бұрын
my board its uno when i put to upload the program on my arduino i get error compiling for arduino uno genuino .so pls where is the problem thanks
@thecrazykartbyAJ3 жыл бұрын
check that the code is exactly the same as the one showed in this video, and also that the zip library uploaded is also the one that is being used in this video. Regards!
@jopoitras6 жыл бұрын
Hi I would like to know if the humidity sensor would be able to withstand a very humid airflow (95%) for at least 1 hrs ??
@Noah-ek8hp4 жыл бұрын
it will, just make sure it does not get soaked
@hakanerenbilgin48323 жыл бұрын
Hello. I need a block diagram of this project. Can you help me?
@yprastyo338 жыл бұрын
how about if temperature above 100 degree celcius ?
@frankl19555 жыл бұрын
Can this be used to read in Fahrenheit (°F) ?
@polishhammer19925 жыл бұрын
I'd imagine in the code you can add a formula to change the output reading into fahrenheit.
@polishhammer19925 жыл бұрын
I'd imagine in the code you can add a formula to change the output reading into fahrenheit.
@frankl19555 жыл бұрын
Thanks, I have since figured it out. Celsius really means nothing to me and all the example sketches did Celsius.
@syedsumairhussain47426 жыл бұрын
can you tell me the name of things that i require to first buy and then build it
@abdessamadsalhi61375 жыл бұрын
Hi I have a problem about the humidity it shows me like this Temperature = 32 Humidity = 9.00 Temperature =32 Humidity =9.00 Temperature = 32 Humidity = 9.00 Temperature = 32 Humidity =9.00 Can you tell me please what i should do
@michaelzarnowski32985 жыл бұрын
Does anyone know of a way to port all the recorded information into an excel sheet or anything like that?
@dreamaremedia73785 жыл бұрын
Hi, how do you modify the code to use two DH11 sensors? I am working on a greenhouse project that involves using two sensors. thanks
@ihsanbu4 жыл бұрын
Define as Dh11_1 Dh11_2
@yofatim1234 жыл бұрын
Hello, I tried your scetch. Well done, however I get -999 values for both temperature and humidity, then I get the normal values, and then back again -999. What could be the reason?
@phanikathu65273 жыл бұрын
Same for me. I'm not sure if the problem is with the library installed or the code.
@marcybtw59712 жыл бұрын
imposta 1500 come delay e si risolve
@vanillabeige90283 жыл бұрын
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?
@taipheng46213 жыл бұрын
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.
@beningledew20023 жыл бұрын
your dht11 might be backwards happened to me first time too, as for the -999 issue, try setting the delay to 2000 instead of 1ooo. hope this helped, ben
@sivavemasani55035 жыл бұрын
I have to a potentiometer to it How to connect that this
@fpt3806 жыл бұрын
Hello . Thank you for your wonderful explanation. I have a question: Are the sensors like LM35 and DH11-22 accurate and reliable? Are it need to calibrate? thank you
@FAREEDSOLIMAN6 жыл бұрын
what is the type of resistor used for lcd ??
@ghebycloch84596 жыл бұрын
I used 1k
@harleensharma91576 жыл бұрын
mine still says -999 for all. tried everything. PLEASE HELP!!!
@sureshangadi4016 жыл бұрын
sensor not working replace ut
@yiannikir96745 жыл бұрын
just tried it, it would have the accurate reading then switch to -999 after one second, to fix this change the delay at the bottom to 5000, incase you didnt know 1000= 1 second.
@crimsonhero66834 жыл бұрын
@@yiannikir9674 Many thanks brother, that fixed it for me, but id like to know why does that work?
@yiannikir96744 жыл бұрын
@@crimsonhero6683 The sensor probably cant read the temp/ humidity in 1 second, so if you put it at 5000(5 seconds) it probably gives it time to do its thing. If his sensor worked, its probably an expensive one.
@dijatech4 жыл бұрын
good job
@patatas70363 жыл бұрын
Thanks man
@samuelbeech93386 жыл бұрын
if it is not working try checking if it is in pin 7 or if it is on 9200 on the serial monitor and if it does work, but it has 999 in the middle then put the delay to 2000
@LNasterio4 жыл бұрын
datasheet said it provides a 40bit data with decimal on Humidity and Temperature, how come the sensor only ever displays whole number?
@patschannel95134 жыл бұрын
still using this vid in 2021! lol!
@maxmattsson003 жыл бұрын
Why do we connect the sensor to a digital pin? Dont we have an analog signal from the sensor? Im confused
@rapunzeleh5465 жыл бұрын
if i want to use the output of the dht11 to turn on a 5v fan, what is the wiring? i had it working with a mosfet and a 12v, but i want to eliminate any extra components. just on and off based on humidity, don't need speed control.
@EnriqueHernandez-rj5lh2 жыл бұрын
gracias
@BDR_Memphis3 жыл бұрын
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
@shahriarsajal95494 жыл бұрын
Thanks
@garybuskirk95217 жыл бұрын
do you know how to switch it to ferinheight? A lot of videos on youtube are in celcius...
@sMaShEdToMaToS7 жыл бұрын
you could just multiply the Celsius temperature by 1.8 and then add 32 and that gives you F
@rexpimplemyer38397 жыл бұрын
Yes, skyfox66 commented @ the website to include the following three lines under the Celsius lines: lcd.print(DHT.temperature * 1.8 + 32); //Fahrenheit conversion lcd.print((char)223); lcd.print("F"); You could actually replace the Celsius lines with these and it will work fine. It worked for mine. Although when I copied and pasted it I got an error until I realized the font style of the quotes was different. Once I "typed" them in and increased the delay timing (so the -999's would disappear) it worked fine.
@samyukta4369 Жыл бұрын
We're getting zero for both values...what to do??
@roystervi8 жыл бұрын
Question....The dhtt22 working great so somewhat...they are about 10 to 20ft away and I tested voltage. the voltage on the far one is 4.9v. one problem I am having is that sometimes the the temp drop from 70 degrees to 51.1 degrees. is there a way to correct this problem?
@nvanyttig2038 жыл бұрын
Can I send this data to a MySQL database?
@theolevin7 жыл бұрын
found this for a raspberry pi: raspberryweather.com skip around a bit
@krishnas25764 жыл бұрын
how can send the collected datas to my mobile or bluetooth device or any I2C module interface something like that?!
@manuelnita56263 жыл бұрын
Hello, how can I use these data and make a excel graphics in real time?
@Daniel-ej8ll3 жыл бұрын
This might be a bit late but if you're still wondering Arduino can't do that you would need a Rasberry Pi
@manuelnita56263 жыл бұрын
@@Daniel-ej8ll thanks for the the answer Daniel
@pianotutorialandniceview44118 жыл бұрын
Hello.. I got a task from my advisor to make a relation grafik temperature and voltage and a relation grafik relative Humidity and voltage use DHT11 sensor of arduino, but I don’t know the way. How to show temperature, relative humidity and voltage simultaneously. It’s can be shown simultaneously?
@aniqzharif44046 жыл бұрын
hi...i followed all the steps...and its working fine...but...its display the temperature 47 degree celcius...are the program problem or my sensor faulty???
@HemanthKumar-hf5ee6 жыл бұрын
Hello mam can u send me the pic of all ur connections . And also can u say how to make connections to lcd.
@baghdaddroid84177 жыл бұрын
How to connect it to the LCD plz
@ashfaqhasanshakil83726 жыл бұрын
Hi sir! How will I set temperature and humidity by using push button? Please help me. Thanks in advance.