What you need
- An original Raspberry Pi Pico with an RP2040 chip, not Pico W or Pico 2 W.
- A Micro-USB data cable and a computer with internet access.
- VS Code with PlatformIO IDE. The onboard LED is enough; no soldered headers or external circuit are required.

Pico GPIO uses 3.3 V and is not 5 V tolerant. Leave external circuits disconnected for this example. Use the separate Pico 2 W guide for that board; these firmware files are not interchangeable.
Setup
Install the editor and extension
Install VS Code. In Extensions, search for PlatformIO IDE by PlatformIO, install it, and let its setup finish. Already completed the Uno setup? Keep that installation; only the downloaded board project changes.
Identify the original Pico
Check the RP2040 marking and the board name. This project uses PlatformIO's
picotarget with Arduino-mbed. Keep the supplied environment for this exercise; changing the Arduino core or board target changes the build.
Your first program
The onboard LED flashes every half-second while the USB serial connection sends a heartbeat once per cycle.
#include <Arduino.h>
#ifndef ARDUINO_RASPBERRY_PI_PICO
#error "Use the original RP2040 Pico environment."
#endif
void setup() {
pinMode(LED_BUILTIN, OUTPUT);
Serial.begin(115200);
}
void loop() {
digitalWrite(LED_BUILTIN, HIGH);
delay(500);
digitalWrite(LED_BUILTIN, LOW);
delay(500);
Serial.println("Engineering Club: original Pico heartbeat");
}
platformio.ini
[env:pico]
platform = raspberrypi@1.20.0
board = pico
framework = arduino
monitor_speed = 115200
Open the complete project
Download and extract the ZIP. In VS Code, choose File → Open Folder… and open the extracted folder containing
platformio.iniandsrc. Check that the configuration saysboard = pico; the source usesLED_BUILTINfor the original Pico's GP25 LED.Build the firmware
Choose Project Tasks → pico → General → Build, or run the command below in a PlatformIO terminal. Wait for SUCCESS. The output you will copy is
.pio/build/pico/firmware.uf2inside this project. Building alone does not change the board.pio run -e picoCopy the UF2 to the board
Disconnect USB. Hold BOOTSEL while reconnecting the Micro-USB data cable, then release it when the RPI-RP2 drive appears. Copy
.pio/build/pico/firmware.uf2to that drive. The drive should disappear as the Pico reboots into your program. This replaces its previous firmware; do not copy a Pico 2 W UF2.
Verify it works
The onboard LED should blink with half a second on and half a second off. After the board reboots, open PlatformIO Monitor at 115200 baud, or use the command below. Select the new application serial port, not the BOOTSEL storage drive. Expect the heartbeat to repeat about once a second; press Ctrl+C to close the terminal monitor.
pio device monitor -b 115200Engineering Club: original Pico heartbeatTroubleshooting
- RPI-RP2 does not appear
Disconnect USB and try again with BOOTSEL held before connection. Use a known data cable. The original Pico uses native USB; installing a CH340 driver does not fix this connection.
- No firmware.uf2 after Build
Read the first build error and wait for dependency installation to finish. Use the supplied
picoenvironment. Do not copy an old UF2 from another project.- Blink works but serial is blank
Wait for the application USB port to appear after reboot, then reopen Monitor on that port at 115200 baud.
- Toolchain packages no longer install
Keep the exact supplied configuration and capture the package error for a club lead. This reviewed workflow uses Arduino-mbed; upstream Mbed's maintenance sunset means long-term toolchain support needs review before starting a new project.