IIoT

ESP32 Industrial IoT: Sensors to MQTT Dashboards

Build an ESP32 node that reads sensors, Modbus meters and 4-20 mA signals, then sends them over MQTT to dashboards.

ESP32 Industrial IoT: Sensors to MQTT Dashboards is a free, self-paced online course from EDWartens for electrical, instrumentation and automation technicians and engineers, students and makers who build ESP32 monitoring nodes that bring plant signals to MQTT dashboards. It has 13 modules and takes about 20.7 hours, with written notes, a practice task per module, a practical project and a final assessment of 15 questions (pass mark 60%). Learning costs nothing and needs only a free account. The optional EDWartens Certificate of Completion, verifiable by code, is a one-off US$23.99 for you; it is not a vendor credential. Updated 1 November 2026.

  • Free
  • Beginner
  • 20.7 hours
  • Self-paced
  • Certificate optional
  • Lab practice in your browser

No card, no trial. The course is free for good. Certificate US$23.99, optional.

Who it is for
Electrical, instrumentation and automation technicians and engineers, students and makers who build ESP32 monitoring nodes that bring plant signals to MQTT dashboards
Jobs
Roles that use this skill: IIoT engineer, industrial data engineer, systems integrator and automation developer. No course guarantees a job.
Tools
All free: Arduino IDE 2 with the Arduino-ESP32 core 3.x (boards manager URL https://espressif.github.io/arduino-esp32/package_esp32_index.json), the Wokwi online simulator, the PubSubClient, ArduinoJson and ModbusMaster libraries, Eclipse Mosquitto, MQTT Explorer, Node-RED with the FlowFuse Dashboard (Dashboard 2.0), InfluxDB and Grafana. ESP-IDF (Apache 2.0) is introduced for reference. Hardware: optional: most exercises run in the Wokwi simulator; Modbus RTU, TLS to a LAN broker and 4-20 mA faults need real hardware or another tool. To build a real node: an ESP32 development board, a TTL to RS-485 module, a 120 ohm 0.1 percent shunt, a 4-20 mA transmitter or loop calibrator, a 24 V DC supply and a buck converter; an ESP32 Ethernet board (WT32-ETH01 or W5500) is useful but not required.
Updated
ESP32 Industrial IoT: Sensors to MQTT Dashboards course cover
ESP32 Industrial IoT: Sensors to MQTT Dashboards course cover

After this course you can

By the end you will be able to:

  • Plan an ESP32 board's pins for a field job
  • Read 24 V inputs and scale 4-20 mA and 0-10 V signals
  • Poll meters over Modbus RTU and Modbus TCP
  • Publish JSON over MQTT with safe reconnects and TLS
  • Build dashboards and commission a tank level monitor

Who it is for, and what you need first

Who it is for

Electrical, instrumentation and automation technicians and engineers, students and makers who build ESP32 monitoring nodes that bring plant signals to MQTT dashboards.

Level: Beginner. Beginner to intermediate. For electrical, instrumentation and automation technicians and engineers, diploma and engineering students, and makers who want to build industrial monitoring nodes. You need basic electricity (Ohm's law, volts and milliamps); programming is taught from the first sketch. MQTT is covered here as a device programmer needs it; broker design, Sparkplug B and the Unified Namespace are in Industrial DataOps: OPC UA, MQTT and Unified Namespace, and Node-RED in depth is in Node-RED for Industrial IoT.

What you need

Software: All free: Arduino IDE 2 with the Arduino-ESP32 core 3.x (boards manager URL https://espressif.github.io/arduino-esp32/package_esp32_index.json), the Wokwi online simulator, the PubSubClient, ArduinoJson and ModbusMaster libraries, Eclipse Mosquitto, MQTT Explorer, Node-RED with the FlowFuse Dashboard (Dashboard 2.0), InfluxDB and Grafana. ESP-IDF (Apache 2.0) is introduced for reference..

Hardware: Optional: most exercises run in the Wokwi simulator; Modbus RTU, TLS to a LAN broker and 4-20 mA faults need real hardware or another tool. To build a real node: an ESP32 development board, a TTL to RS-485 module, a 120 ohm 0.1 percent shunt, a 4-20 mA transmitter or loop calibrator, a 24 V DC supply and a buck converter; an ESP32 Ethernet board (WT32-ETH01 or W5500) is useful but not required.. What to download, and how.

How this course works

  1. Watch the lessons

    Short video lessons, one module at a time, at your own pace.

  2. Read the notes

    Open the Reading tab for the written notes and diagrams of the module.

  3. Practise in the 3D labOptional

    Try the module in the free 3D lab, in your browser.

  4. Check yourself

    Answer the questions to see what stuck before you move on.

  5. Final assessment

    Pass the final once you have been through the modules.

  6. Certificate, if you want oneOptional

    Optional, with a page anyone can use to verify it.

What you learn

13 modules in order, at your own pace. 20.7 hours of video lessons, with written notes and a practice task in each module.

  1. 1The ESP32 for industrial IoT: chips, boards, Arduino IDE and Wokwi1h 21m
  2. 2Digital I/O: GPIO, interrupts, 24 V inputs, relays and PWM1h 13m
  3. 3Analog inputs: the ESP32 ADC, calibration and external ADCs41m
  4. 44-20 mA and 0-10 V signals: shunts, dividers, scaling and faults, with lab practice: 48m
  5. 5Modbus RTU over RS-485: wiring, frames and polling meters, with lab practice: 55m
  6. 6Networking the node: Wi-Fi, Ethernet and Modbus TCP, with lab practice: 1h 8m
  7. 7MQTT from the ESP32: PubSubClient, JSON, last will and TLS, with lab practice: 1h 19m
  8. 8Firmware that survives the field: watchdogs, tasks and store-and-forward1h 25m
Show the other 5 modules
  1. 9OTA updates and low power: ArduinoOTA, HTTP update and deep sleep1h 5m
  2. 10E3210: Hardware for the panel: 24 V power, protection, EMC and enclosures44m
  3. 11E3211: Dashboards: Mosquitto, Node-RED Dashboard 2.0, InfluxDB and Grafana1h 18m
  4. 12E3212: Capstone: an ESP32 tank level monitor from transmitter to dashboard, with lab practice: 18m
  5. 13E3213: Final assessment

Software you need

What to download, where from, what it costs and how to install it. Every link goes to the maker's own site, never a mirror.

Add the ESP32 boards package in the Arduino IDE boards manager (URL https://espressif.github.io/arduino-esp32/package_esp32_index.json, version 3.x). Also free: the Wokwi simulator at wokwi.com, which runs every exercise without hardware, and MQTT Explorer (mqtt-explorer.com). Install PubSubClient, ArduinoJson and ModbusMaster from the Arduino library manager.

Show what to download (7 tools)

Required

  1. 01

    Arduino IDE 2

    Arduino

    Free
    Runs on
    Windows 10 or later, macOS, Linux (AppImage and ZIP)
    Account
    None needed

    Free, open source; the source code is published on GitHub.

Optional

Useful, not needed to finish the course.

  1. 02

    Eclipse Mosquitto

    Eclipse Foundation

    Free
    Runs on
    Windows (64-bit and 32-bit installers), macOS (Homebrew), Linux (Ubuntu PPA, Debian, Raspberry Pi, Snap)
    Account
    None needed

    Free, open source under the Eclipse Public License and Eclipse Distribution License.

  2. 03

    Node.js

    OpenJS Foundation

    Free
    Runs on
    Windows, macOS and Linux
    Account
    None needed

    Free, open source runtime. npm, the package manager, is installed with it.

  3. 04

    Node-RED

    OpenJS Foundation (Node-RED project)

    Free
    Runs on
    Windows, macOS and Linux (needs Node.js 22 or later; Node.js 24 recommended), or Docker
    Account
    None needed

    Free, open source under the Apache 2.0 licence.

  4. 05

    InfluxDB (open source)

    InfluxData

    Free
    Runs on
    InfluxDB 3 Core: Linux, macOS, Docker. InfluxDB OSS 2.x: Windows, macOS, Linux, Docker, Raspberry Pi (64-bit).
    Account
    None needed

    The open source editions are free. InfluxDB 3 Core is under the MIT and Apache 2 licences and is what InfluxData recommends for new users. InfluxDB OSS 2.x is still offered and includes a web UI.

  5. 06

    Grafana

    Grafana Labs

    Free
    Runs on
    Windows, macOS, Linux (Debian/Ubuntu, RHEL/Fedora, SUSE, ARM64) and Docker
    Account
    None needed

    Grafana OSS is free and open source under AGPLv3. The Grafana Enterprise download is also free to use without a licence key and is functionally identical until you buy an Enterprise licence.

  6. 07

    LibreOffice

    The Document Foundation

    Free
    Runs on
    Windows 10 or 11, macOS 11 or newer (Intel or Apple silicon), Linux
    Account
    None needed
    Size
    up to 1.5 GB of disk space on Windows

    LibreOffice is free, open-source software under the Mozilla Public License 2.0, for any use including business. Calc is its spreadsheet.

    Official download pagelibreoffice.org

Checked against each maker's own page on 27 September 2026. Trial lengths and editions change; the maker's page is the final word.

Practise in the 3D lab

Practise the field-side half of your sensor node: wire a 4 to 20 mA level transmitter, scale it and see why a broken loop must read as a fault.

Isolate, lock and tagWatch

Optional. Skip it whenever you like: it never blocks your progress or your certificate.

Course project, about 16 hours

ESP32 monitoring node for a raw water tank and transfer pump: I/O list, firmware design, MQTT map, SAT and BOM

Design, build and document an ESP32 node that monitors a raw water tank and its transfer pump, in the Wokwi simulator or on hardware. You deliver the I/O list and pin plan, a functional design, the MQTT topic and Modbus register map, a site acceptance test record and a bill of materials. The sample pack shows every document for a pumping station near Johannesburg.

This project at a glance
  1. 5documents in the pack
  2. 6steps to follow
  3. Laboptional: in the 3D lab
  4. 5things to hand in
  5. 16 hof work, at your pace
  • I/O listI/O list and pin plan: TK-301 monitoring node N-301
  • Tag listModbus register map and MQTT topic map for N-301
  • FDSFunctional design specification: N-301 firmware
  • SATSite acceptance test record: N-301 at TK-301
  • BOMBill of materials: N-301 node in the P-301 panel

Do it in the lab: 5 steps.

The project is optional practice. The certificate needs only the modules and the final assessment.

After the course, your next step

Show what you can do, then keep going in the same field.

Sample EDWartens Certificate of Completion for ESP32 Industrial IoT: Sensors to MQTT Dashboards

Sample. The issued certificate carries your name, your final score, a certificate ID and a QR code that opens its verification page.

Optional

A certificate you can verify

Finish the modules and pass the final assessment (15 questions, pass mark 60%) and you can add a certificate with a public verification page. One-off, US$23.99 for you. It is not a vendor credential.

Want a free certificate? Do the matching Free internship: 4 weeks, nothing to buy, with a free certificate of completion.

An engineer in a hard hat checking neat, labelled wiring on I/O racks inside an open control cabinet.
Free · 4 weeks · free certificate

PLC Programming

Eight short weeks of PLC ladder logic on free simulators: notes, diagrams, a few videos and auto-tested tasks. Finish weeks 1 to 4 and the final, then claim a free Internship Completion Certificate with your real dates and study hours, and a QR code anyone can scan to verify it. Training, not employment.

See the internship

Roles that use this skill

  • IIoT engineer
  • Industrial data engineer
  • Systems integrator
  • Automation developer

These are the kinds of roles where the skill is used. We make no promise of a job or an interview.

Plain notes

  • Free: the whole course, the notes, the practice tasks, the final assessment and support from practising engineers.
  • Paid, and optional: the course certificate, and the Engineer-verified internship (the Free internship costs nothing).
  • No job promise: the course teaches a skill. It does not place you in a job.
  • Lessons by: DIY TechRush, Hardware.ai, PrivAI Compute Labs, Programming Electronics Academy, Paul McWhorter, Andreas Spiess, G6EJD - David, How To Electronics, Texas Instruments, RealPars, Werewolf Wu, Impulse Tech, ICP DAS USA, Inc., Antony Cartwright (Electronics & Code), DroneBot Workshop, Yaser Ali Husen, IoT Bhai, OhioIoT, High Voltages, HiveMQ, IoT Frontier, Kolban Technical Tutorials, Simply Explained, Nexperia, Hans Rosenberg, DonskyTech, Steve Cope, Michael Klements. Independent creators; the lessons stream from their own channels. EDWartens wrote the study plan, notes, practice tasks and assessments.

DIY TechRush · Hardware.ai · PrivAI Compute Labs · Programming Electronics Academy · Paul McWhorter · Andreas Spiess · G6EJD - David · How To Electronics · Texas Instruments · RealPars · Werewolf Wu · Impulse Tech · ICP DAS USA, Inc. · Antony Cartwright (Electronics & Code) · DroneBot Workshop · Yaser Ali Husen · IoT Bhai · OhioIoT · High Voltages · HiveMQ · IoT Frontier · Kolban Technical Tutorials · Simply Explained · Nexperia · Hans Rosenberg · DonskyTech · Steve Cope · Michael Klements. If you are one of these creators and want a lesson removed or credited differently, write to info@edwartens.com.

Practise what you learn in the free 3D lab

Technical work is judged on what you can do: wiring, commissioning, finding a fault. Doing a task yourself teaches more than watching it a second time, and a lab lets you try it safely before you meet real equipment. It does not replace working on real hardware.

  • Practise safely, so a mistake costs nothing.
  • The lab checks your work like a site test, so you know when it is right.
  • Free, in your browser, with nothing to install.

Why learn with EDWartens

What you get with this course, and what comes after it.

  • Free from the first lesson to the final assessment.
  • Practice in a free 3D lab in your browser, with nothing to install.
  • Video lessons with written notes and a project.
  • An optional certificate that anyone can verify online.
  • Free internships to keep practising afterwards.

Common questions

What does this ESP32 industrial IoT course teach?

It teaches you to build an ESP32 node that reads real plant signals. These are 24 V contacts, 4-20 mA transmitters and Modbus meters. The node publishes them over MQTT to dashboards and history. Along the way it covers the Arduino-ESP32 3.x core, signal conditioning, Modbus RTU and TCP, MQTT with TLS, watchdogs, OTA updates, panel power and protection, and a tank level monitor capstone.

Who is this ESP32 IoT course for, and what do I need to know first?

It is for electrical, instrumentation and automation technicians and engineers, students and makers who want to build industrial monitoring nodes. You need basic electricity, such as Ohm's law, volts and milliamps. Programming is taught from the first sketch, so no coding experience is assumed.

Do I need an ESP32 board or other hardware?

No. Most exercises run in the free Wokwi simulator, including Wi-Fi and MQTT. The Modbus RTU, TLS and 4-20 mA fault exercises need real hardware or another tool. A real ESP32 board, an RS-485 module, a 120 ohm shunt and a loop calibrator make the hardware modules hands-on. They are inexpensive, but they are optional.

What software does the course use, and is it free?

Yes, everything is free. You use Arduino IDE 2 with the Arduino-ESP32 3.x core, Wokwi, the PubSubClient, ArduinoJson and ModbusMaster libraries, Eclipse Mosquitto, MQTT Explorer, Node-RED with Dashboard 2.0, InfluxDB and Grafana. All code in the notes is written for the current 3.x core.

Is the course free to learn, and how long does it take?

Yes. The lessons, notes, worked problems, practice tasks, project and final assessment are free to learn. It takes about 21 hours at your own pace, including about 13.3 hours of video. The optional project adds about 16 hours.

What certificate do I get, and how is it verified?

You get a verifiable certificate of completion from EDWartens when you finish every module and pass the 15-question final at 60 percent. It has a unique certificate number and a QR code. These open a public verification page showing the course, the modules covered and your final score. It is not a credential from Espressif, Arduino or the Modbus standards body.

Which standards and protocols does the course follow?

It follows the Modbus RTU and TCP specifications, MQTT (ISO/IEC 20922) and TIA/EIA-485 for RS-485. It also follows NAMUR NE 43 for 4-20 mA fault currents, the IEC 61000-4 and IEC 61000-6 series for surge and EMC, and IEC 60529 for IP ratings. All are explained in our own words. Water utilities, solar plants and factories apply the same rules from the Gulf to Africa and Asia.

How is this different from the Industrial DataOps, Node-RED and OpenPLC courses?

This course builds the device: the sensor wiring, firmware and protection that turn field signals into reliable MQTT data. Industrial DataOps covers what happens at plant scale (OPC UA, Sparkplug B, Unified Namespace). Node-RED for Industrial IoT goes deep into Node-RED. OpenPLC teaches control in IEC 61131-3 on the same hardware.

Do I have to use the lab?

No. The lab is optional practice. You can skip it whenever you like, and it never blocks your progress, the final assessment or your certificate.

Is the lab free?

Yes. Every lab level for this course opens in your browser, free, with nothing to install.

What topics does the ESP32 Industrial IoT: Sensors to MQTT Dashboards course cover, module by module?

The ESP32 Industrial IoT: Sensors to MQTT Dashboards course has 13 modules. It opens with "The ESP32 for industrial IoT: chips, boards, Arduino IDE and Wokwi", goes through "Digital I/O: GPIO, interrupts, 24 V inputs, relays and PWM", "Modbus RTU over RS-485: wiring, frames and polling meters", "OTA updates and low power: ArduinoOTA, HTTP update and deep sleep" and "E3212: Capstone: an ESP32 tank level monitor from transmitter to dashboard" and ends with "E3213: Final assessment". The full list with minutes is under "What you learn" on this page.

What can I do after the ESP32 Industrial IoT: Sensors to MQTT Dashboards course?

After the ESP32 Industrial IoT: Sensors to MQTT Dashboards course: Plan ESP32 pins for a field node around flash, strapping, input-only and ADC2 rules; Read 24 V contacts through optocouplers, count pulses with interrupts and drive relays and LEDC PWM on the 3.x core; Read calibrated millivolts, scale 4-20 mA and 0-10 V signals and report NAMUR NE 43 faults. These are the practical outcomes the course is written around, and the final assessment of 15 questions checks them.

What software and hardware do I need for the ESP32 Industrial IoT: Sensors to MQTT Dashboards course, and does it cost anything?

For the ESP32 Industrial IoT: Sensors to MQTT Dashboards course, software: All free: Arduino IDE 2 with the Arduino-ESP32 core 3.x (boards manager URL https://espressif.github.io/arduino-esp32/package_esp32_index.json), the Wokwi online simulator, the PubSubClient, ArduinoJson and ModbusMaster libraries, Eclipse Mosquitto, MQTT Explorer, Node-RED with the FlowFuse Dashboard (Dashboard 2.0), InfluxDB and Grafana. ESP-IDF (Apache 2.0) is introduced for reference. Hardware: optional: most exercises run in the Wokwi simulator; Modbus RTU, TLS to a LAN broker and 4-20 mA faults need real hardware or another tool. To build a real node: an ESP32 development board, a TTL to RS-485 module, a 120 ohm 0.1 percent shunt, a 4-20 mA transmitter or loop calibrator, a 24 V DC supply and a buck converter; an ESP32 Ethernet board (WT32-ETH01 or W5500) is useful but not required. The course itself is free.

Is the ESP32 Industrial IoT: Sensors to MQTT Dashboards course suitable for me, and what level is it?

ESP32 Industrial IoT: Sensors to MQTT Dashboards is rated beginner. Beginner to intermediate. For electrical, instrumentation and automation technicians and engineers, diploma and engineering students, and makers who want to build industrial monitoring nodes. You need basic electricity (Ohm's law, volts and milliamps); programming is taught from the first sketch. MQTT is covered here as a device programmer needs it; broker design, Sparkplug B and the Unified Namespace are in Industrial DataOps: OPC UA, MQTT and Unified Namespace, and Node-RED in depth is in Node-RED for Industrial IoT. It is written for electrical, instrumentation and automation technicians and engineers, students and makers who build ESP32 monitoring nodes that bring plant signals to MQTT dashboards, and takes about 20.7 hours at your own pace.

Which jobs use the skills from the ESP32 Industrial IoT: Sensors to MQTT Dashboards course?

Skills from the ESP32 Industrial IoT: Sensors to MQTT Dashboards course (for example: plan ESP32 pins for a field node around flash, strapping, input-only and ADC2 rules) are used in roles such as IIoT engineer, industrial data engineer, systems integrator and automation developer, and in IIoT technician work. The course gives you practical evidence of the skill; it does not promise a job, and employers decide on experience and interview.

Start free today

ESP32 Industrial IoT: Sensors to MQTT Dashboards, at your own pace. Add the certificate only if you want one.