Learn IoT, in order

Lessons in order, each building on the last. Every lesson states its objectives, shows a diagram and ends with an exercise. Every code block is built or run in CI with pinned toolchains, and each page shows the test tier it reached.

Beginner

10 lessons

From blinking an LED to a sensor that reports over Wi-Fi.

What an IoT system is

The four parts of every IoT system, one real temperature sensor traced from chip to phone, where decisions belong (edge or cloud) and where each hop fails.

20 min · concepts

Choosing your first board

Pick a first IoT board by criteria, not rankings: radios, SDK maturity with versions, power with conditions, price with a date, and lifecycle status, applied to four current kits.

25 min · concepts

Toolchains and your first flash

Arduino, ESP-IDF and MicroPython side by side on the ESP32-C5-DevKitC-1: install, build, flash, and read the serial monitor, with tested hello and blink code for each.

45 min · esp-idf, arduino, micropython

GPIO, timers and interrupts

Read a button and blink an LED without blocking: GPIO pull-ups, interrupts that do almost nothing, debouncing by quiet time, and timers in ESP-IDF, Arduino and the Pico SDK.

40 min · esp-idf, arduino, pico-sdk

A sensor over I²C

Wire a Sensirion SHT4x to the ESP32-C5, size the pull-ups, scan the bus, read the datasheet for every command and timing, check the CRC, and keep the board's heat out of the reading.

45 min · esp-idf, python

Wi-Fi and your first request

Join a 2.4 or 5 GHz network on the ESP32-C5 with ESP-IDF v6.1.1, reconnect with jittered back-off, keep credentials out of git and make an HTTP request to your own computer.

45 min · esp-idf

MQTT basics

Run a password-protected Mosquitto broker on your own computer, publish from the ESP32-C5 with a last will, and see retained messages and QoS behave in a test that runs without hardware.

60 min · esp-idf, mqtt, python

Power and sleep

Put the ESP32-C5 into deep sleep, wake it on a timer, and see which parts of the DevKitC-1 draw current the chip datasheet leaves out, with a battery-life estimate from a committed script.

50 min · esp-idf, python

A local dashboard

Show your sensor readings on a web page served from your own network, with no cloud account: a small tested Python service, or a Home Assistant MQTT sensor configured in YAML.

45 min · python, mqtt, home-assistant

Printing an enclosure

Design a 3D-printed enclosure for an ESP32-C5 sensor from the official drawings: parametric source, print tolerances, venting for the sensor, a 15 mm antenna keep-out and what filament does near the antenna.

40 min · openscad