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


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
Watch the lessons
Short video lessons, one module at a time, at your own pace.
Read the notes
Open the Reading tab for the written notes and diagrams of the module.
Practise in the 3D labOptional
Try the module in the free 3D lab, in your browser.
Check yourself
Answer the questions to see what stuck before you move on.
Final assessment
Pass the final once you have been through the modules.
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.
- 1The ESP32 for industrial IoT: chips, boards, Arduino IDE and Wokwi1h 21m
- 2Digital I/O: GPIO, interrupts, 24 V inputs, relays and PWM1h 13m
- 3Analog inputs: the ESP32 ADC, calibration and external ADCs41m
- 44-20 mA and 0-10 V signals: shunts, dividers, scaling and faults, with lab practice: 48m
- 5Modbus RTU over RS-485: wiring, frames and polling meters, with lab practice: 55m
- 6Networking the node: Wi-Fi, Ethernet and Modbus TCP, with lab practice: 1h 8m
- 7MQTT from the ESP32: PubSubClient, JSON, last will and TLS, with lab practice: 1h 19m
- 8Firmware that survives the field: watchdogs, tasks and store-and-forward1h 25m
Show the other 5 modules
- 9OTA updates and low power: ArduinoOTA, HTTP update and deep sleep1h 5m
- 10E3210: Hardware for the panel: 24 V power, protection, EMC and enclosures44m
- 11E3211: Dashboards: Mosquitto, Node-RED Dashboard 2.0, InfluxDB and Grafana1h 18m
- 12E3212: Capstone: an ESP32 tank level monitor from transmitter to dashboard, with lab practice: 18m
- 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
- 01Free
Arduino IDE 2
Arduino
- Runs on
- Windows 10 or later, macOS, Linux (AppImage and ZIP)
- Account
- None needed
Free, open source; the source code is published on GitHub.
Steps
- 1.Open arduino.cc/en/software and download Arduino IDE 2 for your operating system.
- 2.Install it and start it.
- 3.For an ESP32, open File, Preferences, and add the Espressif boards URL given in Espressif's arduino-esp32 documentation; then install esp32 in Boards Manager.
- 4.Connect the board by USB, choose it under Tools, Board and Port, and upload the Blink example to check the set-up.
- 5.To run an Edge Impulse model, use Sketch, Include Library, Add .ZIP Library with the library exported from Edge Impulse.
- If the port does not appear on Windows, install the USB to serial driver for your board's chip (CP210x or CH340).
- The legacy IDE 1.8.19 is still offered for old computers, but the course uses IDE 2.
Official download pagearduino.cc
Optional
Useful, not needed to finish the course.
- 02Free
Eclipse Mosquitto
Eclipse Foundation
- 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.
Steps
- 1.Open mosquitto.org/download.
- 2.On Windows, download the 64-bit installer and run it. On macOS run: brew install mosquitto. On Ubuntu run: sudo apt-add-repository ppa:mosquitto-dev/mosquitto-ppa, then sudo apt-get update and sudo apt-get install mosquitto mosquitto-clients.
- 3.Start the broker by running: mosquitto -v
- 4.In a second terminal, subscribe with: mosquitto_sub -t test, and in a third publish with: mosquitto_pub -t test -m hello
- By default Mosquitto 2 only accepts connections from the same computer. To allow other devices, add a listener and authentication settings to mosquitto.conf.
- Use a lab network only. Do not expose an open broker to the internet.
Official download pagemosquitto.org - 03Free
Node.js
OpenJS Foundation
- Runs on
- Windows, macOS and Linux
- Account
- None needed
Free, open source runtime. npm, the package manager, is installed with it.
Steps
- 1.Open nodejs.org/en/download.
- 2.Choose the LTS (long-term support) version and your system.
- 3.Download and run the installer with the default options.
- 4.Open a new terminal and run: node -v and then npm -v
- Pick LTS, not Current, unless your course says otherwise.
- Some tools need a minimum Node.js version. Node-RED 5 needs Node.js 22 or later.
Official download pagenodejs.org - 04Free
Node-RED
OpenJS Foundation (Node-RED project)
- 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.
Steps
- 1.Install Node.js LTS from nodejs.org.
- 2.On Windows run: npm install -g node-red (on macOS or Linux run: sudo npm install -g node-red).
- 3.Start it by running: node-red
- 4.Open http://localhost:1880 in your browser to use the editor.
- With Docker, run: docker run -it -p 1880:1880 --name mynodered nodered/node-red
- Leave the terminal window open while you use Node-RED.
Official download pagenodered.org - 05Free
InfluxDB (open source)
InfluxData
- 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.
Steps
- 1.Open influxdata.com/downloads and choose InfluxDB 3 Core or InfluxDB OSS 2.x (use the one your course names).
- 2.Pick your platform and follow the install commands shown (Docker is simplest).
- 3.For OSS 2.x, start the server with: influxd
- 4.Open http://localhost:8086 and set up your first user, organisation and bucket, then save the API token it shows.
- The API token is shown once. Store it safely.
- Grafana can read from InfluxDB for dashboards.
Official download pageinfluxdata.com - 06Free
Grafana
Grafana Labs
- 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.
Steps
- 1.Open grafana.com/grafana/download and choose the edition (Enterprise is recommended by Grafana and is free to use; OSS is fine too).
- 2.Pick your platform and download the installer or package.
- 3.Install and start the Grafana service.
- 4.Open http://localhost:3000 and sign in with the default admin account (admin / admin), then set a new password.
- 5.Add a data source, such as InfluxDB, and build your first dashboard.
- Change the default admin password straight away.
Official download pagegrafana.com - 07Free
LibreOffice
The Document Foundation
- 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.
Steps
- 1.Open the LibreOffice download page.
- 2.Check the page has picked your operating system, then select Download.
- 3.Run the installer (administrator rights are needed on Windows).
- 4.Start LibreOffice Calc for spreadsheet work.
- 5.Save as .xlsx if you need to share files with Excel users.
- Choose the latest main version unless your organisation asks for the older, more conservative release.
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.
- Commission the 4-20 mA level loopElectrical labOpen in the lab (opens in a new tab): Commission the 4-20 mA level loop
- Loop checkProcess lab, about 35 minOpen in the lab (opens in a new tab): Loop check
- Plant data to the dashboard: Modbus, OPC UA and MQTTProcess lab, about 60 minOpen in the lab (opens in a new tab): Plant data to the dashboard: Modbus, OPC UA and MQTT
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.
- 5documents in the pack
- 6steps to follow
- Laboptional: in the 3D lab
- 5things to hand in
- 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.
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.

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 internshipMore free courses
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.