Pico RGB Matrix Panel Expansion S1

Product Overview

The Pico RGB Matrix Expansion S1 is an expansion board designed specifically for the Raspberry Pi Pico. It features a 10x20 WS2812 RGB LED matrix, DS1302 real-time clock chip, analog silicon microphone audio sampling circuit, light-dependent resistor, and reset button.

Product Parameters

Dimensions79.5mm (length) * 39.8mm (width) * 11mm (height)
Weight22.5g
Mounting Hole Diameter3mm
Power Supply Voltage5V (Powered by Pico)
LED Matrix Resolution10 * 20 (pixels)
RGB LED Color24-bit (8 bits per color)
RGB LED Communication MethodSingle-wire data transmission
RGB LED Brightness Levels256 levels of brightness
RGB LED Data Transfer Rate800Kbps/second
RTC ChipDS1302ZM
Microphone Pre-amplifier ChipMCP6022I/SN
Microphone Sensitivity-32db
Microphone Frequency Response100~10000hz
Microphone Output SignalAnalog
Dimensions

Usage

Resource profile

The module resources are as shown in the following diagram:

①CR1220 Button Battery Holder

②Raspberry Pi Pico Female Header

③Light-Dependent Resistor Connector

④DS1302 Real-Time Clock Chip

⑤Raspberry Pi Pico Reset Button

⑥Analog Silicon Microphone

⑦Silicon Microphone Amplification Adjustment

⑧WS2812 RGB Matrix screen Interface Connector

⑨0807 RGB LED Matrix screen

Pico RGB Matrix Expansion S1 Pinout Diagram
Figure 2-2 Pico RGB Matrix Expansion S1 Pinout Diagram
WS2812 RGB LED Matrix: Controlled via the GP22 pin of the Raspberry Pi Pico, and the expansion board's bottom has a PH2.0 1*4-pin connector that can be used to connect other control devices to control the LED matrix screen. It can display various texts and simple patterns. This screen is of the RGB type, with each pixel composed of 3 LED lights(red, green, blue), capable of displaying rich colors and diverse effects. Suitable for data display, dynamic display, music rhythm display, and other applications.

DS1302 Real-Time Clock Chip: Controlled via the GP6, GP7, GP8 (RST, IO, SCLK) pins of the Raspberry Pi Pico. This chip is powered primarily by the Raspberry Pi Pico, with a button cell battery on the expansion board providing backup power, enabling timing even when the Raspberry Pi Pico is not powered. This circuit can also display the time on the LED matrix, forming a simple electronic clock.

Analog Silicon Microphone Audio Sampling Circuit: This circuit is powered by the Raspberry Pi Pico and has high sensitivity, capable of capturing faint sounds. It outputs analog signals to the GP28 pin, allowing for music rhythm display on the LED matrix when combined with the Raspberry Pi Pico.

Light-Dependent Resistor: The expansion board also features a PH2.0 connector for inserting a light-dependent resistor. After inserting the light-dependent resistor, the board can sense changes in ambient light. This is a type of sensor; when the ambient light changes, the resistance of the resistor itself changes, decreasing with brightness. It outputs corresponding voltage changes, allowing for brightness control of the expansion board through programming.

Reset Button: The Raspberry Pi Pico lacks a reset button. This product adds a reset button so that users can reset or debug without frequently plugging and unplugging the Pico's USB cable.

Using Python Examples

1.Install Thonny

Thonny download link: https://thonny.org

2.After installing Thonny, with the Pico powered off, press and hold the BOOTSEL button on the Pico, then connect it to your computer via USB. Release the button, and a RPI-RP2 disk directory will pop up. Drag the micropython-firmware-Pico-w-130623.uf2 file from the Pico RGB Matrix Expansion S1 directory into the RPI-RP2 disk.

3.Right-click on DS1302.py under the Pico RGB Matrix Expansion S1 directory and open it with Thonny. Click on Tools -> Options. In the interpreter field, select MicroPython (Raspberry Pi Pico), and set the port (COMx: the port number may vary on different computers). Click OK to confirm.

Figure 2-3 Thonny Select Interpreter and Port Steps

①Click here.

②Select "MicroPython (Raspberry Pi Pico)".

③Set the corresponding port here, and click OK to confirm.

4.Open the View -> Files window, and upload the Lib library files to the Raspberry Pi Pico.

Figure 2-4-1 Steps to Load Files onto Raspberry Pi Pico
Figure 2-4-2 Steps to Load Files onto Raspberry Pi Pico

①Press Ctrl and select all .py files inside the Pico RGB Matrix Expansion S1 folder, as shown in Figure 2-4-2.

②Click here to save these files to the Raspberry Pi Pico.

5.Open the prepared RGB.py file, then click the "Run current script" button or press the F5 key to run the current script. Observe the display on the LED matrix.

Figure 2-5 Steps to Run the RGB.py Example Program

① Click here as shown in Figure 2-5 to run the example program and observe the display on the LED matrix.

6.Insert the prepared button battery into the battery holder, open the RTC.py script, then click the "Run current script" button or press the F5 key to run the current script. Observe the display on the LED matrix.

Figure 2-6 Steps to Run the RTC Example Program Before Power Off

①Click here as shown in Figure 2-6 to run the example program.

②Observe whether the time display in the shell window is correct.

③Check if the time displayed in the shell window matches the set time.

Install the button battery on the expansion board, comment out the code for setting the time, and observe whether the timing function works properly after power off. If the time continues to increase as originally set, it indicates that the button battery is supplying power normally.

Figure 2-7 Steps to Run the RTC Example Program After Power Off

①Comment out the code at the location shown in Figure 2-7.

②Click here to run the example program.

③Observe whether the time in the shell window continues to increase before and after power off.

7.Open the fft.py script, then click the "Run current script" button or press the F5 key to run the current script. Generate some noise or play some music, and observe the LED matrix on the expansion board. The LEDs on the LED matrix correspond from left to right to low frequency to high frequency. See if the lights on the LED matrix rhythmically change with the sound.

Figure 2-8 Steps to Run the LED Matrix Rhythm with Music Example Program

① Click here as shown in Figure 2-8 to run the example program.

8.Insert the light-dependent resistor into the female header labeled "LDR" on the expansion board.

Figure 2-9 Connection Point for Light-Dependent Resistor

Open the LDR.py script, then click the "Run current script" button or press the F5 key to run the current script. Illuminate or place the light-dependent resistor in a dark place as appropriate, and observe whether the LED matrix brightens or dims with changes in ambient light.

Figure 2-10 Steps to Run the Light-Dependent Resistor Example Program
Figure 2-10 Steps to Run the Light-Dependent Resistor Example

①Click here to run the example program.

9.Press the reset button on the side of the expansion board and observe whether the expansion board resets successfully.

Location of the Reset Button
Figure 2-11 Location of the Reset Button

Reset Successful as Shown in Figure 2-12

Display After Successful Reset
Figure 2-12 Display After Successful Reset

Resources

Schematics

Examples

Product

Datasheets

DS1302

MSM321A3729H9BP

MCP6022T

Technical Support

Technical Support and Product Notes