DHT11 & NodeMCU Tutorial || Humidity & Temperature Monitoring over Thingspeak

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ม.ค. 2019
  • This tutorial is all about Humidity & Temperature Monitoring using DHT11 or DHT22 & NodeMCU on ThingSpeak. It explains how to log Humidity & Temperature data on cloud. We can use Thingspeak as cloud service provider and DHT11/DHT22 to measure temperature and humidity.
    This tutorial is for NodeMCU on Arduino IDE. You can also configure ESP8266 board with Arduino to monitor temperature and humidity.
    Source Code/Library Link: how2electronics.com/dht11-nod...
    Drop a like if you liked this video.
    Don't forget to subscribe our channel for more Electronics project and tutorials.
    Website: how2electronics.com
    Facebook: / electronicsbyalex
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @alonsosegura8709
    @alonsosegura8709 ปีที่แล้ว

    Rifado mi hermano, nos salvaste el proyecto de IoT

  • @FelipeManager
    @FelipeManager 3 ปีที่แล้ว +1

    Thank you very much. It works perfectly !

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

    Great video. Thanks.
    Upload more IoT based videos.

  • @johangoethe2472
    @johangoethe2472 4 ปีที่แล้ว +11

    Thank you very much. It works perfectly !
    People must dawnload the library DHT by doing: On Arduino menu: Programs -> Include Library -> Manage library -> write DHT and install this library.

    • @johanromlin1677
      @johanromlin1677 ปีที่แล้ว

      There is different types of third programs DHT, which one did you use?

  • @jasonsonss871
    @jasonsonss871 3 ปีที่แล้ว +1

    Thanks dude it works :3 for dht22 aso

  • @jaysonDfernandez
    @jaysonDfernandez 2 ปีที่แล้ว +1

    thank you sir for this content, how can you analyse data from imported CSV. because here it's real time data.

  • @plague0810
    @plague0810 2 ปีที่แล้ว

    Hello, thanks for this tutorial it was really helpful

  • @g.heirman7003
    @g.heirman7003 4 ปีที่แล้ว

    Great video! Thanks.

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

    which arduino software are you using ? in my case it is showing DHT.h: No such file or directory

  • @iltonrotta
    @iltonrotta 2 ปีที่แล้ว

    thanks my friend. You helped me a lot.

  • @masonyeoh3101
    @masonyeoh3101 2 ปีที่แล้ว +1

    do we need external resistor (4.7 ohms or 10 ohms) between VCC and data pin in 3 pin DHT11 sensor? Hope you can answer. Thanks

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

    Very nice tutorial. Thanks

  • @brunogonzalez9587
    @brunogonzalez9587 2 ปีที่แล้ว +3

    I have a question. Where can I find the library of that ESP module?

  • @nonamez6438
    @nonamez6438 ปีที่แล้ว

    thank you very much you are amazing ❤️ . Can you help me sir , I need to power it with a battery so where do put the +ve and -ve battery electrodes ????

  • @yesidcastaneda3377
    @yesidcastaneda3377 6 หลายเดือนก่อน

    thank you brother is a good station monitoring

  • @TheOldKid
    @TheOldKid 10 หลายเดือนก่อน +2

    I appreciate thetime you spent on this very much.
    Im sure it worked for some but i was getting errors from the start. or is not the same as along with things not being declared. I copied the code and pasted exactly. After trying to fix in ny limited capacity i gave up. Ill try again tomorrow. If anyone knows certain parts to be edited please let me know.

  • @justvebsthings
    @justvebsthings 2 ปีที่แล้ว

    Mast ekdum gg

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

    excelent video ... thanks...

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

    Thank you so much!!!!!!

  • @jck7398
    @jck7398 2 ปีที่แล้ว

    Hello
    Thanks for this really good tutorial. But i have a "small" problem : I cannot open a free account on the Thingspeak server site. How can I do ? Do you think it is always possible or not ? Perhaps it depends on country ?
    Best regards

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

    Is possible to use an acelarometer like adlx345, and see the x,y,z graphs?

  • @Makiessy
    @Makiessy 6 หลายเดือนก่อน +2

    Thx. You've got what I was searching for: the correspondence between real pin and logical pin.
    🤩

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

    Can u please tell me about the jumper wires u have used i mean they are male to male or male to female

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

    Thank you so much bro you helped a lot liked subed bruhh❤😉

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

      Bro in serial monitor the o/p is................... Only this happen please guide how I fix it i have changed braud rate 9600

  • @vaishuvaishnavi7100
    @vaishuvaishnavi7100 2 ปีที่แล้ว +2

    Sir what is the use of storing the temperature, humidity, and soil moisture values?? Only for the graph or else any advantages using this thingspeak?

    • @Sofia-ee8vo
      @Sofia-ee8vo 11 หลายเดือนก่อน

      I think we can store the data and which is accessible from anywhere in the world like google

    • @Sofia-ee8vo
      @Sofia-ee8vo 11 หลายเดือนก่อน

      And I 'm not sure😊

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

    Helpful vedio

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

    thanks brother

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

    thank you bro
    i got it

    • @lukeyna1
      @lukeyna1 3 หลายเดือนก่อน

      can you help me

  • @moidrees4661
    @moidrees4661 5 ปีที่แล้ว +2

    how to write the ardino ide program?

  • @shivakumar2021
    @shivakumar2021 3 ปีที่แล้ว +2

    please make same with, pir sensor , flame sensor, hc-sr sensor

  • @BravoSix_6
    @BravoSix_6 9 หลายเดือนก่อน

    read and write API key must put in arduino or just write API key?

  • @Munthermohammedaljaf
    @Munthermohammedaljaf 2 ปีที่แล้ว

    hi plz if u could help menthe deadline of my project at 24\5
    I want to know how could I send information to thingspeak of 3 sensors using Ethernet shield , I know how to send one read of one sensor but when I put the second one it docent work

  • @iltonrotta
    @iltonrotta 2 ปีที่แล้ว

    Hey my friend, how can I make this NodeMCU access the internet through static IP address? What Do I need to change/add on my IDE sketch? Could you help me ? thank you

  • @reefone6591
    @reefone6591 ปีที่แล้ว

    I am not getting any data on my thinkspeak, ESP32 serial shows data but it seems that is not passing it to the thinkspeak, I checked all coding and no issues; Do I need to set anything else to pass data to the thinkspeak website?

  • @prajaktaupadhye16
    @prajaktaupadhye16 ปีที่แล้ว

    Hi
    I need one help
    When I am executing the program WiFi is not connecting and I am not getting output.
    What should I do?

  • @msyafiqmuhd3332
    @msyafiqmuhd3332 3 ปีที่แล้ว +1

    Sir how if I want to include multiple dht11 into the circuit. I actually did my coding but in the postStribg it stated that expected primary expression before '+=' token. How do I solve this problem?

  • @jasonstation
    @jasonstation ปีที่แล้ว

    My pin was D5 and not just '5'. For anyone that had the same issue not getting the data to work in the serial monitor.

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

    nice video

  • @samixshar5947
    @samixshar5947 6 หลายเดือนก่อน +1

    in serial monitor it shows dotted lines "........." like this what i need to do ?to solve this problem

  • @hananeetanoubi1181
    @hananeetanoubi1181 2 ปีที่แล้ว

    Hi ! Is it works with esp32 ?

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

    actually i want to rotate servo motor by giving commands from thingspeak.The command is appearing on the serial monitor but servo motor is not rotating can any one help out???

  • @gaurisharma8395
    @gaurisharma8395 2 ปีที่แล้ว

    Will this work for esp32???

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

    There are tutorial for sht 3x ?

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

    Where should i download the lib ?

  • @user-gv7ms5qg4z
    @user-gv7ms5qg4z 7 หลายเดือนก่อน

    hi bro
    when we did this project exit status error occured

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

    Why my output is "......" ? pure dot no data receive? why and how sir to fix this?

  • @hamzael-batanouny532
    @hamzael-batanouny532 ปีที่แล้ว +1

    how to get the esp8266.h library

  • @droneflyte777
    @droneflyte777 2 ปีที่แล้ว

    I had to disconnect the data line from the dht11 to nodemcu board to upload sketch...

  • @lutfimaulana3592
    @lutfimaulana3592 3 ปีที่แล้ว +1

    can you explain, why pin 3 .. I search in your code in arduino ide .. pin dht 11 is D0 .. and i'm connected to node mcu in d0, the function can't work.. but if i connected to pin d3 .. it's function properly... CAN YOU EXPLAIN ????

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

      Read the official DHT test code. It states which pins are most likely functioning.

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

    Can you export the data to an excel file.

  • @maxwormuth5755
    @maxwormuth5755 ปีที่แล้ว

    arduino say's to me i have not enought storage
    what i have to do?

  • @karthickraja547
    @karthickraja547 4 ปีที่แล้ว +3

    I am getting the message in serial monitor as Failed to read from DHT sensor. Can you give a solution for that?

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

      Hey, I had the same problem. Did you somehow solve it?

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

      Same problem!What to do?

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

      check your dht11 data pin true location?

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

    It display that is send to thingspeak but nothing is happen in thing speak web

  • @yuvanshankar9681
    @yuvanshankar9681 2 ปีที่แล้ว +1

    idk wtf is wrong in my code.... i didnt see any graph or i didnt see any data on my serial monitor.. i tried with 2 or 3 new dht11's .... its not showing me anything

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

    bang, aku udah coba program punya abang. tapi tulisan di serial monitornya Failed to read from DHT sensor. itu kenapa ya masalahnya ? sebetulnya program abang juga ada yang kurang di include DHT nya, tapi itu sudah selesai. masalah aku ada di pembacaan sensornya. itu kayak mana ya bang ?

  • @premierstatusofficial496
    @premierstatusofficial496 11 หลายเดือนก่อน

    Bro hau to you make node mcu circuit diagram

  • @staywillstay.6915
    @staywillstay.6915 3 ปีที่แล้ว

    how if i use esp32?

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

    how can i do this to two sensors(dht11) at the same time?, i would like to measurement two different places.

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

      We need 1 common gateway and two sensor nodes. I will be making videos soon regarding this.

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

      @@HowtoElectronics
      is the video available that explain two gas sensors monitoring at same time through nodemcu

    • @minecraftgolu3599
      @minecraftgolu3599 3 ปีที่แล้ว +1

      @@fathimashifanans2225 you can do the 2 gas sensors project by doing this:
      first download and add the libraries to arduino. github.com/E-for-Engineer/DHT11-data-upload-to-ThingSpeak-Using-NodeMcu/find/master
      you should have this 2 libs in the link.
      write #include to the top of the code.
      delete dht. sensor codes and replace gas sensor codes instead of them.

  • @Lets_rejoice
    @Lets_rejoice ปีที่แล้ว

    if we use arduino then is the code is same ?

  • @wilsonscientifique4270
    @wilsonscientifique4270 ปีที่แล้ว

    can you help me? i receive this message "error: espcomm_upload_mem failed"

  • @sarathkumar-tf4lr
    @sarathkumar-tf4lr 3 ปีที่แล้ว

    am try it with your method but I didn't get an output...data not available in thingspeak

  • @ABC-cx9fz
    @ABC-cx9fz ปีที่แล้ว

    #help
    How can i connect my nodemcu to office wifi? My office wifi need to login first via browser.

  • @prashamjain3261
    @prashamjain3261 7 หลายเดือนก่อน

    how to connect board to ardiuno ide

  • @radhakrishna1001
    @radhakrishna1001 ปีที่แล้ว

    Hi
    Temperature and humidity not shown in thingspeak
    Tel me what is problem

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

    I tried the same code and same pin. But it printed values only in the serial monitor. No updates in ThingSpeek. I have done the same as you except used my Write API Key, Hotspot, and password. Can you please help?

    • @hananeetanoubi1181
      @hananeetanoubi1181 2 ปีที่แล้ว

      Hi I have the same problem, if you know the solution, can you tell please 😊

  • @DK-yz9xk
    @DK-yz9xk 4 ปีที่แล้ว

    how do we add the data to a chatbot.

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

    I am keeping on getting this error .. any help?
    Error compiling for board NodeMCU 1.0 (ESP-12E Module).

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

      instal library ada fruit sensor master

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

      Have to tweak a bit in board manager settings.

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

    i have a probeme "
    Compilation error for the NodeMCU 1.0 card (ESP-12E module)"

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

      I had the same. If you see the detailed message, IDE misses "Adafruit_Sensor" library as well. just download as well.

  • @ranarehanqaisar2266
    @ranarehanqaisar2266 2 ปีที่แล้ว

    My serial monitor is showing some symbols, not the values.

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

    error
    no such directory file #include // Including library for dht

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

      You have to add DHT library. refer the previous comment for the same.

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

    sir which library include for dht11?

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

      Link is given in description. You can check

    • @al-hasanmansuri1678
      @al-hasanmansuri1678 3 ปีที่แล้ว

      @@HowtoElectronics where is the link I'm able to find it and I'm not able to include esp8266WiFi.h

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

    sir i installed library but still error

  • @sakthivigneshvar4428
    @sakthivigneshvar4428 2 ปีที่แล้ว +3

    Hi for me it failed to read from DHT sensor

  • @khurramshahzad2899
    @khurramshahzad2899 ปีที่แล้ว

    Hello dear please make the all video in this youtbe convert to hindi kindly to easy understat everyone thankx

  • @ackj9766
    @ackj9766 4 หลายเดือนก่อน

    esp32 how to do

  • @rahulkumar-hi7bw
    @rahulkumar-hi7bw 5 ปีที่แล้ว

    Sir , why u choosed think speak application sir!!!

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

      Because it is easy and free.
      You can choose ubidots also

    • @rahulkumar-hi7bw
      @rahulkumar-hi7bw 5 ปีที่แล้ว

      @@HowtoElectronics then what about blynk app sir

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

    cannot find the library file link.....plz specify the library fie link

    • @prasadadavi6618
      @prasadadavi6618 2 ปีที่แล้ว

      include the link arduino.esp8266.com/stable/package_esp8266com_index.json in "Additional Boards Manager" under Preferences . Follow the link for detailed instructions create.arduino.cc/projecthub/electropeak/getting-started-w-nodemcu-esp8266-on-arduino-ide-28184f

  • @Bximbo
    @Bximbo ปีที่แล้ว

    Sir please why not the analog pin?

    • @equation0356
      @equation0356 ปีที่แล้ว

      Hi, the pcb on which the sensor is attached, already converts analog data to digital.

  • @andrewfayed3754
    @andrewfayed3754 5 ปีที่แล้ว +1

    its all working fine except my results are always 0c and 0% :(

  • @lukeyna1
    @lukeyna1 3 หลายเดือนก่อน

    doesnt work for me. followed directions exactly.

  • @akashsk6478
    @akashsk6478 11 หลายเดือนก่อน

    Very bad ya. If copy & paste the code copy every think unwanted pages will paste not able to remove unwanted

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

    didnt work :(, my serial monitor is empty

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

      double-check the baud rate, which should be set to 115200 as per the code. Else change the rate in code as per your requirement.

  • @jeremytiempo9639
    @jeremytiempo9639 2 ปีที่แล้ว

    Failed to read from DHT sensor!

    • @mshzreh
      @mshzreh 2 ปีที่แล้ว

      Same

    • @plague0810
      @plague0810 2 ปีที่แล้ว

      same, any leads on fixing it?
      i'm currently trying to figure it out right now

    • @plague0810
      @plague0810 2 ปีที่แล้ว

      so in my case i made sure everything was hooked up right on the diagram then unplugged the sensor and plugged it back in and then re-uploaded the code and that worked for me

    • @jeremytiempo9639
      @jeremytiempo9639 2 ปีที่แล้ว

      @@plague0810 ur dht11 is now working with nodemcu?

  • @Saboteurbaron
    @Saboteurbaron ปีที่แล้ว

    Why is it always dark in india?

  • @sharankumar0288
    @sharankumar0288 ปีที่แล้ว

    Informative. But how legit is this.

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

    it was showing like this
    expected primary-expression before '.' token.
    @ float h=dht.readHumidity();
    can you explain

  • @keshavrathore2527
    @keshavrathore2527 2 ปีที่แล้ว

    sir i want to do the same practical on proetous . can u provided your email id.