MQTT with ESP32 and DHT22 using Wokwi | Display on Node-Red Dashboard

Поделиться
HTML-код
  • Опубликовано: 14 янв 2024
  • In this video, we will see how to Simulate ESP32 Integration with DHT22 with Wokwi and send the temperature and humidity values to the Node-RED Dashboard using MQTT.
    By the end of this video, you can see the real-time changes in Temperature and humidity of DHT22 on the Node-Red Dashboard using the MQTT publish and subscribe mechanism.
    1. Setup ESP32 with DHT22 in Wokwi
    2. Add the libraries needed
    3. Upload the code
    4. Setup the MQTT publish in code
    5. Setup Node-Red
    6. Create a Node-Red Dashboard to subscribe
    7. View the Dashboard for the Temperature and Humidity values
    This can be used as IoT projects for final year students
    __________________________________________________________
    🔗Important links:
    GitHub Tutorial Link: github.com/Hariharnath-Paduch...
    Wokwi Home Page: wokwi.com/
    ESP32 Pin Layout: docs.espressif.com/projects/e...
    __________________________________________________________
    🙋Connect with Me:-
    Presenter: Hariharnath Paduchuru
    LinkedIn: / hariharnath
    WhatsApp channel: whatsapp.com/channel/0029Va48...
    __________________________________________________________
    🎥 🎤️ My Video Equipment:-
    Boya ByM1 mic: amzn.to/3MkRMRg
    BROLAVIYA Overhead Video Mobile Stand: amzn.to/3QCpDYq
    Digitek Tripod: amzn.to/49g1Cxm
    Digitek Ring light: amzn.to/46LGwFJ
    __________________________________________________________
    🎞Curated Playlists:-
    IoT Fundamentals: • Fundamentals of IoT
    IoT Applications: • IoT Applications
    Career in IoT: • Career in IoT
    IoT Cloud Platforms: • IoT Cloud Platforms
    Azure IoT Series: • Azure IoT Tutorial Series
    Node-RED Tutorials: • Node-RED Tutorials
    __________________________________________________________
    ‪@Wokwi‬
    #mqtt #esp32 #wokwi
  • НаукаНаука

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

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

    Hello, I'm here from Brazil, your video helped me a lot! Thanks!

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

    Very nice 👏

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

    hello, its a nice video, but i have a question ? do you use hivemq websocket client for MQTT broker?

    • @IoTFrontier
      @IoTFrontier  2 месяца назад

      Thank you. I have used 1883 port in this video which is a Tcp port. You can also use websocket port 8884 if your application demands it

    • @adebayu1428
      @adebayu1428 2 месяца назад

      @@IoTFrontier thankyou for the repply, i tried use websocket from hivemq but in my node red it keep disconnected, even i have configured the mqtt in, do you know why its happened?

    • @IoTFrontier
      @IoTFrontier  2 месяца назад

      May be you can get the answer here groups.google.com/g/node-red/c/ByzqoQdkGMI?pli=1

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

      @@IoTFrontier thankyou alot fot helping me, have a good day

  • @eamonhannon1103
    @eamonhannon1103 3 месяца назад

    Where is the broker running ? Are the MQTT Broker and Wifi Connections WOKWI virtual connections ?

    • @IoTFrontier
      @IoTFrontier  3 месяца назад

      I have used hivemq public broker as shown in the diagram in the video. The wifi used in Wokwi is the virtual connection.

  • @nhanphamuc6972
    @nhanphamuc6972 Месяц назад

    Sir please help me out with this question, When I enter any line, I receive nan data ? and I can't deploy it myself, because then the data returned is nan

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

      There could be multiple reasons. Few of them are here
      1. Sensor might not be working
      2. Sensors connections might be loose
      Check it properly or try to use another sensor if available
      This is applicable if you are using the real sensor instead of simulator

    • @nhanphamuc6972
      @nhanphamuc6972 Месяц назад

      @@IoTFrontier I copied your code, but when I press enter on any line of code, the data will be nan

  • @lecturerintisaar3015
    @lecturerintisaar3015 3 месяца назад

    Sir please help me out with this question, Can u create ur own library of sensor in workwi ??

    • @IoTFrontier
      @IoTFrontier  3 месяца назад

      Yes that should be possible. Check out their documentation or support to learn more

    • @lecturerintisaar3015
      @lecturerintisaar3015 3 месяца назад

      @@IoTFrontier thank u