MicroPython

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

MicroPython, Python 3 for microcontrollers

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.

What is there

Language

Syntax and the differences from Python 3, the libraries, the internals, ports and embedding the interpreter.

Examples

From blink and PWM to Wi-Fi, MQTT and small projects that run on a board or in an emulator.

Devices

Ports and boards, from the Raspberry Pi Pico and ESP32 to the pyboard, nRF, SAMD and the desktop.

PlaygroundsFirmware newsLibraries & IDEsBooks & tutorials

More guides