Buttons and if
Read a button with a pull-up, make a choice with if and else, and print only when something changes.
Open it in the simulatorReal Python on a Raspberry Pi Pico: blink and the REPL, buttons and if, loops and PWM, a knob on the ADC, lists and functions on an LED bar, an OLED on I2C, and a reaction game boss.
0 of 7 done
7 lessons in 4 chapters, about 3 hours on a simulated Raspberry Pi Pico. Free, in your browser, every step checked by the simulator.
Read a button with a pull-up, make a choice with if and else, and print only when something changes.
Open it in the simulatorA knob on GP26 turns into a number with ADC, and that number sets the LED brightness. Then a little math turns it into a percent.
Open it in the simulatorTwo wires carry a whole conversation: find the OLED and a weather sensor on I2C, then draw text on the screen.
Open it in the simulatorEach lesson opens when the one before it is done, and each chapter ends in a project.
Blink two LEDs, type Python live into the board, and make choices with if.
Your first MicroPython program blinks two LEDs, then you type Python straight into the board with the REPL.
0 of 4 steps
Read a button with a pull-up, make a choice with if and else, and print only when something changes.
0 of 4 steps
Fade with a for loop and PWM, and read a knob with the ADC.
A for loop with range() steps an LED from dark to bright and back, using PWM to fake the levels in between.
0 of 4 steps
A knob on GP26 turns into a number with ADC, and that number sets the LED brightness. Then a little math turns it into a percent.
0 of 4 steps
Lists and functions on an LED bar, and text on an OLED over I2C.
Six LEDs in one list, and two small functions that turn a number into a moving dot or a growing bar.
0 of 4 steps
Two wires carry a whole conversation: find the OLED and a weather sensor on I2C, then draw text on the screen.
0 of 4 steps
A reaction timer with a random wait, a cheat catcher and a best score.
Wait for the light, then hit the button. Functions, if, loops, random and the board clock come together in one game that keeps your best score.
0 of 4 steps
All 7 lessons, in order, each with what it covers. Any of them opens in the editor right away.
MicroPython on the Pico is part of the embedded track, a ladder of courses from zero to expert.
WiFi, APIs, a web server, MQTT, ESP-NOW and BLE on the ESP32, and a device that keeps going when the network does not.
Open the next courseArduino, ESP32, Raspberry Pi Pico and STM32: pins, timing, buses, motors, WiFi, registers and debugging, every lesson checked on a simulated board.
See every course on the trackEvery 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 Pico 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 Raspberry Pi Pico 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 3 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: Buttons and if, Read a sensor with the ADC and I2C to an OLED screen.
With "Blink, and talk to the board", and each lesson builds on the one before it. New to circuits? Electronics basics is the course that starts from zero.