MQTT with ESP32 and DHT22 using Wokwi | Display on Node-Red Dashboard
ฝัง
- เผยแพร่เมื่อ 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 - วิทยาศาสตร์และเทคโนโลยี
Hello, I'm here from Brazil, your video helped me a lot! Thanks!
Thank you for the comment
Very nice 👏
Thank you
Where is the broker running ? Are the MQTT Broker and Wifi Connections WOKWI virtual connections ?
I have used hivemq public broker as shown in the diagram in the video. The wifi used in Wokwi is the virtual connection.
hello, its a nice video, but i have a question ? do you use hivemq websocket client for MQTT broker?
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
@@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?
May be you can get the answer here groups.google.com/g/node-red/c/ByzqoQdkGMI?pli=1
@@IoTFrontier thankyou alot fot helping me, have a good day
Sir please help me out with this question, Can u create ur own library of sensor in workwi ??
Yes that should be possible. Check out their documentation or support to learn more
@@IoTFrontier thank u