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

Поділитися
Вставка
  • Опубліковано 8 вер 2024
  • How to Set Up the DHT11 Humidity and Temperature Sensor on an Arduino
    This video will show you how to set up the DHT11 humidity and temperature sensor on your Arduino. I talk a little about how the humidity sensor works, and how to set it up to output readings to the Arduino serial monitor or a 16x2 LCD display. Then I show you how to modify the program to output Celsius or Fahrenheit. Leave a comment if you need help!
    Get a DHT11 here: www.amazon.com...
    The example code and more details about this project can be found in the article at: www.circuitbas...
    Check out the Circuit Basics blog for articles and tutorials on the Raspberry Pi, Arduino and other DIY electronic projects! www.circuitbas...
    Facebook: / circuitbasic
    Twitter: / circuitbasics
    Instagram: / circuitbasics

КОМЕНТАРІ • 317

  • @trontty
    @trontty 3 роки тому +60

    Finally a tutorial that works. You would not believe how many I have gone through.

    • @hailiu1721
      @hailiu1721 3 роки тому +1

      @BaconMasterT_YT you should check out BV3D, they have great tutorials, too. :)

    • @Noah-ek8hp
      @Noah-ek8hp 3 роки тому +1

      I've went through at least 10 different ones

  • @vedansh29
    @vedansh29 5 років тому +9

    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)

    • @vedansh29
      @vedansh29 5 років тому +3

      watch any video on on youtube for more convenience

  • @gold3ngam3s84
    @gold3ngam3s84 3 роки тому +6

    this is literally the only video on youtube that has the download to the needed library, liked :D

  • @First.Last.99
    @First.Last.99 2 роки тому +1

    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 ;)

  • @minifigjake
    @minifigjake 7 років тому +5

    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.

  • @ycmgxekwa
    @ycmgxekwa 7 років тому +2

    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.

  • @sinaiyema-osango5736
    @sinaiyema-osango5736 2 роки тому

    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 :)

  • @Hex-Mas
    @Hex-Mas 5 років тому +6

    Some DHT11 has signal pin in middle and ground on left and VCC on right.

  • @mattiasollo9987
    @mattiasollo9987 7 місяців тому

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

  • @jasonc9495
    @jasonc9495 5 років тому +8

    In case anyone is wondering how to convert this to fahrenheit, you just change this line---- lcd.print(DHT.temperature * 1.8 + 32, 0);

    • @LNasterio
      @LNasterio 3 роки тому +1

      why would anyone possibly want to convert it to none sense

  • @pari20099
    @pari20099 6 років тому +18

    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?

    • @klaasmuller9663
      @klaasmuller9663 6 років тому +5

      pari20099 Hi, you put the delay which is 1000 to 2000 then it will work

    • @shadahmed7310
      @shadahmed7310 5 років тому +3

      i have also tried that but this isn't working i am getting the same response as-999.0

    • @CauseImYourFat
      @CauseImYourFat 5 років тому

      @@shadahmed7310 he mean 1000to 2000 but not included 1000 and 2000
      let's try 1500. or maybe the cable s damaged

    • @shadahmed7310
      @shadahmed7310 5 років тому +1

      @@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.

    • @mambotrader
      @mambotrader 5 років тому

      Your code is wrong

  • @kallumarrowsmith2046
    @kallumarrowsmith2046 5 років тому

    Putting the delay to 2000 fixed this for me thank you

  • @prof111
    @prof111 3 роки тому

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

  • @carlospineda1228
    @carlospineda1228 2 роки тому +1

    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.

    • @chanakyashukla5820
      @chanakyashukla5820 2 роки тому

      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!

    • @chanakyashukla5820
      @chanakyashukla5820 2 роки тому

      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

  • @sub0924
    @sub0924 5 років тому +2

    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.

    • @yasinr9233
      @yasinr9233 5 років тому

      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

    • @calmz9508
      @calmz9508 2 роки тому +1

      @@yasinr9233 OMG, thank you so much

  • @unkophil
    @unkophil 4 роки тому +3

    Dude...thank you so much!!!! I followed your instructions to the T and everything went well!

  • @skwid11
    @skwid11 2 роки тому +1

    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

  • @christophermartinez1769
    @christophermartinez1769 5 років тому +6

    That library version is not working well for me, insted i used version 1.2! :)

  • @thecrazykartbyAJ
    @thecrazykartbyAJ 3 роки тому +3

    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

    • @Gargamilk
      @Gargamilk 3 роки тому +3

      you should just put the delay to 1500 and everything should be fine :D

    • @mnakooda489
      @mnakooda489 3 роки тому

      @@Gargamilk I receive the same error , I've put delay to 1500 and still the same thing

    • @arthurmorgan6642
      @arthurmorgan6642 2 роки тому

      Same :(

    • @yc1763
      @yc1763 2 роки тому

      delay(2000) works for me.

  • @samuelbeech9338
    @samuelbeech9338 5 років тому

    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

  • @jonathanflores3748
    @jonathanflores3748 8 років тому +1

    Thank you so much bro! i couldn't find my mistake and you helped me good video!!

  • @allanfranklinflanco3596
    @allanfranklinflanco3596 7 років тому +9

    connected it correctly but prints -999 and my DHT11 melted,any solutions?

    • @rexpimplemyer3839
      @rexpimplemyer3839 6 років тому +1

      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.

    • @lexumi5161
      @lexumi5161 6 років тому

      i changed it to 5000 delay and it wont work

    • @Rizzan8
      @Rizzan8 4 роки тому +1

      @@lexumi5161 Setting the delay to 1500 helped me with my -999 issue.

  • @vinlawrence7259
    @vinlawrence7259 7 років тому +3

    Thank you for this demo

  • @monicarojasrestrepo2157
    @monicarojasrestrepo2157 8 років тому +5

    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?

    • @Circuitbasics
      @Circuitbasics  8 років тому

      Sounds like something may not be connected properly... Are you using the same pins I used in the video?

    • @madpenguin9402
      @madpenguin9402 8 років тому +1

      +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!)

    • @monicarojasrestrepo2157
      @monicarojasrestrepo2157 8 років тому

      +Mike Mo yes, it was that. thanks

    • @VolthausLabElectronics
      @VolthausLabElectronics 8 років тому +1

      We all are beginners in the beginning. Live and learn! (i gotta get that tattooed on me someday)

    • @rimjhimkashi995
      @rimjhimkashi995 6 років тому +1

      how was the -999 problem solved...?

  • @RD-ni7qe
    @RD-ni7qe 3 роки тому +1

    Why does the temperature only display in 1 degree increments, can you make it display a more accurate reading like 26.48?

  • @MrBobWareham
    @MrBobWareham 5 років тому +3

    Have joined your channel as I found your tutorial easy to follow and very helpful thank you Bob

  • @abdessamadsalhi6137
    @abdessamadsalhi6137 5 років тому +1

    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

  • @aaronphillips7626
    @aaronphillips7626 5 років тому +1

    I have the same exact build, same code, and good readings. However, I am having trouble trying to convert Celsius to Fahrenheit. I know the formula for conversion is ((C*1.8)+32), but I having difficulty where in my code I need to place this. Any help would be appreciated.

  • @makramgemayel8396
    @makramgemayel8396 7 років тому +4

    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

    • @thecrazykartbyAJ
      @thecrazykartbyAJ 3 роки тому

      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!

  • @Hibcon
    @Hibcon 6 років тому +1

    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.

  • @TeamDriftNationVideo
    @TeamDriftNationVideo 7 років тому +22

    my sensor just prints -999.00 for both temp and humidity. send help.

    • @baghdaddroid8417
      @baghdaddroid8417 7 років тому +2

      mine also

    • @DiamondDogGoPewPew
      @DiamondDogGoPewPew 6 років тому +1

      Make sure you use the right code should be under "DISPLAY HUMIDITY AND TEMPERATURE ON AN LCD"

    • @rukman48
      @rukman48 6 років тому +12

      give more delay. 2000 will be good. give more time gap to access the sensor.

    • @vijaybhandari9614
      @vijaybhandari9614 6 років тому +3

      check ur connections
      + go for 5v and -ve go to ground and the left one go to pin

    • @donknowz
      @donknowz 6 років тому +8

      change delay from 1000 to 2000 , it will solve your problem

  • @amirulhakim2676
    @amirulhakim2676 5 років тому +5

    Can I use arduino nano instead of uno

  • @benjaminw2310
    @benjaminw2310 5 років тому +4

    Values of the resistors?

  • @topten7064
    @topten7064 5 років тому +1

    Really great, thank you very much

  • @Andyruuuu
    @Andyruuuu 3 роки тому

    thank you very much this worked perfect for me!

  • @dericktharp5796
    @dericktharp5796 5 років тому

    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.?

  • @thomasalexander1563
    @thomasalexander1563 7 років тому +1

    Nice video and article,
    Thank you..

  • @akifkhanafridi5223
    @akifkhanafridi5223 4 роки тому

    thank you sir . it was helpful

  • @jonahsandersgaminglive7822
    @jonahsandersgaminglive7822 3 роки тому

    Yes it is

  • @tech-edu4484
    @tech-edu4484 3 роки тому

    Nice Tutorial

  • @ericmb1221
    @ericmb1221 6 років тому

    Hi Guys, you have to change the delay, just put it in 2000ms. it will work!

  • @michaelzarnowski3298
    @michaelzarnowski3298 4 роки тому +1

    Does anyone know of a way to port all the recorded information into an excel sheet or anything like that?

  • @dericktharp5796
    @dericktharp5796 3 роки тому

    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?

  • @chickenz4604
    @chickenz4604 3 роки тому

    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

  • @ElectroMentor
    @ElectroMentor 3 роки тому

    Dude really helpful thank you 👍🙂

  • @waynu1
    @waynu1 7 років тому +1

    very useful.
    your tutorials are fantastic.
    thanks for the codes on you website.

  • @yprastyo33
    @yprastyo33 7 років тому +1

    how about if temperature above 100 degree celcius ?

  • @radiamoon2395
    @radiamoon2395 2 роки тому

    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.

  • @wallaceshackleton1889
    @wallaceshackleton1889 4 роки тому

    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

  • @club9productions10
    @club9productions10 3 роки тому

    How much long the wires could be between DHT11 and the arduino (max possible length of wire for accurate readings)??

  • @Szhd69
    @Szhd69 5 років тому +1

    what resistors were used ?

  • @jwang6222
    @jwang6222 7 років тому

    Absolutely brilliant, thank you

  • @ghosteen1890
    @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

  • @BasharatAli-xs7mm
    @BasharatAli-xs7mm 2 роки тому

    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

  • @15Stratos
    @15Stratos 3 роки тому

    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?

  • @sivavemasani5503
    @sivavemasani5503 5 років тому +1

    I have to a potentiometer to it
    How to connect that this

  • @jopoitras
    @jopoitras 5 років тому +1

    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-ek8hp
      @Noah-ek8hp 4 роки тому

      it will, just make sure it does not get soaked

  • @vanillabeige9028
    @vanillabeige9028 3 роки тому

    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?

  • @maxmattsson00
    @maxmattsson00 3 роки тому

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

  • @pari20099
    @pari20099 6 років тому +1

    Hi, I have tried to run this example with the similar setup as given in the video. But I am getting this error message. Arduino: 1.8.7 (Windows Store 1.8.15.0) (Windows 10), Board: "Arduino/Genuino Uno"
    Sketch uses 4300 bytes (13%) of program storage space. Maximum is 32256 bytes.
    Global variables use 239 bytes (11%) of dynamic memory, leaving 1809 bytes for local variables. Maximum is 2048 bytes.
    Please select a Port before Upload
    Can you please help?

    • @ZirJohn
      @ZirJohn 5 років тому

      Tools > Port > choose whatever board you have

  • @drewxavier6910
    @drewxavier6910 4 роки тому

    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.

  • @taipheng4621
    @taipheng4621 2 роки тому

    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.

    • @beningledew2002
      @beningledew2002 2 роки тому

      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

  • @LNasterio
    @LNasterio 3 роки тому

    datasheet said it provides a 40bit data with decimal on Humidity and Temperature, how come the sensor only ever displays whole number?

  • @rapunzeleh546
    @rapunzeleh546 5 років тому

    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.

  • @patatas7036
    @patatas7036 2 роки тому

    Thanks man

  • @ashfaqhasanshakil8372
    @ashfaqhasanshakil8372 5 років тому

    Hi sir!
    How will I set temperature and humidity by using push button? Please help me.
    Thanks in advance.

  • @roystervi
    @roystervi 7 років тому

    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?

  • @krishnas2576
    @krishnas2576 4 роки тому

    how can send the collected datas to my mobile or bluetooth device or any I2C module interface something like that?!

  • @sammather9830
    @sammather9830 3 роки тому +6

    i keep getting an error where i get -999 and dont know how to fix it

  • @usamaafana8671
    @usamaafana8671 3 роки тому

    how many programs can you upload to the Ardiuno Uno card? if many, can you flip between two programs with a switch?

  • @harleensharma9157
    @harleensharma9157 6 років тому +4

    mine still says -999 for all. tried everything. PLEASE HELP!!!

    • @sureshangadi401
      @sureshangadi401 6 років тому

      sensor not working replace ut

    • @yiannikir9674
      @yiannikir9674 4 роки тому +2

      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.

    • @crimsonhero6683
      @crimsonhero6683 4 роки тому

      @@yiannikir9674 Many thanks brother, that fixed it for me, but id like to know why does that work?

    • @yiannikir9674
      @yiannikir9674 4 роки тому

      @@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.

  • @fpt380
    @fpt380 6 років тому +1

    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

  • @pianotutorialandniceview4411
    @pianotutorialandniceview4411 7 років тому

    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?

  • @sureshangadi401
    @sureshangadi401 6 років тому

    DGT 11,how to save data in Microsoft Office Excel Worksheet? plz help me

  • @fazuraaaw7054
    @fazuraaaw7054 2 роки тому

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

  • @electronic7979
    @electronic7979 6 років тому

    Excellent

  • @samyukta4369
    @samyukta4369 Рік тому

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

  • @pari20099
    @pari20099 6 років тому

    My connections are as per the video, properly given.but I don't y it is showing 999 for humidity and temperature...

  • @guppypvp9582
    @guppypvp9582 Рік тому

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

  • @dijatech
    @dijatech 3 роки тому

    good job

  • @patschannel9513
    @patschannel9513 3 роки тому

    still using this vid in 2021! lol!

  • @Malphius123
    @Malphius123 7 років тому

    Can i ask where`s the potentiometer from the LCD video guide?

  • @achillesalbarico2532
    @achillesalbarico2532 Рік тому

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

  • @Eric.Poirier.
    @Eric.Poirier. 5 років тому

    I want to put a better delay like 200 or 400 but i keep getting this -999.0 is that because the sensor is too cheap ? I that because de arduino cant calculate this fast ?

  • @hakanerenbilgin4832
    @hakanerenbilgin4832 3 роки тому

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

  • @mangeshkumar153
    @mangeshkumar153 5 років тому

    having a problem it says that Arduino: 1.8.6 (Windows 7), Board: "Arduino/Genuino Uno"
    sketch_aug11a:1:17: error: dht.h: No such file or directory
    compilation terminated.
    exit status 1
    dht.h: No such file or directory
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.
    please help

  • @yrecious
    @yrecious 7 років тому

    how can i output the average readings from DHT11 using Arduino uno

  • @madang_heenak
    @madang_heenak 3 роки тому

    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

  • @realtalk5453
    @realtalk5453 4 роки тому

    the readings are backwards...the DHT11 is only able to read humidity above 20% so it cant go below that but temp goes from 0 - 50 deg C thats why the humidity(really temp) is moving so much not because of wet paper towel but the heat from your finger and if you hold your finger there long enough the humidity(temp) reading will go all the way to bout 49 deg C before stopping because thats the temp reading really

  • @jasonnation6615
    @jasonnation6615 2 роки тому

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

  • @syedsumairhussain4742
    @syedsumairhussain4742 5 років тому

    can you tell me the name of things that i require to first buy and then build it

  • @mouniduddu1648
    @mouniduddu1648 5 років тому

    THANK YOU SOOO....MUCH

  • @BDR_Memphis
    @BDR_Memphis 3 роки тому

    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

  • @hailiu1721
    @hailiu1721 3 роки тому

    I love the website you build, it is helpful. But, when I put in the code, it says there is an error. So, I had to type it down. :(

  • @saadwaheed465
    @saadwaheed465 Рік тому

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

  • @Ahmadnaweed786
    @Ahmadnaweed786 7 років тому +1

    not compiling.
    exit status 1
    Error compiling for board Arduino Due (Programming Port).

    • @LionelTellem
      @LionelTellem 7 років тому

      Go to Tools --> Port then check it is on your port

  • @EnriqueHernandez-rj5lh
    @EnriqueHernandez-rj5lh 2 роки тому

    gracias

  • @intravena
    @intravena 4 роки тому +1

    Can I plug in multiple temperature sensors?

  • @jyotishsarma1208
    @jyotishsarma1208 6 років тому

    i am facing some problem during upload. previous program was blink example( in that board )
    " Arduino: 1.8.6 Hourly Build 2018/01/03 03:33 (Windows 8.1), Board: "Arduino/Genuino Uno"
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xd9
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xd9
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xd9
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xd9
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xd9
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xd9
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xd9
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xd9
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xd9
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xd9
    Problem uploading to board. See www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions. ''
    please help me

    • @saurabhdusane2165
      @saurabhdusane2165 5 років тому

      Out of Sync Issue is because your Arduino is corrupt.
      Please visit the link and follow my tutorial to get your Arduino working.
      ua-cam.com/video/xx-tAMY4qxs/v-deo.html

  • @dreamaremedia7378
    @dreamaremedia7378 5 років тому

    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

    • @ihsanbu
      @ihsanbu 3 роки тому

      Define as Dh11_1
      Dh11_2