Pico Expansion LED

1.1 Product Introduction

The Pico Expansion LED is an expansion board specially designed for the Raspberry Pi Pico. It features two sets of 2x20 external expansion pins, a reset button, and IO status indicator lights. The two sets of 2x20 pin headers allow easy connection to Raspberry Pi Pico expansion modules or to peripheral devices via jumper wires. The IO status indicator lights show the status of each IO pin. This product includes selectable resistors for enabling or disabling the IO status indicator lights according to your needs. The front of the board is clearly labeled with pin functions, making it easy to use and measure. Since the Raspberry Pi Pico does not have a reset button, this product adds one, so users can debug or upload programs without frequently plugging and unplugging the Pico's Micro USB cable.

1.2 Product Features

  • 2 sets of 2*20Pin external headers
  • IO port status indicator lights
  • IO port status indicator lights enable/disable selection resistor
  • 5V power supply voltage (provided by Pico)
  • One reset button

1.3 Product Parameters

Board Name

Pico Expansion LED

Compatible MCU

Raspberry Pi Pico

Supply Voltage

5 V (provided by the Pico)

Dimensions

105.8 mm (L) × 58.1 mm (W)

Mounting Holes

M2.5

Measurement Tolerance

±1 mm

1.4 Resources Overview

①&③ Pico expansion header pins

② Raspberry Pi Pico 2x20Pin socket

④ IO port status indicator

⑤ Power indicator

⑥ Reset button

⑦ IO port status indicator Enable/disable selection resistor

2.Usage

2.1 Installation Method

1. Insert the Raspberry Pi PicoInsert the Pico into the middle pin header, making sure to follow the silkscreen markings for the correct orientation.2. Connect to the Raspberry Pi Pico expansion module board or connect jumper wires to peripherals.The female headers on both sides of the expansion board can be connected to the Raspberry Pi Pico expansion module board or to peripherals using jumper wires. The GPIO status can be checked through the IO port status indicator lights.3. As shown in the resource introduction diagram ⑦, this is the IO port status indicator light enable/disable selection resistor. You can enable or disable the IO port status indicator light according to your needs.

2.2 Using Python Demo Code

2.2.1 Download and Install Thonny

1. Download the Thonny installation package:https://thonny.org

2. After installing Thonny, you can communicate with the Raspberry Pi Pico via a Micro USB cable. Insert the Raspberry Pi Pico into the motherboard in the correct orientation. After powering off the device, press and hold the BOOTSEL button on the Pico, then connect the Micro USB cable between your computer and the motherboard. At this point, your computer will detect a storage drive named RPI-RP2. Locate the file adafruit-circuitpython raspberry_pi_pico-en_US-7.3.3.uf2 in its directory and drag it into the RPI-RP2 drive.

3. Open Thonny, in the top menu bar of the software, select Run —— Configure interpreter, in Configure interpreter select CircuitPython (generic), and choose the connected serial port:

4. Open the Shell and Flies windows in the View to observe program output and debug the program.

2.2.2 Example Program Usage

Open the example code file path and upload the lib file to the Raspberry Pi Pico

2.2.3 Running the Example Program

Right-click on gpio.py under the example program path and upload it to the Pico, then click the "Run Current Script" button or press F5 to run the current script. You will see the status indicators of each IO port flash every two seconds. You can also observe the corresponding GPIO status in the shell window.