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

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

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

Пікірлер: 19

  • @XD340Rafael
    @XD340RafaelАй бұрын

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

  • @IoTFrontier

    @IoTFrontier

    Ай бұрын

    Thank you for the comment

  • @gopinathareddyambati4314
    @gopinathareddyambati43146 ай бұрын

    Very nice 👏

  • @IoTFrontier

    @IoTFrontier

    6 ай бұрын

    Thank you

  • @eamonhannon1103
    @eamonhannon11033 ай бұрын

    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.

  • @adebayu1428
    @adebayu14283 ай бұрын

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

  • @IoTFrontier

    @IoTFrontier

    3 ай бұрын

    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

    3 ай бұрын

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

    3 ай бұрын

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

  • @adebayu1428

    @adebayu1428

    3 ай бұрын

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

  • @lecturerintisaar3015
    @lecturerintisaar30154 ай бұрын

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

  • @IoTFrontier

    @IoTFrontier

    4 ай бұрын

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

  • @lecturerintisaar3015

    @lecturerintisaar3015

    4 ай бұрын

    @@IoTFrontier thank u

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

    Ай бұрын

    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

  • @snehan2629
    @snehan26295 күн бұрын

    Where can I get the code?

  • @IoTFrontier

    @IoTFrontier

    5 күн бұрын

    @@snehan2629 check the description. Follow the steps in GitHub

Келесі