ESP8266 (NodeMcu) Raspberry Pi MQTT | ESP8266 Publish/Subscribe

Опубликовано: 15 Февраль 2025
на канале: High Voltages
33,765
471

This is the 3rd video of How to MQTT series. In this video, we will learn how to subscribe and publish MQTT messages using ESP8266 (NodeMcu). We will use the Raspberry pi as Local mosquitto MQTT broker which we created in the last video.

We will read the temperature and humidity values from a DHT11 sensor using Nodemcu and publish it on topic "data", raspberry pi will subscribe to that topic and receive that data. So this can also be considered as "Raspberry pi Esp8266 Wireless communication" or "NodeMcu Raspberry pi IoT".

Get PCBs at 10% off https://www.nextpcb.com/
Order your projects at fiverr: https://www.fiverr.com/users/emmiasim67/
Read the blog and get code: https://highvoltages.co/iot-internet-...

code: https://github.com/HighVoltages/ESP82...

Full Playlist:    • How to MQTT ?  

Raspberry pi as MQTT broker:    • Build Your Own MQTT Broker With Raspb...  

ESP8266 WifiManager:    • Esp8266 connect WIFI without hard cod...  

Watch How to use ESP8266 with MQTT broker on a cloud.
   • ESP8266 MQTT Cloud Tutorial: Publish ...  





Amazon and Banggood Purchase links:
*****************

Buy anything from amazon
https://amzn.to/2SGees7

Buy Arduino UNO R3
https://amzn.to/2zmeipW

Arduino starter kit with book
https://amzn.to/3cg8Svt

Raspberry pi
https://amzn.to/2zjiYx2

Browse Arduino products
https://amzn.to/2zgCLx9

Esp8266 boards
https://amzn.to/2WGpOo6

Arduino many in 1 sensor kit
https://amzn.to/3ccMvag

RFID module
https://amzn.to/35Ip06r

Bangood


UNOR3 Basic Starter Kits
https://www.banggood.com/custlink/3Dm...

Arduino 37 in 1 sensor modules
https://www.banggood.com/custlink/KDK...

MFRC522 RFID Reader
https://www.banggood.com/custlink/KK3...

Arduino Mega kit (19 % off)
https://www.banggood.com/custlink/vmD...

Basic Electronic kit
https://www.banggood.com/custlink/DmG...

RFID starter kits V2
https://www.banggood.com/custlink/3Km...

Nodemcu ESP8266
https://www.banggood.com/custlink/3GG...

DISCLAIMER: This video and description contain affiliate links, which means that if you click on one of the product links, I will receive a small commission. This helps support the channel and allows me to continue to make videos like this. Thank you for your support!
****************

For More Projects and Tutorials visit our Website:
https://www.highvoltages.co

Follow us on Facebook
  / highvoltagestech  

For business enquires and sponsorships, email me
[email protected]

For Arduino, Raspberry Pi, IoT, and programming projects check my Fiverr profile,
https://www.fiverr.com/emmiasim67

Video Tags:
ESP8266
Raspberry pi
MQTT
How to MQTT
How to esp8266 MQTT
Nodemcu
esp8266 publishing dht22 readings with mqtt to raspberry pi
esp8266 mqtt client
esp8266 mqtt tutorial
esp8266 mqtt example
esp8266 dht11 mqtt
esp8266 dht11 mqtt home assistant
nodemcu mqtt client
nodemcu mqtt home assistant
esp8266 raspberry pi wireless communication
esp8266 iot tutorial
esp8266 iot projects
esp8266 talking to raspberry pi
internet of things

#ESP8266 #RaspberryPI #MQTT #HowtoMQTT ---------------------------------------------------------------------------

BUY ELECTRONICS COMPONENTS FROM INDIA'S BEST DIY STORE

DIY Usthad Official store https://diyusthad.store/hv

--------------------------------------------------------------------------- Hire me on fiverr: https://www.fiverr.com/emmiasim67 Hire me on Fiverr: https://www.fiverr.com/s/z2dj0R

~-~~-~~~-~~-~
Please watch: "How to Set Up Wokwi for IoT Simulation in VS Code with PlatformIO"
   • Simulating IoT projects in VS Code | ...  
~-~~-~~~-~~-~