Raspberry Pi Pico — First Steps with MicroPython
Raspberry Pi Pico — First Steps with MicroPython The Pico is a microcontroller (not a Linux computer). It runs MicroPython and is ideal for always-on sensor and automation projects. Models Pico — $4, no wireless Pico W — $6, Wi-Fi + Bluetooth Pico 2 — newer RP2350 chip, more power Install MicroPython 1. Download .uf2 from micropython.org/download/rp2-pico 2. Hold BOOTSEL button on Pico 3. Connect via USB — Pico appears as USB drive 4. Drag .uf2 onto drive 5. Pico reboots into MicroPython Thonny IDE Download from thonny.org. Bottom-right: select MicroPython (Raspberry Pi Pico). Blink the Built-in LED python from machine import Pin import time led = Pin("LED", Pin.OUT) while True: led.toggle() time.sleep(0.5) Read a Button python from machine import Pin import time button = Pin(14, Pin.IN, Pin.PULLDOWN) led = Pin(15, Pin.OUT) while True: led.value(button.value()) time.sleep(0.01) Pico W — Connect to Wi-Fi python import network, time wlan = network.WLAN(network.STAIF) wlan.active(True) wlan.connect("YourSSID", "YourPassword") while not wlan.isconnected(): time.sleep(0.5) print(f"Connected: {wlan.ifconfig()}") Pico vs Full Raspberry Pi No Linux OS — just MicroPython No HDMI 3.3V GPIO (more tolerant than full Pi) Perfect for embedded sensor projects
Related Guides
- Raspberry Pi Pico
- Raspberry Pi Pico W
- Raspberry Pi Pico 2
- Raspberry Pi Pico 2 W
- CircuitPython for Makers: Getting Started on ESP32 and Raspberry Pi Pico
- How to Install Klipper on Any 3D Printer: Complete Setup Guide
- How to Set Up OpenCV Machine Vision on a Raspberry Pi
- Raspberry Pi: Complete Headless Setup Guide (No Monitor Needed)