Get Started in Electronics #9 - Using the DHT11 Humidity & Temp Sensor

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 พ.ย. 2024

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

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

    I recently bought the Elegoo kit and I've been watching this series religiously. The effort that you put into the wording and editing of these videos is evident, and I really appreciate it. I'm really looking forward to the next one!

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

      Thanks very much! I've got another video in the series coming out soon, so stay tuned! 👍

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

    An a beginner, I get the kit in Christmas from Santa and am following every lesson, this is very interesting.

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

    I just want to say thank you for all of these amazing videos. It took me a while to catch up but I really enjoyed them and wish they kept going for more items in the "most complete" Elegoo kit I bought. Thanks a lot!

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

    I should have been doing these videos 4yrs ago when I started w/ my Uno. I'll say that it's much better watching yours than thinking about the production effort that goes into them.

  • @ben-zz2rm
    @ben-zz2rm 6 หลายเดือนก่อน

    I am relatively new to electronics Bryan. Believe it or not your tutorial with coding is the first to make my sensor work properly, Soo happy. Great job.

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

    If you ask me to like and subscribe in the first 30 seconds, I'm definitely not going to. You haven't yet proven to me that your content is worth a subscription.

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

      I never asked you to subscribe, Jarod. I presented an IF/THEN statement. IF you're wanting to learn about 3D printing and electronics, THEN subscribe so you don't miss out. 👍🏻

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

      @@BV3D That's not my point. If you look at the most successful TH-camrs, like Mark Rober, he never brings up subscribe until near the end. I do like your channel after watching a few videos and I am subscribed. I'll be looking for any videos on your channel about changing out the hot end for a 3D printer. I have a Bibo 2 dual head and I messed up the 2nd extruder.

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

      @@jarodmorris611 Hi again. Hey, I changed up the intro & outro a bit on the latest video, so let me know what you think of that approach.
      About the Bibo, I hadn't heard about it until you mentioned it, but it's apparently been around since 2016. I'm not seeing a lot about extruder replacement, but this video from @builditbreakitfixitmakeit5495 might help: th-cam.com/video/7Da7kY0PCsc/w-d-xo.html

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

      @@BV3D Thanks for the link. I don't think the Bibo is too crazy to replace. It looks pretty standard. I'm dying to try a Delta 3D printer. The speeds look insane.

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

    Awesome and straightforward, thanks man. Highly appreciated by a noob like me! I hope you're doing great these days.

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

    Hi there, Love your videos will you be adding the next lesson. Thank you so much! Helped me get started into electronics.

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

    such a big help thank you. I am just learning so I have found your videos easy to wach and follow

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

    Hey man can you do all the tutorial for these they are really helpful and the ones that ellegoo gives us are very confusing.

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

    Was looking all over for a simple video on this and came across your video . Thank you so much !!

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

      Glad it was helpful! 😊

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

    Hey Bryan,
    I like how well you explain this and it is great basic knowledge that is so important to learn that you can do many fun projects.
    A small tip for you and especially your viewers, for example I made a housing for one of my 3d printers where I use a DHT22 (slightly wider range) to measure the temperature, and a 200 watt light bulb to generate heat. When I want to print ABS or other difficult materials, I set the temperature for the inside of the case, and let the processor operate the light bulb, to control the temperature that way. This is a super easy way to achieve a perfect temperature of between 60 and 70 degrees in the housing around my printer. ABS prints have never been so beautiful.
    Used materials, basically everything from this lesson and a simple solid state relay and a socket. Maybe a nice application to discuss in your lessons.
    Greetings, and keep up the good work.
    Brian Dragtstra
    3DPrintCreator

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

    Please continue this series it’s taught me so much

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

    Great helpful video thank you so much for making this

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

    Who'd have thought you would be disseminating financial advice too 👍

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

      I know, right? LOL! 💸

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

    Awesome video! I eagerly await all the following videos. Could you make a video about using the fan in the kit? I want to use it for a project.

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

    Thank you so much for these videos. You are doing great at simplifying these videos and expanding on them for my kids and I to follow along

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

    Hello Bryan,
    First of all, I love your videos, you explain everything so easy to understand. I've just wanted to ask you one thing, how can I see, "visually" talking, Humidity and Temperature from the serial plotter? Everything works perfectly from the serial monitor but it seems that the serial plotter doesn't receive nothing.
    Thank you very much for these videos, they've been very helpful.

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

    Another awesome tutorial, thank you!!! A question about your code (budding Java programmer here); couldn't you condense the output code to one line? Here is what came to mind: Serial.println("Humidity: ", h, "% Temperature: ", t, " C");

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

    This video was super useful and enjoyable, thank you :)

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

      Glad it was helpful! 👍

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

    Very good and comprehensive tutorial I love your videos. Great job.

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

    Simple and it works. Thank you

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

    Great video. Just got the super starter kit and your videos are so super useful for my studies. Thanks!

  • @47f0
    @47f0 2 ปีที่แล้ว

    I realized that I could produce satisfactory results and considerably streamline things.
    No wiring, no libraries and no sensor required.
    Since I live in central Florida, I was able to increase the loop delay time to about 10 minutes, because more often does not improve things with my method, and just use:
    h = (float)random(920,990) / 10.0;
    t = (float)random(870,970) / 10.0;
    // Of course I'm sticking with (float). We want this sucker to be accurate.
    // Yes, I'm using Fahrenheit instead of Celsius values, cause this is Murica.
    Works a treat, and no one who's seen it running on the beater Mac I keep on the screen porch has taken issue with it.
    Next I'm going to add a mosquito density counter, but first, I'm gonna stick a couple LEDs on two PWM lines so I can fade them back and forth and make it a more impressive scientific instrument.

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

    Another amazing video! Thank you very much!

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

    if it give u a nan in the serial plot try rewiring the connections. happened to me.

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

    How come my Win.11 serial Monitor keeps printing them on the same line instead of underneath each other like yours does. Other than that it works fine .Now I need to figure out how to Convert to Farenheit but I'm sure there is a Library for that, I just have to find it ,I'm just a beginner.

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

    Nicely done and informative, any chance of showing the code for a Fahrenheit version?

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

      I looked this up : t = dht.readTemperature(); // will return C
      t = dht.readTemperature(true); // returns F ... I haven't tried it yet

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

      Dan's got the right answer (not sure if it's above or below my comment). Thanks Dan! 👍

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

    Having tried multiple different scripts and setting up the DH11 sensor correctly, I have yet to get an output that wasn't NAN. Added delays between queries - did nothing. Got another DN11 sensor - did nothing. I've tried reinstalling the library over and over, even with downloaded folders online rather than through the IDE - no change. Any recommendations? It's such a simple sensor, and yet it is not working at all.

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

      I copied your exact code and setup; the same library was installed from scratch. Nothing at all worked. Tried with the 1.4.0 version as well, and it didn't work.

    • @Zeuhib1
      @Zeuhib1 5 หลายเดือนก่อน

      I have been having the same exact problem I don't know how to fix it

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

    Please show us the LCD-Display. Love your Content!

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

    I was thinking 25c that would have me panting like a dog but the humidity never gets that low here unless its winter. During the summer its 80$ or more.

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

    LCD screen next??

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

    Informative and funny. A great combination

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

    What's the name of this programming language that makes an arduino work?

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

    Mine reads temperature near 1degree! I do not know, what's the issue. Is there anyway to solve it? or may I have to replace the sensor?

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

    Nice work. How can I make this work with an Arduino Nano board?

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

    Hi Bryan, nice episode, I started using Arduino a few weeks after I bought my 3D printer. It is inevitable.
    Where did you get those nice dupont connectors. I tried to find those for so long, but couldn't find them.

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

    Bryan, question. Are you able to expand this to the Most Complete set? Trying to urge my youngest to start tinkering, and have this set and the Mega2560 (or whatever chipset it is) Most Complete set as well.

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

      Hi Gabe! All the "Get Started With Electronics" episodes should work with the Most Complete set. The Most Complete set has an Elegoo Mega 2560, so in the Arduino IDE, instead of picking the Arduino Uno from the Boards list, you'll pick the Arduino Mega 2560. It may say "Mega or Mega2560" on the menu.
      When you do that, you'll get an extra menu item on the Tools menu, and it's called "Processor." On that menu, you'll need to pick the ATmega2560 from that list.
      Apart from that it should just work. I've got a Most Complete kit as well, and just tested it. The Most Complete kit should have all the sensors that the Super Starter Kit has and then some.
      I hope you have fun with it! 😀

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

      @@BV3D What I'm more of bringing to interest is the additional components that the starter kit doesn't include
      Your videos seem to aim more to a younger audience, which fits well with youngins, starting to gain interest in electronics

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

    My dht11 reads -1 and 32. One second it reads -1c and a few seconds it reads 32c. As for humidity, it reads only -1
    Is it broken?

  • @certified-forklifter
    @certified-forklifter 4 ปีที่แล้ว

    nice, you have stickers now! :D cool

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

    Hy everyone, [[[[[[[[[[[[[[
    be carefull for the sensor [[[[[[[[[[[[[[
    [[[[[[[[[[[[[[
    (The sensor) ---> ! ! !
    ! ! !

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

    hey! Thank you very much for your videos, I am learning Arduino and they are very useful to me. I would like you to help me with a problem: "nan" appears on the monitor, I know it means "not a number" but I don't know why it appears in this case (I have reviewed the code and it is fine). Thanks and best regards

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

      I had the same issue then realized I had the data cable plugged into the wrong port on the Uno.

  • @certified-forklifter
    @certified-forklifter 4 ปีที่แล้ว

    nice one, Bryan!

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

    I added in the math conversion code to Fahrenheit. Thanks!

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

    Thanks for the video =)

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

    cant finish the code( " C " ) how do you get the little circle to the left of the C?

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

      press alt + 0176 (on a PC)

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

    Thank you!

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

    If everything fails you also may have bad cables. Had that happen today.

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

    Hi there, I have a problem. On the serial monitor instead of showing the value of the humidity and temperature somehow it shows “nan”. Can anyone help?

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

      I had the same issue then realized I had the data cable plugged into the wrong port on the Uno.

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

    I first tried to make it out by miself and it worked then I tried to put the read on the lcd screen and it showed 327.76 celsius. damm its hot in here! lmao

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

    i can't type a temperature sembol can i just not use it? plz help me soon!

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

      Here you go pal! °°°°°°°°°°°°°°°°

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

    Thank you :)

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

    Thank you Bryan. Like the hat wink wink. Mine is blue.

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

    Hi Bryan,
    What Spool Holder Mount do you have on your Ender 3 V2?

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

    I tried this but it just tells me that the humidity is nan% and temperature nan%, what am I doing wrong?

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

      Same here. Maybe sensor is broken?

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

      I just fixed it. It's probably going to be the wiring. Even if you check it again and have it right, switch out wires and it should work.
      stackoverflow.com/questions/40874880/getting-nan-readings-from-dht-11-sensor

  • @JustMe-em3ms
    @JustMe-em3ms ปีที่แล้ว

    Hello,
    Where is the code?

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

      bro its legit 37 lines of code, what do you want? You want him to upload the code to git hub or something? lmao.
      Though now that i think about it, that would be kinda cool, not this code specifically but other code.

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

    hi

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

    Learn so much from your videos. Just wanna say thank you and I am patiently waiting for the follow up.
    🫶🏽