Installing MicroPython on Raspberry Pi Pico & Pico W : Turn Your Pico into a Python Powerhouse
Table of Contents
MicroPython firmware Download links
Drag & Drop
- Download the respective UF2 micropython firmware file for the board. (for this article, pico w board is selected)
- Connect Pico board to computer via USB, press and hold the
boot-select
button. - Release the boot-select button after pico appears as a storage device.
- Copy and paste (drag & drop) the downloaded UF2 file on to the device.
- Pico board reboots, once the file transfer is completed.
- 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
2) Connect Pico board to the computer via USB.
3) Choose the Interpreter from Tools
> Options
> Interpreter
4) Select the firmware you want to install.
5) Choose detect port automatically
option or the USB port, pico is connected.
6) Click on install or update firmware
option.
7) Check the target device location option and device model details.
8) Click on 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.