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

Поделиться
HTML-код
  • Опубликовано: 4 сен 2024
  • How to use a DHT sensor with an ESP32 board!
    ● Playlist Link: bit.ly/3TdXiq5
    ● Introduction to ESP32: • Introduction to ESP32 ...
    ● Serial Monitor( NEW Arduino IDE ): • ESP32 Tutorial - How t...
    ♥ Don't Click This! : bit.ly/3jvI8g6
    --------------------------------------------------------------------
    FOLLOW ME:
    ● TikTok :
    / enjoy_mechatronics
    ● Facebook: / enjoymechatronics
    ● Github: github.com/Enj...
    --------------------------------------------------------------------
    ► All content by Enjoy Mechatronics is 100% free.
    I believe that education should be freely available to everyone.

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

  • @random_guy_whith_random_name
    @random_guy_whith_random_name 10 месяцев назад +4

    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.

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

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

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

    Great video!! Helped me pass my prostate exam

  • @2race66
    @2race66 7 месяцев назад +5

    #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);
    }

  • @glen4cindy
    @glen4cindy 8 месяцев назад +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.

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

    looks and sound simple to understand.
    thanks!

  • @aXfranXa
    @aXfranXa 3 месяца назад +2

    92% of humidity? xD great video!

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

    Excellent, finally a good tutorial about this. Thanks.

  • @irfanudinnoranwar3944
    @irfanudinnoranwar3944 2 месяца назад +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?

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

    Very simple and well explained, Thank You

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

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

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

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

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

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

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

    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?

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

    thanks a lot

  • @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

  • @user-ck4kb7cc6f
    @user-ck4kb7cc6f 6 месяцев назад +1

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

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

    well explained, kudos!!

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

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

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

    THE BEST!!

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

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

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

    Osam its work 100% thanks bro

  • @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.

  • @fjz613
    @fjz613 11 месяцев назад +1

    Can you use shtc3?

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

    Can I download the results?

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

    Hi, can you use mq2 sensor?

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

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

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

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

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

    is this esp32 s2??

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

    Send code

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

    why am i get nanC as a result

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

    super

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

    HAY CODIGO HAY LIKE