Linux Docker IoT Gateway with MQTT Broker
Master Industrial IoT: Docker MQTT Gateway with Arduino Portenta X8 and Node-RED
Every part needed, pre-tested for compatibility, with an AI build companion trained on this exact project. Shipped from Bengaluru in 3-5 days.
This kit guides you through building a secure, scalable IoT data pipeline entirely at the edge. You’ll configure a Mosquitto MQTT broker and Node-RED inside Docker containers on the Portenta X8’s Linux core, while the onboard STM32 M4 microcontroller reads analog sensor data from environmental and current sensors and publishes telemetry to the broker over internal serial. The result is a DIN-rail mountable gateway ready for smart factory or energy monitoring deployments.
What You'll Build
A fully containerized IoT gateway that collects, processes, and routes sensor data using industry-standard tools—without relying on cloud connectivity for edge logic. You’ll have a physical device that can monitor temperature, humidity, pressure, and AC current, publishing structured MQTT messages viewable from any dashboard. The gateway runs 24/7 on 24V DC, housed in a DIN-rail enclosure for professional installations.
What You'll Learn
- Deploy and manage Docker containers with docker-compose on an ARM Linux embedded system
- Configure Mosquitto MQTT broker with authentication and topic-based routing
- Program the STM32 M4 core using Arduino IDE or Mbed OS to read I2C and analog sensors and send serial data to Linux
- Build Node-RED flows to transform MQTT messages and trigger alerts or database logging
Kit Contents
| Component | Quantity |
|---|---|
| Arduino Portenta X8 | 1 |
| Portenta Max Carrier | 1 |
| DHT22 | 2 |
| BMP280 | 1 |
| ACS712 5A | 1 |
| LM2596 Buck Converter | 1 |
| 4.7kΩ Resistors | 5 |
| 100nF Capacitors | 10 |
| PCB Prototype Board | 2 |
| DIN Rail Enclosure | 1 |
| 24V 3A PSU | 1 |
| Soldering Iron | 1 |
| Solder Wire | 1 |
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
This kit is designed for B.Tech ECE/EEE final-year students, M.Tech embedded systems researchers, and working engineers seeking hands-on experience with containerized edge infrastructure. It’s ideal for Smart India Hackathon participants tackling industrial IoT themes and professionals at IIT/NIT/BITS labs prototyping smart factory monitoring. If you already know microcontroller basics and want to move into Linux-based gateways, this is your bridge.
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.
Can I run other Docker containers like InfluxDB or Grafana on this hardware?
Yes, the Portenta X8’s Linux environment supports additional ARM-compatible containers. Our AI companion includes example docker-compose files to add time-series storage and dashboards.
Does the kit include pre-flashed software?
The kit provides complete source code and instructions to flash both the STM32 M4 firmware and the Linux Docker environment. The AI companion walks you through each step, with preset configurations for quick setup.
Is this suitable for 24/7 industrial deployment?
With the DIN rail enclosure and 24V industrial power supply, the finished build is mechanically ready for control cabinets. The software stack uses authentication and persistent volumes for reliable operation.
What if my Portenta X8's Linux system doesn't boot?
Our support team can guide you through reflashing the board’s eMMC via USB recovery. The AI companion includes troubleshooting guides for common startup issues, and you can reach us on WhatsApp.
Mosquitto MQTT + Node-RED in Docker containers on X8 Linux. STM32 M4 reads sensors and publishes to broker.
What's in this kit
Choose your assembly option:
- Soldering Kit — 25W soldering iron, 60/40 solder wire, flux, and small perfboard for permanent assembly.
- Breadboard Combo — 800-point full-size breadboard with 65-piece jumper wire pack for solderless prototyping.
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