MicroPython

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

Start learning Open a playground Pick a device

Explore

Run it now

These boards already have a MicroPython REPL in the browser on emulators.org. No cable, no flash tool.

Latest news

Release6 April 2026

MicroPython 1.28

PWM on STM32 and Alif, a common machine.CAN API, PEP 750 template strings, and the weakref module.

Release10 December 2025

MicroPython 1.27

ESP32-C5, ESP32-P4 and STM32U5 land, plus the port tier levels that say how complete a port is.

All news

What is MicroPython?

MicroPython is a complete Python 3 compiler and runtime that fits in a few hundred kilobytes of flash. You write the same language you use on a laptop — functions, classes, exceptions, async — and you talk to hardware through modules such as machine, network and bluetooth.

Firmware is built per board. A Raspberry Pi Pico, an ESP32 and a pyboard all run the same bytecode VM; what changes is the C port, the pin map, and which libraries are compiled in. That is why this site is organised by language, then device, then examples that name the peripherals they need.

The core is MIT licensed. You can read it, fork it, embed it, and ship it. Third-party drivers and docs keep their own licences — the resources pages flag those.

Frequently asked questions

What is MicroPython?

A lean Python 3 implementation for microcontrollers and other small systems. See the language and learn.

How is it different from CPython?

Same language family, smaller library, some implementation limits, and hardware APIs instead of a desktop OS. The official list of differences lives in the docs; we summarise it under syntax and libraries.

How is it different from CircuitPython?

CircuitPython is Adafruit’s fork, aimed at USB-drive workflows and a friendlier hardware API. MicroPython is upstream: more ports, tighter default builds, official firmware at micropython.org/download.

Which board should I buy?

Start with a Pico or Pico W. Move to ESP32 when you want Wi-Fi and Bluetooth on one module. The devices section lists the rest by port.