Raspberry Pi Pico Expansion Plus S1

Raspberry Pi Pico Expansion Plus S1

Overview

Pico Expansion Plus S1 is an upgraded expansion board specially designed for the Raspberry Pi Pico. It not only has the status indicator LEDs of all GPIOs in Pico of Pico Expansion Plus version, two sets of 2 * 20PIN pin header, four HY-2.0-4P connectors, one set of SPI1 header and one reset button, but also adds one Full-color RGBLED, onboard Micro SD card slot, buzzer with switch, and one 2.54mm4PIN female header for DHT11/DS18B20 sensors, There is also a standard 3.5mm audio jack.

Raspberry Pi Pico does not have a reset button, but this product increases the reset button, so it is convenient for users to debug or write programs without frequent plugging USB line of Pico.

Product parameters

Supply voltage5V(procided by PICO)
Size114mm(L) x 78.5mm(W) x 11mm(H)
Weight50g

Usage

Resource Profile

  • 1 & 5. PICO external expansion pins
  • 2. Raspberry Pi Pico socket
  • 3. The selective switch of GPIO LED indicators to display the GPIO status
  • 4. The selective switch of voltage for 4 HY-2.0-4P connectors
  • 6. SPI interface header
  • 7. DHT11/DS18B20 female header
  • 8. Expansion board power indicator
  • 9. PICO reset button
  • 10. User buttons
  • 11. 3.5mm audio jack
  • 12. 4 HY-2.0-4P connectors
  • 13. Micro SD card slot
  • 14. ESP-01 solder joint
  • 15. Full-color RGB LED (WS2812)
  • 16. Buzzer switch
  • 17. Passive buzzer

GPIO Status Indicator LEDs: You can turn on the GPIO status display function by toggling switch S1 to the ON state. When a GPIO is high, the corresponding LED indicators up; otherwise, it goes off. If you don't need to display the GPIO status with LEDs, you can toggle switch S1 to the OFF state.

Two sets of 2x20PIN headers allow easy connection to Raspberry Pi Pico expansion boards or external devices using DuPont wires. The pin functions are clearly marked on both sides of the board for easy use and measurement.

There are 4 HY-2.0-4P connector for connecting 2.0mm pitch ribbon cables, providing a convenient way to connect other functional modules. Sliding switch S2 allows you to select the power supply voltage for these connectors. When S2 is switched to 5V, the connected modules are powered with 5V; when switched to 3.3V, they are powered with 3.3V. Note: All VCC pins of the external HY-2.0-4P connectors are connected together, so the voltage will be the same for all connected modules once a voltage is selected.

One set of headers is used to expose the SPI1 interface, allowing you to connect SPI peripherals using ribbon cables or DuPont wires. This SPI1 interface shares the same VCC voltage as the 4 HY-2.0-4P connectors.

There is one full-color RGB LED that produces cool lighting effects when running example programs. A Micro SD card slot is available for storage. The board also features a buzzer with a switch for on-demand use.

A 2.54mm 4PIN female header is reserved, providing access to power supply pins, data pins, and two ground pins, making it compatible with various expansion modules such as DS18B20 temperature sensors, DHT11 temperature and humidity sensors, etc., expanding the usage range. An ESP-01 adapter module solder point is reserved, supporting the I2C bus and UART. Additionally, there is a standard 3.5mm audio jack that supports stereo and left-channel switching.

Python Demo Codes Usage

1. Installation Thonny

Thonny download:https://thonny.org

2. After installing Thonny, hold down the BOOTSEL button on Pico when the power is off, connect the computer with a USB cable and release the button, at this time pop up an RPI-RP2 disk directory, drag adafruit-circuitpython raspberry_pi_pico-en_US-7.3.3.uf2 in the demo codes\python directory into the RPI-RP2 disk.

3. Right click the 18b20.py in the demo codes demo codes\python directory, open with Thonny, click Tools - Settings, in the interpreter bar, select CiruitPython (general), and set the Raspberry Pi Pico port (COMx: the port number x of the computer may be different), and then click OK.

Pico Expansion Plus S1
Pico Expansion Plus S1

4. Files window and upload the Lib library file to Raspberry Pi Pico.

Pico Expansion Plus S1
Pico Expansion Plus S1

5. Connect the 18B20 temperature sensor to the DHT11/DS18B20 header of the expansion board (see Figure 2-1 pin definition diagram), then click the "Run current script" button or press the F5 key to run the current script and observe the data output in the shell window of the Thonny application.

Pico Expansion Plus S1

6. Connect the headset to the 3.5mm audio jack of the expansion board (see Figure 2-1 Pin Definition Diagram) and open the audio.py demo code, upload the prepared MP3 file to Raspberry Pi Pico, and then click the "Run current script" button or press the F5 key to check the headset playback.

Pico Expansion Plus S1

7. Turn the slide switch of the buzzer on the expansion board to the Pico Expansion Plus S1 position ( means the buzzer is turned on, Pico Expansion Plus S1 means the buzzer is mute), open the beeper.py demo code, and then click the "Run current script" button or press F5 to run the current script and check the playback of the expansion board buzzer.

Pico Expansion Plus S1

8. Connect the DHT11 temperature and humidity sensor module to the DHT11/DS18B20 female header of the expansion board (see Figure 2-1 pin definition diagram), open the dht11.py demo code, click the "Run current script" button or press the F5 key to run the current script, and observe the data output in the shell window of the Thonny application.

Pico Expansion Plus S1

9. Open the key.py demo code, click the "Run current script" button or press the F5 key to run the current script, press the user button K1/K2/K3, and observe the data output in the shell window of the Thonny application.

Pico Expansion Plus S1

10. Open the rgb_led.py demo code, click the "Run current script" button or press F5 to run the current script and observe the RGB changes on the expansion board.

Pico Expansion Plus S1

11. Open the sdcard.py demo code to detect Micro SD card slot function, the file system of SD card is FAT32 or FAT, and then click the "Run current script" button or press F5 to run the current script and observe the data output in the shell window of the Thonny application.

Pico Expansion Plus S1

Resources

Schematic

Demo Codes

Product

Data Sheet

WS2812B

Technical Support

Technical Support and Product Notes