pyboard

Damien George’s board, and still the reference STM32 machine. Buy from the official store.

Boards

Board

ItemDetail
ChipSTM32F405RG (v1.1) — later D-series use other STM32 parts
FirmwarePYBV11 and Pyboard D variants
REPLUSB VCP
APIsmachine plus legacy pyb

Load firmware

v1.1 uses DFU: hold the boot switch, plug in, dfu-util or the Windows DFU tool from the download page. Pyboard D boards follow the instructions next to their UF2/DFU file.

import pyb
led = pyb.LED(1)
led.toggle()

Prefer machine.Pin for new work so scripts move to Pico and ESP32. STM32 PWM and CAN: 1.28 notes.