Class 25 — Meet the Pico 2¶
Example page
This page demonstrates the per-class template with brief, neutral placeholder text. It is not final lesson content.
Python focus: Flashing MicroPython onto a new board; running a first script on real hardware Electronics focus: Touring the Raspberry Pi Pico 2 (RP2350) — pinout, onboard LED, power input Kit materials: Raspberry Pi Pico 2, micro-USB cable, computer with Thonny installed
Demo¶
The instructor flashes MicroPython onto a fresh Pico 2, opens Thonny, and blinks the onboard LED — showing that everything learned on the breadboard so far now runs on dedicated hardware.
Code-Along¶
Students flash their own board, connect in Thonny, and run a short script that blinks the onboard LED a set number of times.
Independent Practice¶
Students modify the blink timing and pattern, then identify key pins on the board pinout diagram.
Show & Tell¶
Each student demonstrates their custom blink pattern and names one advantage of the Pico 2 over the breadboard-only setup so far.
Code for this class¶
from machine import Pin
import time
led = Pin(25, Pin.OUT)
for _ in range(5):
led.toggle()
time.sleep(0.5)