Skip to content

Installing MicroPython on Raspberry Pi Pico & Pico W : Turn Your Pico into a Python Powerhouse

micropython

Table of Contents

Drag & Drop

  1. Download the respective UF2 micropython firmware file for the board. (for this article, pico w board is selected) download uf2
  2. Connect Pico board to computer via USB, press and hold the boot-select button.
  3. Release the boot-select button after pico appears as a storage device. pico_storage
  4. Copy and paste (drag & drop) the downloaded UF2 file on to the device. alt text
  5. Pico board reboots, once the file transfer is completed.
  6. Now your board is ready to start coding in micro python.

Troubleshooting

  • Check the Micro USB cable used supports data transfer.

Using Thonny Python IDE

1) Open the Thonny application

Thonny Editor

Thonny editor

2) Connect Pico board to the computer via USB.

3) Choose the Interpreter from Tools > Options > Interpreter

Editor Options

4) Select the firmware you want to install.

choose firmware

5) Choose detect port automatically option or the USB port, pico is connected.

auto detect board

6) Click on install or update firmware option.

install_update

7) Check the target device location option and device model details.

8) Click on Install button.

install_button

9) Once done installing firmware close the option menu and select the device model from the right bottom corner.

10) After successfully selecting the device, you will be greeted with the MicroPython Interpreter.

interpreter