Skip to content

Raspberry Pi Pico 2 W Guide

Configuration

Raspberry Pi Pico 2 W Raspberry Pi Pico 2 W

To be able to configure the Raspberry Pi Pico 2 W and use it without issues, we recommend following these steps:

  1. Install CircuitPython's latest version.
  2. Copy code.py as well as the folders config and lib and their contents via a USB connection:
    1. To do so, connect the Raspberry Pi Pico 2 W to your computer with a USB cable.
    2. Copy the file code.py and the folder lib to the root of the Raspberry Pi Pico 2 W storage drive.
    3. Copy the file boot.py from the folder config to the root of the Raspberry Pi Pico 2 W storage drive.
    4. Modify the environment variables inside the file settings.toml.example from the config file according to your necessities, and rename the file to settings.toml. When you finished, copy the file settings.toml to the root of the Raspberry Pi Pico 2 W storage drive.
    5. Reboot the Raspberry Pi Pico 2 W to make sure the changes take effect.
  3. If you need to change the code used in the Raspberry Pi Pico 2 W, we recommend using Thonny as a code editor, mainly because it focuses in microcontrollers with MicroPython or CircuitPython installed, while facilitating the use of external libraries.