MicroPython
Python 3 for microcontrollers. Learn the language, flash a board, run the examples, and keep every useful link in one place.

About
MicroPython is a lean Python 3 compiler and virtual machine for microcontrollers. micropython.com is an independent reference to it, covering the language, worked examples, devices, tools, news and a categorised pile of resources. The official firmware and documentation stay at micropython.org.
The playgrounds run the official firmware on emulated boards from Emulators, so you can try code on a Pico, an ESP32 or a micro:bit without owning one.
Features
Learn the language
Syntax and the differences from Python 3, the libraries, the internals, ports and embedding the interpreter.
Try it in the browser
The official firmware running on emulated boards, so you can try code without owning a board.
Ready-to-run examples
From blink and PWM to Wi-Fi, MQTT and small projects that run on a board or in an emulator.
Every board
Ports and boards, from the Raspberry Pi Pico and ESP32 to the pyboard, nRF, SAMD and the desktop.
Tools
An editor, emulators, interpreters and kits for embedding MicroPython in other programs.
News and resources
Releases and community news, and a categorised list of libraries, IDEs, books, tutorials and firmware.
Screenshots
MicroPython
Learn the language, flash a board, run the examples, and find every useful link in one place. Visit micropython.com ↗
Playground
Run MicroPython in the browser on emulated Pico, ESP32, ESP8266, Thumby and micro:bit boards. Open the playground ↗
A Pico in the browser
The official firmware running on an emulated Raspberry Pi Pico: type at the REPL, and turning on pin 25 lights the board's LED. Try the Pico ↗
The language
A Python 3 compiler and virtual machine for microcontrollers: syntax, libraries, internals, ports and embedding. Read about the language ↗
Examples
Short examples for the language, hardware, networking and small projects, each ready to paste into a REPL. See the examples ↗
Devices
The ports and boards, from the Raspberry Pi Pico and ESP32 to STM32, SAMD, nRF and the desktop, with links to their firmware. See the devices ↗
Contents
The sections of micropython.com, and the pages in each.
Technologies
- Python - Generating the site's pages
- WASM - The emulated boards in the playgrounds, running the official firmware
- JavaScript - The playgrounds