Pins and PWM
Read a button with the pin’s own pull-up, catch the moment it is pressed, and set an LED to any brightness with PWM.
Open it in the simulatorPython on an ESP32 DevKit: the REPL and blink, pins and PWM, the ADC, timers and interrupts, I2C sensors, WiFi in five lines, and a lamp you switch from a web page.
0 of 7 done
7 lessons in 4 chapters, about 5 hours on a simulated ESP32 DevKit V1. Free, in your browser, every step checked by the simulator.
Read a button with the pin’s own pull-up, catch the moment it is pressed, and set an LED to any brightness with PWM.
Open it in the simulatorA hardware timer blinks an LED on its own, an interrupt counts button presses the instant they happen, and you meet contact bounce and beat it.
Open it in the simulatorJoin a network, get an address, read the signal, fetch JSON from a server, post your own, and see what a wrong password looks like.
Open it in the simulatorEach lesson opens when the one before it is done, and each chapter ends in a project.
Blink and the REPL, then buttons and PWM brightness.
Blink an LED from main.py, then type Python straight into the ESP32: math, a pin by hand, and a question for the chip itself.
0 of 6 steps
Read a button with the pin’s own pull-up, catch the moment it is pressed, and set an LED to any brightness with PWM.
0 of 6 steps
Read a knob with the ADC, and let timers and interrupts do the waiting.
A knob makes a voltage, the ADC turns it into a number, and that number drives an LED. Then the trap every ESP32 beginner falls in: attenuation.
0 of 6 steps
A hardware timer blinks an LED on its own, an interrupt counts button presses the instant they happen, and you meet contact bounce and beat it.
0 of 6 steps
Two chips on I2C, then WiFi, JSON and HTTP.
Two chips share two wires: scan the bus, read a register by hand, turn a BME280’s raw numbers into weather, and draw it on an OLED.
0 of 6 steps
Join a network, get an address, read the signal, fetch JSON from a server, post your own, and see what a wrong password looks like.
0 of 6 steps
A web lamp with a button, a socket server and a self-test.
Everything at once: a socket server on port 80, a page that switches a lamp, a button that does too, and a self-test that proves the logic before the server starts.
0 of 6 steps
All 7 lessons, in order, each with what it covers. Any of them opens in the editor right away.
Every lesson runs in the simulator with nothing to buy. When you want the real thing, these kits have the parts.
Pick the starter kit you own and run every lesson in its manual with the same parts on the same pins.
See every kitYes. All 7 lessons of MicroPython on the ESP32 are free and run in your browser, with nothing to install and no parts to buy before you start.
No. Every lesson runs on a simulated ESP32 DevKit V1 with its parts on the canvas, and the simulator checks each step as you go. When you want to build it for real, the same wiring and code work on a real board.
About 5 hours: 7 lessons in 4 chapters, each one a few short steps. Your progress is kept, so you can stop after any lesson and pick up where you left off.
Each chapter ends in a project that puts it together: Pins and PWM, Timers and interrupts and WiFi in five lines.
With "REPL and blink", and each lesson builds on the one before it. New to circuits? Electronics basics is the course that starts from zero.