DHT11 Temperature & Humidity sensor with Arduino - Tutorial

Ғылым және технология

Let's read some temperature and humidity with the help of this DHT11 module and an Arduino UNO.
To download the library we used and the sketch please check out our tutorials page at : brainy-bits.co...

Пікірлер: 356

  • @korbano
    @korbano6 жыл бұрын

    Everyone keep in mind that he used a sensor mounted on a pcb. If you have just the bare sensor, you need a resistor across the analog and 5v pins or it won't work correctly. His already had this resistor on the pcb.

  • @madmaddy9473

    @madmaddy9473

    2 жыл бұрын

    i would like to know one thing. Is it mandatory to connect the data pin to A0 ?Can I connect it to any digital pin instead?

  • @xdisceptionnuble6071

    @xdisceptionnuble6071

    Жыл бұрын

    @@madmaddy9473 u need to connect the pin to any analog pin, it cannot be in digital, because the value is in analog format

  • @FSchack
    @FSchack4 жыл бұрын

    I'm a bit confused, the DHT11 is supposed to deliver a digital reading, not analog?

  • @electronishq8149
    @electronishq81493 жыл бұрын

    Hi need help I am getting zero for both temp as well as humidity. Tried all possible connections with this code. I have 3 pin dht11. What could be the possible reason???? Need help

  • @ERJakub

    @ERJakub

    3 ай бұрын

    mee too

  • @Simon-nx1sc
    @Simon-nx1sc6 жыл бұрын

    For anyone with the ERROR: 'DHT.h' there is no such file: Change DHT to dht (small letters) in the beginning of the file.

  • @brendanzink2780

    @brendanzink2780

    6 жыл бұрын

    Thanks dude you're a lifesaver

  • @m.iinnovations8229

    @m.iinnovations8229

    6 жыл бұрын

    i am still facing the erroe.(error compiling for arduino genuino uno)

  • @usucks7276

    @usucks7276

    5 жыл бұрын

    even though i change to small letter still got the same error on that

  • @yusufabubakar9862

    @yusufabubakar9862

    5 жыл бұрын

    @@m.iinnovations8229 any fix for that

  • @martinoka

    @martinoka

    4 жыл бұрын

    @@yusufabubakar9862 ^

  • @nicolasdonati9776
    @nicolasdonati9776 Жыл бұрын

    mine keeps reading 0

  • @Pavel_draganov

    @Pavel_draganov

    11 күн бұрын

    Dont use an analog pin, use a digital one. That should do the trick

  • @theIfrit552
    @theIfrit5525 жыл бұрын

    I am not getting any errors but the Serial Monitor only gives me 0,00% Humidity and 0 C. The Library must be broken somehow

  • @theIfrit552

    @theIfrit552

    5 жыл бұрын

    I managed to get it working. I used a diffrent library and changed arround the vcc and the signal Pin. Most charts online are actually wrong!!

  • @albysegmansyah

    @albysegmansyah

    5 жыл бұрын

    @@theIfrit552 can you give me your lib bro?

  • @sairushikjasti660

    @sairushikjasti660

    Жыл бұрын

    Ya we need ur library 🥺

  • @222misbah
    @222misbah8 жыл бұрын

    after adding library, it also says error

  • @alexlototzky8909
    @alexlototzky89094 жыл бұрын

    the stability of the readings from your sensor seem to be very erratic!

  • @seanschuffert8176
    @seanschuffert81767 жыл бұрын

    'dht' does not name a type how do i fix this?

  • @irishRocker1
    @irishRocker18 жыл бұрын

    I need to look at the datasheet for this. It shows humidity going from 63% up to 75% after only a few seconds. Seems like a large drift in a short period of time.

  • @mortenrobinson

    @mortenrobinson

    4 жыл бұрын

    I'm pretty sure that it is due to the humidity sensor being a capacitative sensor. Right when you turn it on the sensor is powered through vcc and charge begins building up on the capacitor. This is what appears as your initial drift.

  • @teddyruxpin3811

    @teddyruxpin3811

    2 жыл бұрын

    Maybe it's because you are breathing on the sensor

  • @technique9915
    @technique99153 жыл бұрын

    Tried many videos ......Yours Worked (THANKS)

  • @cadudatoro4998
    @cadudatoro49988 жыл бұрын

    Hey Brainy , super easy and fast! thank you , if you allow me to say something , there is a huge difference of volume of sound between the start of video and in the middle. thanks again!

  • @BrainybitsCanada

    @BrainybitsCanada

    8 жыл бұрын

    +Cadu da toro Hi, this was one of our earlier videos, so I was still new to making videos for KZread and didn't have the best equipment :) Our newer videos are a little better I hope, but always learning to make them better... Thanks for watching btw!

  • @priyankakalena6093
    @priyankakalena60936 жыл бұрын

    my output for temperature and humidity both are -999 always.. can u help??

  • @niwashiniapsivasangaranmoe4122
    @niwashiniapsivasangaranmoe41228 ай бұрын

    It helps me for my robotic project thank you.

  • @YD_.
    @YD_.3 жыл бұрын

    For whatever reason, the temp and humidity both keep showing only zero

  • @MegaBigboss98
    @MegaBigboss988 жыл бұрын

    Nevermind, everything has worked properly. However, why does it always give me values of 0 for temperature and humidity ?

  • @jayeshbrahmkshatriya6719
    @jayeshbrahmkshatriya67194 жыл бұрын

    Can you please include library properties? I want to code it in arduino droid for Android. It asks for library.properties

  • @shineratti7587
    @shineratti75873 жыл бұрын

    I check my Arduino library and there is no such file as DHT or dht. what should I do?

  • @drawnbysean1624

    @drawnbysean1624

    Жыл бұрын

    I have that same problem and I've been searching for hours. did you ever figure out what to do

  • @arunsworld007
    @arunsworld0077 жыл бұрын

    the code is correct. Connect the data pin to A0 on the Arduino Uno Board.

  • @alonsovm2880
    @alonsovm28804 жыл бұрын

    @DHT.readll(dht_apin); exit status 1 expected unqualified-id before '.' token please help Dx

  • @1965ace
    @1965ace5 жыл бұрын

    My sensor has the center pin as positive once I switched the data and positive it worked well.

  • @BrainybitsCanada

    @BrainybitsCanada

    5 жыл бұрын

    Thanks for sharing your experience and for watching of course!

  • @TheFalconJetDriver

    @TheFalconJetDriver

    5 жыл бұрын

    The same worked for me my sensor came from the Elegoo super starter kit.

  • @prakash52kar

    @prakash52kar

    4 жыл бұрын

    Thank you Sir, IT worked for me too! Just interchanged the Analog and positive. LOVE YOU! I got kit from RobuIn

  • @digitalbrain7379
    @digitalbrain73799 жыл бұрын

    ho! my good, finally its woek, i tested many codes, thanks you!....

  • @BrainybitsCanada

    @BrainybitsCanada

    9 жыл бұрын

    川崎春と Thanks for the comment! Always great to hear that it's working! :)

  • @m.iinnovations8229
    @m.iinnovations82296 жыл бұрын

    thank you. it worked for me nice and well. thankyou for the library also

  • @bijoyali7498

    @bijoyali7498

    4 жыл бұрын

    0q2bsyng💝💗💓💝💗💕💙👍💞💗

  • @zygimantasjasiunas5240
    @zygimantasjasiunas52405 жыл бұрын

    Works like a charm

  • @henz-benz8820
    @henz-benz8820 Жыл бұрын

    Not workinf for me dht.H nO SUCH FULE OR DIRECTORY WTH I DOWNLOADED THE LIBRARY

  • @TheCarloszoom3000
    @TheCarloszoom30007 жыл бұрын

    Thanks man. That works. Any tutorial to use the sensor and a ESP8266 to check the data through an internet connection?

  • @5ghislaine
    @5ghislaine7 жыл бұрын

    my dht11 sensor is reading 0 for everything. Do you know why this might be?

  • @AmentosOSRS

    @AmentosOSRS

    7 жыл бұрын

    You should probably use another pin connection. I suppose you got 3 pins. (Left to right: Analog input - 5V - Ground)

  • @David-lt7ko

    @David-lt7ko

    7 жыл бұрын

    I had the same error and that helped me. Thanks!

  • @AmentosOSRS

    @AmentosOSRS

    7 жыл бұрын

    David Hawiger you're welcome :)

  • @damianbutterworth2434

    @damianbutterworth2434

    7 жыл бұрын

    Plug the output into digital pin 2 and use this program. Not mine i just got it working with this example program

  • @damianbutterworth2434

    @damianbutterworth2434

    7 жыл бұрын

    /* Board int.0 int.1 int.2 int.3 int.4 int.5 Uno, Ethernet 2 3 Mega2560 2 3 21 20 19 18 Leonardo 3 2 0 1 Due (any pin, more info arduino.cc/en/Reference/AttachInterrupt) */ #include int idDHT11pin = 2; //Digital pin for comunications int idDHT11intNumber = 0; //interrupt number (must be the one that use the previus defined pin (see table above) //declaration void dht11_wrapper(); // must be declared before the lib initialization // Lib instantiate idDHT11 DHT11(idDHT11pin,idDHT11intNumber,dht11_wrapper); void setup() { Serial.begin(9600); Serial.println("idDHT11 Example program"); Serial.print("LIB version: "); Serial.println(IDDHT11LIB_VERSION); Serial.println("---------------"); } // This wrapper is in charge of calling // mus be defined like this for the lib work void dht11_wrapper() { DHT11.isrCallback(); } void loop() { Serial.print(" Retrieving information from sensor: "); Serial.print("Read sensor: "); //delay(100); DHT11.acquire(); while (DHT11.acquiring()) ; int result = DHT11.getStatus(); switch (result) { case IDDHTLIB_OK: Serial.println("OK"); break; case IDDHTLIB_ERROR_CHECKSUM: Serial.println("Error \tChecksum error"); break; case IDDHTLIB_ERROR_ISR_TIMEOUT: Serial.println("Error \tISR Time out error"); break; case IDDHTLIB_ERROR_RESPONSE_TIMEOUT: Serial.println("Error \tResponse time out error"); break; case IDDHTLIB_ERROR_DATA_TIMEOUT: Serial.println("Error \tData time out error"); break; case IDDHTLIB_ERROR_ACQUIRING: Serial.println("Error \tAcquiring"); break; case IDDHTLIB_ERROR_DELTA: Serial.println("Error \tDelta time to small"); break; case IDDHTLIB_ERROR_NOTSTARTED: Serial.println("Error \tNot started"); break; default: Serial.println("Unknown error"); break; } Serial.print("Humidity (%): "); Serial.println(DHT11.getHumidity(), 2); Serial.print("Temperature (oC): "); Serial.println(DHT11.getCelsius(), 2); Serial.print("Temperature (oF): "); Serial.println(DHT11.getFahrenheit(), 2); Serial.print("Temperature (K): "); Serial.println(DHT11.getKelvin(), 2); Serial.print("Dew Point (oC): "); Serial.println(DHT11.getDewPoint()); Serial.print("Dew Point Slow (oC): "); Serial.println(DHT11.getDewPointSlow()); delay(2000); }

  • @tonygame9007
    @tonygame90075 жыл бұрын

    Awesome thank you brother

  • @BrainybitsCanada

    @BrainybitsCanada

    5 жыл бұрын

    Thanks for taking the time to comment and for watching Tony. Cheers!

  • @SpacePatriot
    @SpacePatriot Жыл бұрын

    I had to troubleshoot my sensor for an hour before I found your library download link for DHT.h + the accompanying code., I have the stater kit from elegoo, it doesn't have the best file set. I tried adding the files from elegoo to the library manually and also thru the add .zip function, however this just did not work. Errors after everything I tried. Anyways what im saying is I appreciate what you do! Thanks alot!

  • @aoa0687
    @aoa06877 жыл бұрын

    Hi there...I am having two problems and I hope someone can help me as soon as possible. I did everything in that video but when I took the measurements, they are all -999. And the other problem is that my humidity sensor overheats soooo much to the extent that one time it started to melt, I mean the plastic blue part of it. Help, please!

  • @lethallad1433

    @lethallad1433

    6 жыл бұрын

    same

  • @aftereffects00

    @aftereffects00

    6 жыл бұрын

    Something is wrong here.. mine is overheats and melt too...

  • @lilcheesecake2871

    @lilcheesecake2871

    6 жыл бұрын

    Try a resistor maybe

  • @sahandeepdas3627

    @sahandeepdas3627

    5 жыл бұрын

    Use a resistor between the Voltage and the Data Pin to stop it from melting

  • @lethalavidity

    @lethalavidity

    5 жыл бұрын

    this gives a nice overview for dht11 www.circuitbasics.com/how-to-set-up-the-dht11-humidity-sensor-on-an-arduino/@@sahandeepdas3627 also has a circuit diagram that shows how to put the resistor (if you scroll down) (im a beginner so sorry if this was obvious to everyone except me^^)

  • @MegaBigboss98
    @MegaBigboss988 жыл бұрын

    Why can't my sensor be placed in a position facing the Arduino (just as the one in your video). My sensor can only be placed from the other side, where the Arduino is on its right side, not facing it.

  • @xfabielmaster8367
    @xfabielmaster83674 жыл бұрын

    dhth say me no find in libreries

  • @priyanshugupta4422
    @priyanshugupta44223 жыл бұрын

    My humidity sensor shows the same reading 95% ...its not changing...temp sensing is ok...what might be the problem?

  • @MattGrouseMusic
    @MattGrouseMusic3 жыл бұрын

    Just getting 0 readings for both humidity and temp. Is it likely a faulty sensor? I've tried loads of different dupont wires but still the same results

  • @puneethkumar703

    @puneethkumar703

    3 жыл бұрын

    wokwi.com/arduino/libraries/DHT-sensor-library try your code here.

  • @cos-ibeuchechukwu9398

    @cos-ibeuchechukwu9398

    Жыл бұрын

    how did you manage to fix this? i am getting the same 0 reading

  • @froges5422

    @froges5422

    Жыл бұрын

    same

  • @mahekparvez9
    @mahekparvez9 Жыл бұрын

    Really helped, thank you!

  • @ecotechworld8588
    @ecotechworld85882 жыл бұрын

    Can u help for me ? I try make a ATM machine ( software process).In serial port just read one time only .But i need to read more time in one loop ( for to enter the password and the select the account types etc...)

  • @zizo8737
    @zizo87372 жыл бұрын

    lovely tutorial thanks for this

  • @39ambition
    @39ambition3 жыл бұрын

    it's nice and clean, thanks!

  • @mohamedftirich951
    @mohamedftirich9518 жыл бұрын

    If you want to help me to compile a sensor humidity and temperature DHT22 on Arduino mega 2560 thanks

  • @goldencreeper
    @goldencreeper3 жыл бұрын

    it worked, but it always say "Current humidity = 0.00% temperature = 0.00C "

  • @cos-ibeuchechukwu9398

    @cos-ibeuchechukwu9398

    Жыл бұрын

    how did you fix this?

  • @roaminrick
    @roaminrick2 жыл бұрын

    can program an arduino but cant get volume right on a video. maybe cc will work

  • @MrNewff
    @MrNewff2 жыл бұрын

    Why did it start at 12 degrees C and go up to 19 so fast?

  • @hassannawaz2321
    @hassannawaz23218 жыл бұрын

    kindly suggest some temperature sensor which is made up of that materiel which cant b melt because in my project sensor is directly touch all the time with fire

  • @mahdighadiri-asli
    @mahdighadiri-asli8 жыл бұрын

    I did everything right but my arduino keeps outputting 0 on both temperature and humidity. What can I do?

  • @nevinbenny9010

    @nevinbenny9010

    8 жыл бұрын

    same with me but i dont know whats wrong either

  • @5ghislaine

    @5ghislaine

    7 жыл бұрын

    did you ever figure out why the output was 0? I keep getting 0 for my outputs.

  • @vip00766

    @vip00766

    7 жыл бұрын

    for me .. it was bcz the wiring was wrong .. my sensor had 3 pins the first from the left is Analog input and the middle one was 5v and the right one was ground

  • @FULLUPE1

    @FULLUPE1

    6 жыл бұрын

    yes thanks for your help is working

  • @surenbono6063
    @surenbono60634 жыл бұрын

    ...how do I code a 5 sec delay DHT function to 1 second loop ...since 1second loop is printing inaccurate temperature reading...x2 the Celsius.....if corporates with 12c LCD ..Time Elapsed counter since PC bootup project

  • @AfzalRaza54
    @AfzalRaza546 жыл бұрын

    all code was dump...output does not show...what to do???

  • @ashnavirdikar41

    @ashnavirdikar41

    6 жыл бұрын

    SAME HERE BRO

  • @eduardomurillo821
    @eduardomurillo8216 жыл бұрын

    Hi!! Thank you for the video... I had this error when compiling, compiler says: "'dht' does not name a type"

  • @ArchanaTikayatRay19

    @ArchanaTikayatRay19

    4 жыл бұрын

    Download github.com/RobTillaart/Arduino/archive/master.zip Copy the Arduino-master/libraries/DHTstable subfolder of the downloaded file to the libraries subfolder of your sketchbook folder. You can find the location of your sketchbook folder at File > Preferences > Sketchbook location in the Arduino IDE.

  • @teddyruxpin3811
    @teddyruxpin38112 жыл бұрын

    Mine says: "Current humidity = 0.00% temperature = 0.00C"

  • @dinakar5247
    @dinakar52475 жыл бұрын

    hii i want to apply my own temparature formula on DHT.temparature so i assigned to a variable Vo = DHT.temparature but its not working can u suggest some solution

  • @amogh2864
    @amogh28647 жыл бұрын

    pls help, when i connect the 5v pin when ground is connected ,my arduino turns off (disconnects from my computer) and i am not able to upload the code and when i connect to 3.3v so it dosnt turn off but it doesn't work, pls help as fast as you can thanks in advance

  • @oliverstvold7397

    @oliverstvold7397

    4 жыл бұрын

    im not sure, but you should try to switch the pins. The same have happened to med with another component.

  • @amogh2864

    @amogh2864

    4 жыл бұрын

    @@oliverstvold7397 thanks for the help but that was 2 years ago and the problem with me was i put the sensor and pins horizontally on the breadboard so all the Arduino pins were connected with each other which led to a short circuit (i know that's dumb)

  • @r.k_1228
    @r.k_12285 жыл бұрын

    can you show us how to transmit this data wirelessly? Perhaps using a bluetooth module or something....

  • @tanguypave5517
    @tanguypave55177 жыл бұрын

    Hi ! Thanks for the tutorial. I got an error DHT11:8: error: 'dht' does not name a type

  • @TheCarloszoom3000

    @TheCarloszoom3000

    7 жыл бұрын

    Make sure the DHT library is uploaded and that you select it from the already uploaded libraries before you compile+upload the code to the Arduino.

  • @lnvsslikhithaddepalli9588

    @lnvsslikhithaddepalli9588

    7 жыл бұрын

    can you please keep the DHT library plzzzz

  • @amirkhan-fu2uj

    @amirkhan-fu2uj

    6 жыл бұрын

    me too

  • @lukemagdalin6169

    @lukemagdalin6169

    6 жыл бұрын

    my library doesn't work with the line #include "DHT.h" or #include but works with #include or #include "dht.h" the name is case sensitive

  • @sanidhya6539

    @sanidhya6539

    Жыл бұрын

    @@lukemagdalin6169 thanks

  • @navneetkumarupadhyay186
    @navneetkumarupadhyay1868 жыл бұрын

    sir how do i download the library and sketch as clicking on the link pops up just another window with tutorial not any download link !!!!?

  • @josharduino3241

    @josharduino3241

    4 жыл бұрын

    #include "dht.h" #define dht_apin A0 // Analog Pin sensor is connected to dht DHT; void setup(){ Serial.begin(9600); delay(500);//Delay to let system boot Serial.println("DHT11 Humidity & temperature Sensor "); delay(1000);//Wait before accessing Sensor }//end "setup()" void loop(){ //Start of Program DHT.read11(dht_apin); Serial.print("Current humidity = "); Serial.print(DHT.humidity); Serial.print("% "); Serial.print("temperature = "); Serial.print(DHT.temperature); Serial.println("C "); delay(5000);//Wait 5 seconds before accessing sensor again. //Fastest should be once every two seconds. }// end loop()

  • @astroproscope2210
    @astroproscope22103 жыл бұрын

    Arduino: 1.8.13 (Windows Store 1.8.42.0) (Windows 10), Board: "Arduino Uno" temp:1:10: fatal error: dht.h: No such file or directory #include "dht.h" ^~~~~~~ compilation terminated. exit status 1 dht.h: No such file or directory Invalid library found in C:\Users\shiva\OneDrive\Documents\Arduino\libraries\DHT_Library: no headers files (.h) found in C:\Users\shiva\OneDrive\Documents\Arduino\libraries\DHT_Library This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

  • @scmmonkey1843
    @scmmonkey1843 Жыл бұрын

    Hello brainy how do i make it so it takes the highest temp/humidity and lowest?

  • @premsonar786
    @premsonar7865 жыл бұрын

    Thank you Thank you Thank you Thank you Thank you Thank you So much

  • @hasuladias6439
    @hasuladias64399 жыл бұрын

    Great video and instructions. One question, shouldn't there be a pull up resistor for this setup ?

  • @LuisRamirez-rn4li

    @LuisRamirez-rn4li

    5 жыл бұрын

    The Pull up resistor is for the non PCB version of this sensor, I heard this from other tutorial, Saludos

  • @LuisRamirez-rn4li

    @LuisRamirez-rn4li

    5 жыл бұрын

    *NOTE: If you use a DTH11 or DHT22 module, these might already have a PullUp resistor installed onboard, in that case you shouldn’t use the internal PullUp resistor of the Arduino. www.brainy-bits.com/dht11-and-dht22-with-arduino/

  • @JOIT2BE
    @JOIT2BE7 жыл бұрын

    As it is a digital sensor, you should use a digital input, not an analog ;-)

  • @damianbutterworth2434

    @damianbutterworth2434

    7 жыл бұрын

    Digital Pin 2 on this example program works

  • @damianbutterworth2434

    @damianbutterworth2434

    7 жыл бұрын

    /* Board int.0 int.1 int.2 int.3 int.4 int.5 Uno, Ethernet 2 3 Mega2560 2 3 21 20 19 18 Leonardo 3 2 0 1 Due (any pin, more info arduino.cc/en/Reference/AttachInterrupt) */ #include int idDHT11pin = 2; //Digital pin for comunications int idDHT11intNumber = 0; //interrupt number (must be the one that use the previus defined pin (see table above) //declaration void dht11_wrapper(); // must be declared before the lib initialization // Lib instantiate idDHT11 DHT11(idDHT11pin,idDHT11intNumber,dht11_wrapper); void setup() { Serial.begin(9600); Serial.println("idDHT11 Example program"); Serial.print("LIB version: "); Serial.println(IDDHT11LIB_VERSION); Serial.println("---------------"); } // This wrapper is in charge of calling // mus be defined like this for the lib work void dht11_wrapper() { DHT11.isrCallback(); } void loop() { Serial.print(" Retrieving information from sensor: "); Serial.print("Read sensor: "); //delay(100); DHT11.acquire(); while (DHT11.acquiring()) ; int result = DHT11.getStatus(); switch (result) { case IDDHTLIB_OK: Serial.println("OK"); break; case IDDHTLIB_ERROR_CHECKSUM: Serial.println("Error \tChecksum error"); break; case IDDHTLIB_ERROR_ISR_TIMEOUT: Serial.println("Error \tISR Time out error"); break; case IDDHTLIB_ERROR_RESPONSE_TIMEOUT: Serial.println("Error \tResponse time out error"); break; case IDDHTLIB_ERROR_DATA_TIMEOUT: Serial.println("Error \tData time out error"); break; case IDDHTLIB_ERROR_ACQUIRING: Serial.println("Error \tAcquiring"); break; case IDDHTLIB_ERROR_DELTA: Serial.println("Error \tDelta time to small"); break; case IDDHTLIB_ERROR_NOTSTARTED: Serial.println("Error \tNot started"); break; default: Serial.println("Unknown error"); break; } Serial.print("Humidity (%): "); Serial.println(DHT11.getHumidity(), 2); Serial.print("Temperature (oC): "); Serial.println(DHT11.getCelsius(), 2); Serial.print("Temperature (oF): "); Serial.println(DHT11.getFahrenheit(), 2); Serial.print("Temperature (K): "); Serial.println(DHT11.getKelvin(), 2); Serial.print("Dew Point (oC): "); Serial.println(DHT11.getDewPoint()); Serial.print("Dew Point Slow (oC): "); Serial.println(DHT11.getDewPointSlow()); delay(2000); }

  • @krishivgupta8688
    @krishivgupta86887 ай бұрын

    Works but it turns out my sensor does not work :(

  • @AlexTechProjects
    @AlexTechProjects Жыл бұрын

    I am impressed - Your videos are incredibly impressive and genuinely helpful😀

  • @ozarkkoalaecosystemservice1229
    @ozarkkoalaecosystemservice12298 жыл бұрын

    Do the 3 pin DHT11 and 22's not require the 10k resistor?

  • @BrainybitsCanada

    @BrainybitsCanada

    8 жыл бұрын

    +Rob Stroh Since we are using a DHT11 "module", the required components are included on the module PCB. If you are using the bare "DHT11" sensor, then yes, you would have to include those before connecting to your Arduino. Thanks for watching!

  • @bigheat86

    @bigheat86

    5 жыл бұрын

    I just had the same issue. Didn't work witz 10k ether. The solution: I used the 5V pin of the arduino nano, instead of 3.3v output pin (powered via usb). Dont need a pull up resistor, although I used the plain sensor (without PCB).

  • @michaelkevin4005
    @michaelkevin40056 жыл бұрын

    how can i set up my own using windows operating system not arduino and DHT11

  • @sonalimahajan8960
    @sonalimahajan8960 Жыл бұрын

    Why a0 used Insted of Digital pin

  • @laurentiugarban6549
    @laurentiugarban65496 ай бұрын

    The folder has different codes than this one showed on the screen. will someone help me?

  • @laurentiugarban6549

    @laurentiugarban6549

    6 ай бұрын

    Figured it out

  • @kentharris7427
    @kentharris74272 жыл бұрын

    After half a dozen kits, could never get this piece of vaporware working. I think the DHT11 is just a piece of plastic to look like a module that will never work!

  • @heitorcardoso4189
    @heitorcardoso41894 жыл бұрын

    thank you !! good video

  • @meetlalkiya29
    @meetlalkiya297 жыл бұрын

    i am having this error.. please help compilation terminated. exit status 1 Error compiling for board Arduino/Genuino Uno.

  • @DR-br5gb
    @DR-br5gb4 жыл бұрын

    Anyway to calibrate this sensor ?

  • @digitalbrain7379
    @digitalbrain73799 жыл бұрын

    Sorry can you help me? I'm using a nrf24l01 for arduino, but is very complicated, I don't understand very good the English manuals I can't use it, I only need send hello from arduino nano and receive it in arduino mega, but I can't , you know how make a simple code for transmission? Thanks for yours videos are very amazing!!

  • @3jaripegangkendali
    @3jaripegangkendali9 жыл бұрын

    I've got a project to read humidity from DHT11 using multimeter. I believe I should convert the digital output of DHT11 into analog, but I am lost and dont have anymore ideas. Could you help me ? Thanks.

  • @BrainybitsCanada

    @BrainybitsCanada

    8 жыл бұрын

    +Riszky Mf Can't help you with that one my friend, maybe someone here can. Thanks for watching!

  • @Dfrog123
    @Dfrog1239 жыл бұрын

    thank's a lot it work like a charm,

  • @BrainybitsCanada

    @BrainybitsCanada

    8 жыл бұрын

    +Vicreo Legarreta Glad it helped :) thank you for watching!

  • @akshay6667
    @akshay66675 жыл бұрын

    It worked fine.

  • @piotrantos9808
    @piotrantos98086 жыл бұрын

    it works but how to connect a lcd screen to it `?

  • @SubahareniSuba
    @SubahareniSuba4 ай бұрын

    Sir can you send the code

  • @pcranger1
    @pcranger12 жыл бұрын

    How do I change this to Fahrenheit?

  • @redx1170
    @redx11705 жыл бұрын

    Any chance you know if this would work with MIT App inventor 2, I'm trying to temp, humidity, gps, and prewritten message send to someone as a project. Thanks to anyone that can guide me to any kind of solution.

  • @robertleifeld225
    @robertleifeld2258 жыл бұрын

    Audio is too low to hear after about1:30

  • @BrainybitsCanada

    @BrainybitsCanada

    8 жыл бұрын

    This is an older video, our new ones should have better audio :) Make sure to check out our more recent ones and Thanks for watching!

  • @kele1969

    @kele1969

    7 жыл бұрын

    and image is also very fuzzy. can't read code

  • @mitreviper

    @mitreviper

    7 жыл бұрын

    Any possibility to redo with your new mic... Anyway, I think the youtube subtitle generation works well enough if its not in your near term plan

  • @protektosafe

    @protektosafe

    5 жыл бұрын

    Also link to the actual tutorial, not just a general page.

  • @emilywallis2338
    @emilywallis23384 жыл бұрын

    thanks dude!!

  • @puneethkumar703

    @puneethkumar703

    3 жыл бұрын

    wokwi.com/arduino/libraries/DHT-sensor-library if this seems interesting, pls give a like and visit wokwi.com

  • @SenseofScience
    @SenseofScience2 жыл бұрын

    my sensor is just giving 0.0 value please help

  • @devi-uu3ts
    @devi-uu3ts5 жыл бұрын

    sir can u please tell me the connections when arduino mega 2560 connected.

  • @tommasodemitri6887
    @tommasodemitri68877 жыл бұрын

    posso collegare il sensore al campanello di casa? vorrei capire la temperatura dai miei ospiti

  • @mrunalmanishlalwani7432
    @mrunalmanishlalwani74323 жыл бұрын

    I saw some other websites explaining this and they have used a resistor(10k ohm) between the VCC and Data pins, is that necessary to use as you haven't done it hence the doubt

  • @therealmakmillion

    @therealmakmillion

    2 жыл бұрын

    No meed, the DHT11 has 1k pull-up resistor onboard.

  • @Jalanjalanskuy_
    @Jalanjalanskuy_6 жыл бұрын

    thanks bro, it's work! :D

  • @emaanmeme1059
    @emaanmeme10595 ай бұрын

    Hi can you send me a code please

  • @crackedbowlz2339
    @crackedbowlz23394 жыл бұрын

    it says i need Adafruit_sensor may you help it would be appreciated

  • @Acky0078
    @Acky00786 жыл бұрын

    Tutorial - download a library - done

  • @shreyasharma2346
    @shreyasharma23464 жыл бұрын

    You can also download library of temp sensor

  • @puneethkumar703

    @puneethkumar703

    3 жыл бұрын

    wokwi.com/arduino/libraries/DHT-sensor-library is another reference

  • @3ddruckfanatikandreasa.858
    @3ddruckfanatikandreasa.8584 жыл бұрын

    You have help me greate

  • @zombieapocalypse8141
    @zombieapocalypse81417 ай бұрын

    Thank you so much

  • @harleyrdr1
    @harleyrdr1 Жыл бұрын

    Good vid but please fix volume (balance) and repost.

  • @sriharilal5251
    @sriharilal52514 жыл бұрын

    Hi bro getting error in program..... 1 row getting error DHt.h

  • @zaidaitah929
    @zaidaitah9296 ай бұрын

    Thank You

  • @fayjason
    @fayjason6 жыл бұрын

    I’m using an Arduino DingMia Uno R3 When selecting a board “Arduino Uno” don’t come up as an option nether dos Arduino DingMia Uno R3. The closest board is “Arduino/Genuino Uno. What board would you selector or how would you get the right board to come up as an option?

  • @BrainybitsCanada

    @BrainybitsCanada

    6 жыл бұрын

    Choose "Arduino/Genuino". This represents any board based on the Uno design. Thanks for watching!

  • @fayjason

    @fayjason

    6 жыл бұрын

    Thank you for the reply An error still comes up. It reads: Error compelling for Board Arduino/ Genuino UNO exit status 1 error compiling for board Arduino/Genuino Uno

  • @fayjason

    @fayjason

    6 жыл бұрын

    Could this error have something to do with my Version of the Arduino software being a different version then your? I have the 1.8.5 for windows 1.8-10.0. Just a thought

  • @digitzero3613
    @digitzero36134 жыл бұрын

    Datasheet shows we need to use pull up resistor for DHT11, Can you explain it? Thanks

  • @malte3236

    @malte3236

    4 жыл бұрын

    there is a 1k ohm resistor on the module

  • @sureshnatarajan0910
    @sureshnatarajan09108 жыл бұрын

    Hi, I have just got the sensor and did all the procedures as instructed. In the serial monitor, I receive 0% humidity and 0 C temperature. And if i unhook and hook up the sensor, I get 255% and 255C. Kindly help me fix the problem. Thanks

  • @BrainybitsCanada

    @BrainybitsCanada

    8 жыл бұрын

    +Suresh Natarajan Hard to say, but check the connections to the sensor, change the wires to make sure none of them are faulty and not making good contact. Make sure you are connected to the right pins using the right voltage etc... hope it helps, but it's hard to say what could be wrong... Hopefully it's not a bad sensor :( Thanks for watching btw!

  • @sureshnatarajan0910

    @sureshnatarajan0910

    8 жыл бұрын

    Thanks for the reply. I have requested for the return of sensors in Amazon. They accepted it.

  • @mohdfarisamzar5807

    @mohdfarisamzar5807

    8 жыл бұрын

    +Suresh Natarajan same problem here..then how u solve this problem?

  • @maanch6968
    @maanch6968 Жыл бұрын

    hi. its giving the output zero, can anyone help me?

  • @bgmooh4608
    @bgmooh46088 жыл бұрын

    hi,nice work a little question please they usually use an integrated system SHT10 equiped with that sensor what for??

  • @BrainybitsCanada

    @BrainybitsCanada

    8 жыл бұрын

    +mooh artita The SHTxx sensors are more accurate but also more expensive, I believe that the SHTxx versions are also good for outside use since they can handle up to 100% humidity levels, the DHT11 is only rated up to 95%. So if you want accuracy and use it outdoors the SHTxx are better. Hope that helps and thanks for watching!

  • @bgmooh4608

    @bgmooh4608

    8 жыл бұрын

    +Brainy-Bits thanks a lot :-)

  • @MegaBigboss98
    @MegaBigboss988 жыл бұрын

    I downloaded the library, but when I try to activate the code, it displays an error message as if the library isn't there. But it's downloaded though. Need help, thanks.

  • @MegaBigboss98

    @MegaBigboss98

    8 жыл бұрын

    So basically how do I extract the library inside the software ?

  • @experx8177

    @experx8177

    8 жыл бұрын

    Sketch - include library - DHT (Mine is under contriubted library) Hope this helps

  • @pahar535
    @pahar5353 жыл бұрын

    hello bro,, my temperature and humidity both are not changing ... can you please tell why its not changing...

  • @pahar535

    @pahar535

    3 жыл бұрын

    i need a quick reply please..

  • @taiffadhil7465
    @taiffadhil74658 жыл бұрын

    Thanks alot for your efforts.... But how can I send this data to another arduino through xbee model. Please tell me if you Know any information about it ...

  • @mmiikkee41

    @mmiikkee41

    8 жыл бұрын

    Im using RF modules to transmit data between multiple arduinos, their cheap as well.

  • @taiffadhil7465

    @taiffadhil7465

    8 жыл бұрын

    +mike Rf like what? I want to use xbee model but I still have many problem

  • @idohou

    @idohou

    7 жыл бұрын

    did you get an answer to this question , i will like to use this . ive been searching

  • @taiffadhil7465

    @taiffadhil7465

    7 жыл бұрын

    id kabasa I still do not have answer until now

  • @BrainybitsCanada

    @BrainybitsCanada

    7 жыл бұрын

    Hi, sorry for the delay :(, don't have xbee available for testing right now, but I have a tutorial in the work to use some 2.4ghz wireless modules to send data between arduinos. Stay tuned... Sorry couldn't help with the Xbee...

Келесі