MQTT First Publish Subscribe
Build a Wireless MQTT Data Pipeline with ESP8266: First Publish-Subscribe Kit
Every part needed, pre-tested for compatibility, with an AI build companion trained on this exact project. Shipped from Bengaluru in 3-5 days.
Imagine one ESP8266 module faithfully transmitting live temperature and humidity readings from a DHT22 sensor into the cloud, while a second ESP8266, sitting across the room or even a different city, instantly picks up those numbers and displays them on a crisp OLED screen. This kit turns you into the creator of a real IoT network in one afternoon—no prior networking experience required.
What You'll Build
You will assemble two independent wireless nodes using breadboards and ESP8266 NodeMCUs. The publisher reads the DHT22 and publishes data to a public MQTT broker. The subscriber listens to the same topic and continually updates the OLED with temperature and humidity. The result is a transparent, real‑time data pipeline that demonstrates how smart devices talk to each other over the internet.
What You'll Learn
- Configure an ESP8266 NodeMCU with Arduino IDE and connect it to Wi‑Fi
- Interface the DHT22 sensor and parse calibrated digital temperature/humidity readings
- Publish structured MQTT messages with topic and payload to a public broker
- Subscribe to MQTT topics and render live sensor data on an OLED display
Kit Contents
| Component | Quantity |
|---|---|
| ESP8266 NodeMCU | 2 |
| DHT22 | 1 |
| 0.96in OLED | 1 |
| 10kΩ Resistors | 5 |
| 4.7kΩ Resistors | 5 |
| 400-pt Breadboard | 2 |
| M-M Wires | 25 |
| Micro USB Cable | 2 |
Why Buy This Kit Instead of Sourcing Parts Separately
| Factor | Sourcing Separately | Compoden Kit |
|---|---|---|
| Compatibility checks | You verify every part | Pre-tested as a system |
| Build support | Forums and scattered tutorials | AI companion trained on this exact project |
| Time to first working build | Days of debugging | Hours, with step-by-step guidance |
| Shipping coordination | Multiple sellers, multiple delays | One shipment from Bengaluru in 3-5 days |
Who This Kit Is For
Designed for CBSE Class 11‑12 and B.Tech ECE/EEE students exploring IoT for the first time. A practical tool for Smart India Hackathon prep, ATL Tinkering Lab projects, or hobbyists at IIT/NIT/VIT/BITS who want to understand MQTT without wrestling with complex networking libraries. Even younger makers (age 10+) can follow the guided build successfully.
Built and Backed by Compoden
Every Compoden kit ships with an AI build companion trained on this exact project — accessible via a QR code on the box, with WhatsApp and email backup. We've spent 10 years building projects for makers, schools, and institutions across India. If a part fails because of a manufacturing defect, replace it free within 7 days.
What if I get stuck during the build?
Scan the QR on the box to launch the AI companion that walks you through code upload, wiring, and MQTT setup. You can also send a WhatsApp message to our support team for a personalised hint.
Do I need my own MQTT broker or server?
No extra hardware or subscription is needed. The kit guide uses a free public MQTT broker (like broker.hivemq.com) that works instantly without sign‑up.
Can I add more sensors to the publisher node?
Yes. The publisher ESP8266 has spare GPIO pins. You can later connect a soil moisture sensor, light sensor, or PIR motion detector and publish multiple topics from the same board.
Will the setup work with a mobile hotspot or only home Wi‑Fi?
ESP8266 modules connect to any 2.4 GHz Wi‑Fi network, including a mobile hotspot from an Android or iOS phone. Simply enter the SSID and password in the code during upload.
ESP8266 publishes DHT22 data to a public MQTT broker. Second ESP8266 subscribes and shows on OLED.
What's in this kit
- ESP8266 NodeMCU x2
- DHT22
- 0.96in OLED
- 10kΩ Resistors x5
- 4.7kΩ Resistors x5
- 400-pt Breadboard x2
- M-M Wires x25
- Micro USB Cable x2
Other projects you can build
Shipping Information
- Prepaid Orders: ₹75 for orders up to ₹999, FREE shipping above ₹999
- COD Orders: ₹125 shipping + ₹50 COD fee = ₹175 total
- Delivery Timeline: Dispatch in 1-2 days, delivery in 2-7 days depending on location
Returns & Warranty
- 7-Day Return: Manufacturing defects only (approval required)
- Warranty: 7 days from delivery
- Non-Returnable: Batteries, consumables, cut wires, clearance items