Raspberry Pi Pico

RP2040, 2 MB flash, no radio. The default first MicroPython board.

Boards

Board

ItemDetail
ChipRP2040, dual Cortex-M0+ @ 133 MHz
RAM / flash264 KB SRAM, 2 MB flash on the Pico module
FirmwareRPI_PICO UF2
REPLUSB CDC, 115200
LEDPin("LED") — GPIO 25
Playgroundemulators.org Pico MicroPython

Flash

  1. Hold BOOTSEL, plug the Pico into USB. A drive named RPI-RP2 appears.
  2. Copy the UF2 from RPI_PICO.
  3. The drive disappears; a serial port appears. Open it with Thonny or mpremote.
mpremote connect auto exec "import os; print(os.uname())"

First script

from machine import Pin
from time import sleep
led = Pin('LED', Pin.OUT)
while True:
    led.toggle()
    sleep(0.25)

Same program in the browser REPL. More: hardware examples.