
How it works
A real RP2040 (Cortex-M0+ at 125 MHz) boots the unmodified official MicroPython image: the banner in the Serial panel is the real firmware talking. The script in Code then runs automatically: Pin(2, Pin.OUT) toggles GP2 every 200 ms and the onboard LED follows. The USB cable supplies VSYS at about 4.7 V through the board’s diode; the red jumper connects VSYS to the otherwise unpowered + rail. The Pico's onboard regulator makes the 3.3 V rail you can measure on the 3v3 pin, and because this is 3.3 V logic the LED needs only a 150 Ω series resistor to hit a sensible current.
What's on the bench
- LED
- Pi Pico
- Resistor
How it's wired
- hole a28→hole B+23
- hole j27→hole T-22
- hole j26→hole i33
- hole j38→hole T-31
The code
This MicroPython script runs on the emulated board every boot; edit it in Code.
from machine import Pin import time print('blinking GP2 and the onboard LED from MicroPython') led = Pin(2, Pin.OUT) onboard = Pin(25, Pin.OUT) while True: led.toggle() onboard.value(led.value()) time.sleep_ms(200)
Try this
- Hover the 3v3 pin: the onboard regulator holds ~3.3 V from the USB-fed VSYS supply.
- Probe GP2 with the Scope: the square wave tops out at 3.3 V, not 5 V. This is a 3.3 V board.
- Hover VSYS and then a GND pin to trace the power path into the board.
- Unplug the USB cable in the Inspector and watch the board stop blinking, then click the USB unplugged tag beside the board to reconnect it.
- In Code, change time.sleep_ms(200) to 50 and press Run on board: the LED blinks four times faster.



