ESP32 Tutorial - DHT11/DHT22 (Temperature and Humidity Sensor)

Поделиться
HTML-код
  • Опубликовано: 23 дек 2024

Комментарии • 62

  • @random_guy_whith_random_name
    @random_guy_whith_random_name Год назад +6

    Much better than my teacher, she asks us for projects in a short time and then leaves for a week without teaching us anything and expects us to know everything.
    You made it look so easy that I wonder how hard it was for him to explain it to us anyway.

  • @2race66
    @2race66 10 месяцев назад +21

    #include
    DHT dht(26, DHT11);
    void setup() {
    dht.begin();
    delay(2000);
    Serial.begin(115200);
    }
    void loop() {
    float temp = dht.readTemperature();
    float humidity = dht.readHumidity();
    Serial.print("Temp: ");
    Serial.print(temp);
    Serial.print(" C ");
    Serial.print("Humidity: ");
    Serial.print(humidity);
    Serial.println(" % ");
    delay(2000);
    }

  • @yahyamedani3915
    @yahyamedani3915 Год назад +9

    Great video!! Helped me pass my prostate exam

  • @DanBurgaud
    @DanBurgaud 9 месяцев назад +1

    looks and sound simple to understand.
    thanks!

  • @glen4cindy
    @glen4cindy Год назад +1

    This is an awesome tutorial. I see you are not using a resistor on your signal pin. I have one of these working successfully with an ESP32 but when I tried using an ESP32-S2 it acts just like it's not present. I'm using a resistor on the signal pin.

  • @aXfranXa
    @aXfranXa 7 месяцев назад +4

    92% of humidity? xD great video!

  • @victorvanderpol504
    @victorvanderpol504 2 дня назад

    I have problems with the esp32 WiFi cutting out. I’ve read a comment somewhere that this is a common problem with the DHT11/22

  • @irfanudinnoranwar3944
    @irfanudinnoranwar3944 5 месяцев назад +1

    i used dht 22 and managed to get the reading for my three sensor. But the last dht22 gave me nan celsius and ann humidity. How to solve this?

  • @brunofrancosentis5148
    @brunofrancosentis5148 Год назад +1

    Excellent, finally a good tutorial about this. Thanks.

  • @Marvel_fan_page_yt
    @Marvel_fan_page_yt Месяц назад +1

    In which app we should run the code

  • @sreeramramesh4634
    @sreeramramesh4634 5 месяцев назад +1

    Hro what app are u using to show dht11 commected to esp32?

  • @eagleeyegps8003
    @eagleeyegps8003 28 дней назад +1

    Hello, Thank you for your video
    i am looking for the circuit which can operate motor on/off with humidity and temperature sensor
    Please help me

  • @SAIRETANIMS
    @SAIRETANIMS Год назад +2

    Hello, thank you for video, but you don't show how to install driver for ESP32 and how you installed ESP32 in 'Broad Manager'

    • @EnjoyMechatronics
      @EnjoyMechatronics  Год назад +2

      We've talked about that in this guide
      ruclips.net/video/aLEKiGNfHZw/видео.html

    • @SAIRETANIMS
      @SAIRETANIMS Год назад

      @@EnjoyMechatronics ty

  • @luisfelipeonellipini9124
    @luisfelipeonellipini9124 Год назад +1

    Hi, someone knows what is the maximum area i can use this sensor?

  • @clerciomarchinhak4084
    @clerciomarchinhak4084 8 месяцев назад

    I'll try using your video, as I have an ESP32 S3 board and an INA219 current sensor and using PlatformIO in VSCode and I can't see the current values. It only says `Talk is running`, which means it is reading, executing but the current values do not appear on the terminal. If you can give me a tip I would appreciate it! Or if I had a video from someone even better?

  • @susmitadey9816
    @susmitadey9816 11 месяцев назад +9

    Why my output is like this?
    o/p:
    TEMP: nan C
    Humidity: nan%
    Please help me out.

  • @fjz613
    @fjz613 Год назад +1

    Can you use shtc3?

  • @cabinfeverjack1925
    @cabinfeverjack1925 Год назад +2

    Very simple and well explained, Thank You

  • @mounikap-s1d
    @mounikap-s1d 10 месяцев назад +1

    Iam struggling for 1 week for my temp project still I cannot manage

  • @sanabouhaha6637
    @sanabouhaha6637 Год назад +1

    hello, when i compile it says failed uploading. i pressed the boot button and the enable one but still the same problem.
    what can i do please?

    • @A.n.o.n.y.m.o.u.s_Creator
      @A.n.o.n.y.m.o.u.s_Creator Год назад

      You are 100% sure you didn't make a mistake in the code? Try pressing verify for compiler to check if the code is "doable" for your board. Of course it may not support all exceptions but it usually helps to notice a missing comma or dot. If it does compile you should make sure you have the exact board. For example just by looks Esp32 and Esp8266 look simmilar (build almost the same way, usually on the board type, and both cores are shielded) but are different inside.

  • @Marvel_fan_page_yt
    @Marvel_fan_page_yt Месяц назад +1

    i need that project how much it cost

    • @EnjoyMechatronics
      @EnjoyMechatronics  Месяц назад +1

      The ESP32 is pretty affordable, and the DHT11/22 sensor is cheap too!

  • @renatorodriguezjr3537
    @renatorodriguezjr3537 Год назад +1

    Can I download the results?

  • @naodtesfalem6758
    @naodtesfalem6758 Год назад

    well explained, kudos!!

  • @deoboligao5971
    @deoboligao5971 Год назад +1

    Hi, can you use mq2 sensor?

    • @EnjoyMechatronics
      @EnjoyMechatronics  Год назад +1

      Of course
      ruclips.net/video/oJa-Bnvni3Q/видео.html

  • @floura_san5318
    @floura_san5318 8 месяцев назад +1

    جزاك الله كل خير 🥰🥰🥰🥰

  • @brianandresaragonzabala8320
    @brianandresaragonzabala8320 8 месяцев назад

    deben instalar una libreria mas aparte de la que mencionan en el video la libreria es :Adafruit Unified Sensor

  • @lizexi7115
    @lizexi7115 Год назад +1

    why do i keep getting nan? i have arduino nano iot 33

  • @ShivakotiManish
    @ShivakotiManish 2 месяца назад +1

    Can i get the code

  • @Marvel_fan_page_yt
    @Marvel_fan_page_yt Месяц назад +1

    Can anyone Send me the code

  • @anyajoshi1069
    @anyajoshi1069 Год назад

    is this esp32 s2??

  • @alaricshiran9189
    @alaricshiran9189 Год назад +1

    why am i get nanC as a result

  • @EnjoyMechatronics
    @EnjoyMechatronics  2 года назад +1

    ♥ Don't Click This! : bit.ly/3jvI8g6

  • @janaugustmagallanes1487
    @janaugustmagallanes1487 2 месяца назад +1

    code pls

  • @nafisatasfia2993
    @nafisatasfia2993 7 месяцев назад

    THE BEST!!

  • @ArmanManyata
    @ArmanManyata 5 месяцев назад +1

    thanks a lot

  • @onelineurdu9483
    @onelineurdu9483 Год назад +1

    Osam its work 100% thanks bro

  • @leadomingo4567
    @leadomingo4567 6 месяцев назад +1

    Send code

  • @HansGeorgHorzella
    @HansGeorgHorzella Год назад

    super

  • @hugocarloshuizaquinto3619
    @hugocarloshuizaquinto3619 Год назад +1

    HAY CODIGO HAY LIKE