2. Switch to MicroPython
Raspberry Pi Pico is set up, by default, for use with the C/C++ Software Development Kit (SDK). The C/C++ SDK is an extremely flexible and powerful way to interact with your Raspberry Pi Pico. However, there’s a more beginner-friendly method: MicroPython.
Hold down the small button on your Raspberry Pi Pico marked ‘BOOTSEL’ and connect Pico to your computer using the USB cable. (We are using a Raspberry Pi). Wait a few seconds, then let go of the BOOTSEL button. You will see your computer mount a removable drive. Click OK in the ‘Removable medium is inserted’ window to open Raspberry Pi Pico’s on-board storage.
3. Install the UF2 firmware
Double-click the INDEX.HTM file shown in Pico’s mounted storage. Your browser will open and display the Raspberry Pi Documentation web page. Select ‘MicroPython’, then click the option to download the correct MicroPython firmware for your board (Pico or Pico W). It’s a small file, so it’ll only take a few seconds.
Open File Manager and locate the.uf2 file in the Downloads folder. Drag-and-drop the UF2 file to the Raspberry Pi Pico’s removable drive (named ‘RPI-RP2’). After a few seconds, the drive will disappear as the new MicroPython firmware is recognised and installed.
You'll need:
Computer (Raspberry Pi, Mac, or PC)
Micro-USB cable