DHT11 and DHT22 Sensor Using with Arduino

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ม.ค. 2017
  • In this tutorial we will learn how to use the DHT11 or the DHT22 sensor for measuring temperature and humidity. And we will see the value output of the DHT sensors on both the serial monitor and the LCD screen.The LCD screen component is optional. With this tutorial you can also print on a serial monitor. Code and circuit diagram are compatible within both sensors.
    Required Hardware:
    Arduino Board :
    goo.gl/Rqc5w2
    amzn.to/2LZr6t4
    DHT11:
    goo.gl/n9qv8K
    amzn.to/39qXnC6
    DHT22:
    goo.gl/W5Qo9p
    amzn.to/31tNK13
    LCD Display:
    goo.gl/SxH8Jx
    amzn.to/3bbBgzu
    Potentiometer:
    goo.gl/MPwcEM
    amzn.to/3dlgYq1
    Breadboard :
    goo.gl/GjpqVW
    amzn.to/3qxLxwm
    Jumper Wires
    amzn.to/3doetmT
    Recommended Items:
    Use Your Muscles in Project - amzn.to/3wdL45C
    37 Sensor & Module Packages - amzn.to/3m66WeQ
    Try this Robot Arm - amzn.to/3fq8DCl
    Best Resin 3D Printer - amzn.to/39tY8KB
    Arduino Compatible Kits - bit.ly/2J2AFF7
    Banggood Spring Sale - bit.ly/3slMbOn
    The DHT sensors have four pins, VCC, GND, data pin and a not connected pin which has no usage.
    From left to right:
    1 - VCC (5V)
    2 - Signal
    3 - NC Not connected
    4 - GND
    DHT Sensors Library:
    playground.arduino.cc/Main/DHTLib
    Download Source Code: create.arduino.cc/editor/mert...
    Social Media:
    / mertarduino
    / mertarduino
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 54

  • @maker101io
    @maker101io  3 ปีที่แล้ว

    Source Code: create.arduino.cc/editor/mertarduinotech/37dd464f-49b6-45ab-8f90-09915ea3b144/preview
    Recommended Items:
    Use Your Muscles in Project - amzn.to/3wdL45C​
    37 Sensor & Module Packages - amzn.to/3m66WeQ​
    Try this Robot Arm - amzn.to/3fq8DCl​
    Best Resin 3D Printer - amzn.to/39tY8KB​
    Arduino Compatible Kits - bit.ly/2J2AFF7​
    Banggood Spring Sale - bit.ly/3slMbOn​

  • @sayantanmaiti2513
    @sayantanmaiti2513 7 ปีที่แล้ว

    thanks Mr.Mert ,previously I have problems with this module, your video fixed it

  • @maanikyam1576
    @maanikyam1576 6 ปีที่แล้ว +1

    Thank you so much. Your project helped me a lot. Keep doing Various Arduino based projects. :)

  • @yem7446
    @yem7446 4 ปีที่แล้ว +5

    Hello,
    that it a error message : "no matching function call to 'DHT::DHT()'

  • @rolasmat
    @rolasmat 7 ปีที่แล้ว

    Me gusto mucho el vídeo, Saludos desde México

  • @RochdaleBlue
    @RochdaleBlue 6 ปีที่แล้ว

    Great tutorial any chance of a follow up showing how to add a fan controlled by this setup?

  • @fpt380
    @fpt380 5 ปีที่แล้ว

    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

  • @ahmedsaman3070
    @ahmedsaman3070 7 ปีที่แล้ว

    ❤️❤️❤️❤️good work ❤️❤️

  • @joshuatimothy4236
    @joshuatimothy4236 6 ปีที่แล้ว

    wow it's very helpfull thanks, btw what app do u use to draw that chart ?

  • @harishrajamani4922
    @harishrajamani4922 6 ปีที่แล้ว

    do we have any other better product for accurate than dht 22 for audrino uno?

  • @nighthawK246
    @nighthawK246 6 ปีที่แล้ว

    brocum lcd ekrandan o pinleri hangi aparatla aldın bi söylersen

  • @redahamrani7282
    @redahamrani7282 6 ปีที่แล้ว

    thx for all your videos they helped me i lot and wanna ask for help "how can i send data sensor's to excel "

  •  7 ปีที่แล้ว

    Hello,
    I am having a problem with my setup: I have connected a DHT11 to an Arduino Nano (properly, I think, resistor included. It actually worked the first day, so...). Anyway, I am getting zero values of temperature and humidity, no matter which library I use. The sensor is detected correctly, but the data is always zero. As I said, it worked the first day I tried, using Arduino's DHT example. Not any more. I don't think I have changed any library version. I tried with previous ones and it doesn't work either.
    Can anyone help? Thank you!

  • @yudinugroho3325
    @yudinugroho3325 7 ปีที่แล้ว

    mantap tambah ilmu

  • @12x12
    @12x12 6 ปีที่แล้ว

    Any idea how to get it to show Fahrenheit on the LCD?

  • @cordellbrooks6365
    @cordellbrooks6365 7 ปีที่แล้ว

    May you give me an example for a touch screen display, if you have time?

  • @koraybakar6233
    @koraybakar6233 6 ปีที่แล้ว

    1.sorum direnç değeri nedir okuyamadım
    2.sorum program internette yazdigin source codu ise ekranda tek çizgi çıkıyor

  • @adnanahmedsiddiqui2189
    @adnanahmedsiddiqui2189 6 ปีที่แล้ว

    Very helpful video. I want to know 1 thing that, if i want to glow an LED when temperature goes above than 40 degree. Can you please send me the code for it?

  • @method9706
    @method9706 6 ปีที่แล้ว

    what software do you use for diagrams?

  • @priyarajchanda
    @priyarajchanda 4 ปีที่แล้ว

    Where did you create the fritzing diagram?

  • @sohamshah7638
    @sohamshah7638 4 ปีที่แล้ว

    why does the data line need to be high? doesnt the module already get the power supply from the +5V pin?

  • @srikrishnaagrawal3382
    @srikrishnaagrawal3382 5 ปีที่แล้ว

    can u pls make a video using i2c and lcd and dth11 pls

  • @adityasidham1812
    @adityasidham1812 7 ปีที่แล้ว

    nice

  • @peterzhang2102
    @peterzhang2102 4 ปีที่แล้ว

    fantastic

  • @kumak9890
    @kumak9890 6 ปีที่แล้ว

    Can you create tutorial for temperature alarm?

  • @fatih3841
    @fatih3841 6 ปีที่แล้ว +1

    Abi direnç değerini yazabilirmisin

  • @koraybakar6233
    @koraybakar6233 6 ปีที่แล้ว

    Üstadım çok güzel bir çalışma olmuş sorum olacaktı

  • @uijjuughuggyu2404
    @uijjuughuggyu2404 6 ปีที่แล้ว

    what is the value of the resistor that have been used on the DHT11

  • @ojastheai
    @ojastheai 4 ปีที่แล้ว

    And please this
    DHT11:14:24: error: no matching function for call to 'DHT::DHT(int, const char [6])'

  • @ojastheai
    @ojastheai 4 ปีที่แล้ว +1

    Can you please help!!!!!
    Error saying - "DHT11 is not declared in the scope"
    Your efforts will be highly appreciated

  • @alizasmajljaj5452
    @alizasmajljaj5452 6 ปีที่แล้ว

    HOW CAN I FIND THE DHT11 SENSORS IN TINKERCAD?

  • @prashantneopane1844
    @prashantneopane1844 7 ปีที่แล้ว

    my lcd shows -999 for both the value. Whats wrong with it? i have already checked the connections. Can you help ?
    thank you

    • @garybuskirk9521
      @garybuskirk9521 7 ปีที่แล้ว +1

      copy and paste "How to Set Up the DHT11 Humidity Sensor on the arduino" in your search and try Circuit Basics video and pin out, and sketch.

  • @md.robinmridha2350
    @md.robinmridha2350 6 ปีที่แล้ว

    i have a problem.....lcd display not showing in this value......why

  • @felixcapel1893
    @felixcapel1893 6 ปีที่แล้ว

    Every other time it shows -999 instead of temperature. What should I do?

  • @NbaLoveTurkiye
    @NbaLoveTurkiye 5 ปีที่แล้ว

    Source Code paylaşır mısnız

  • @mahmoodshanaah6973
    @mahmoodshanaah6973 5 ปีที่แล้ว

    Thanks so much I was so frustrated how to download this library thanks

  • @cordellbrooks6365
    @cordellbrooks6365 7 ปีที่แล้ว

    On the back of my LCD there is 4 pins GND, VCC, SDA, and SCL. do i just use the pins you showed in the video.

    • @peterwilhelmsson4168
      @peterwilhelmsson4168 6 ปีที่แล้ว

      No. What you have is an "I2C"-interface on your LCD. Google it for info on how to connect and use it.

  • @AlexanderVeith
    @AlexanderVeith 4 ปีที่แล้ว

    schade das der Link nicht funktioniert...

  • @just4making102
    @just4making102 7 ปีที่แล้ว

    😊

  • @MrDarkness331
    @MrDarkness331 7 ปีที่แล้ว

    Why this library doesnt work? i tryed like 2 weeks to run stupid humidity and temperature sensor and i am frustrated... No example works and i cant compile anything... please help... its like this library doest have any of these functions i tryed to find it on github but nothing... no trace of these funcions. and i am not the only one...

    • @MrDarkness331
      @MrDarkness331 7 ปีที่แล้ว

      here is the error from example:
      Arduino: 1.6.12 (Windows 10), Vývojová doska:"Arduino/Genuino Uno"
      C:\Users\Majo\AppData\Local\Temp\ccNUwVrb.ltrans0.ltrans.o: In function `global constructors keyed to 65535_0_DHTtester.ino.cpp.o.1731':
      ccNUwVrb.ltrans0.o:(.text.startup+0x62): undefined reference to `DHT::DHT(unsigned char, unsigned char, unsigned char)'
      C:\Users\Majo\AppData\Local\Temp\ccNUwVrb.ltrans0.ltrans.o: In function `main':
      ccNUwVrb.ltrans0.o:(.text.startup+0x176): undefined reference to `DHT::begin()'
      ccNUwVrb.ltrans0.o:(.text.startup+0x1ce): undefined reference to `DHT::readHumidity(bool)'
      ccNUwVrb.ltrans0.o:(.text.startup+0x1de): undefined reference to `DHT::readTemperature(bool, bool)'
      ccNUwVrb.ltrans0.o:(.text.startup+0x1f2): undefined reference to `DHT::readTemperature(bool, bool)'
      ccNUwVrb.ltrans0.o:(.text.startup+0x244): undefined reference to `DHT::computeHeatIndex(float, float, bool)'
      ccNUwVrb.ltrans0.o:(.text.startup+0x262): undefined reference to `DHT::computeHeatIndex(float, float, bool)'
      collect2.exe: error: ld returned 1 exit status
      exit status 1

    • @MrDarkness331
      @MrDarkness331 7 ปีที่แล้ว

      i tryed SimpleDHT library but its just for DHT11 but it works...

  • @myazemmour9843
    @myazemmour9843 7 ปีที่แล้ว

    first comment :D

  • @splashillustrations3181
    @splashillustrations3181 7 ปีที่แล้ว

    Can you please do an RFID tutorial

  • @Sametbesik
    @Sametbesik 6 ปีที่แล้ว

    kardeşim neden türkçe kaynak yapmıyorsun hem iyi bir kaynak olurdu ha illa yabancı da yapmak istersen ing alt yazı koyarsın

  • @nasergrshi7854
    @nasergrshi7854 5 ปีที่แล้ว

    plaese code DHT22 Sensor Using with Arduino with fan

  • @just4making102
    @just4making102 7 ปีที่แล้ว

    sang name pls 😊

  • @yasintascioglu5672
    @yasintascioglu5672 7 ปีที่แล้ว

    Abi sen türkmüsün

    • @temur4714
      @temur4714 7 ปีที่แล้ว

      Abi bunun Türkçe halini yapar mısın kanalının kalitesi çok iyi abone oldum kanalında ayrıca her videonun türkçesini yaparsan abonen artacak 'BURALAR DEĞERLENİR' benden söylemesin .şimdiden teşekkürler

  • @mkaberli
    @mkaberli 4 ปีที่แล้ว

    Did you really need to have the music?