Difference between revisions of "Template:Pico-Pico-RGB-Matrix-P3-64x32 Manual"
(→实例快速演示) |
(→硬件解析) |
||
Line 71: | Line 71: | ||
<div class="sep0px"></div> | <div class="sep0px"></div> | ||
− | == | + | == Header Definition == |
− | === | + | === Hardware Introduction=== |
[[File:Pico-RGB-Matrix-P3-64x32-details-25.jpg|800px]] | [[File:Pico-RGB-Matrix-P3-64x32-details-25.jpg|800px]] | ||
− | === | + | === Pico connection pins === |
<div style="max-width:100%"> | <div style="max-width:100%"> | ||
<div style="float:left;margin:5px;"> | <div style="float:left;margin:5px;"> | ||
{| class="list table table-striped table-bordered" | {| class="list table table-striped table-bordered" | ||
|- | |- | ||
− | ! class="tittle-bg" style="border: 1px solid rgb(204, 204, 204); padding: 0.45em 0.23em; line-height: 1.6em; letter-spacing: 0.02em; background-color: rgb(113, 113, 113); color: rgb(255, 255, 255);" | | + | ! class="tittle-bg" style="border: 1px solid rgb(204, 204, 204); padding: 0.45em 0.23em; line-height: 1.6em; letter-spacing: 0.02em; background-color: rgb(113, 113, 113); color: rgb(255, 255, 255);" | Board |
! class="tittle-bg" style="border: 1px solid rgb(204, 204, 204); padding: 0.45em 0.23em; line-height: 1.6em; letter-spacing: 0.02em; background-color: rgb(113, 113, 113); color: rgb(255, 255, 255);" | Pico | ! class="tittle-bg" style="border: 1px solid rgb(204, 204, 204); padding: 0.45em 0.23em; line-height: 1.6em; letter-spacing: 0.02em; background-color: rgb(113, 113, 113); color: rgb(255, 255, 255);" | Pico | ||
− | ! class="tittle-bg" style="border: 1px solid rgb(204, 204, 204); padding: 0.45em 0.23em; line-height: 1.6em; letter-spacing: 0.02em; background-color: rgb(113, 113, 113); color: rgb(255, 255, 255);" | | + | ! class="tittle-bg" style="border: 1px solid rgb(204, 204, 204); padding: 0.45em 0.23em; line-height: 1.6em; letter-spacing: 0.02em; background-color: rgb(113, 113, 113); color: rgb(255, 255, 255);" | Pin description |
|- | |- | ||
− | ! align="left" colspan="3" style="border: 1px solid rgb(204, 204, 204); padding: 0.45em 0.23em; line-height: 1.6em; letter-spacing: 0.02em; background-color: rgb(249, 249, 249); color: rgb(51, 51, 51);" | RGB LED Matrix | + | ! align="left" colspan="3" style="border: 1px solid rgb(204, 204, 204); padding: 0.45em 0.23em; line-height: 1.6em; letter-spacing: 0.02em; background-color: rgb(249, 249, 249); color: rgb(51, 51, 51);" | Pins used by RGB LED Matrix (HUB75 interface) |
+ | |||
|- | |- | ||
| R1 | | R1 | ||
| GP02 | | GP02 | ||
− | | | + | | R higher bit data |
|- | |- | ||
| G1 | | G1 | ||
| GP03 | | GP03 | ||
− | | | + | | G higher bit data |
|- | |- | ||
| B1 | | B1 | ||
| GP04 | | GP04 | ||
− | | | + | | B higher bit data |
|- | |- | ||
| R2 | | R2 | ||
| GP05 | | GP05 | ||
− | | | + | | R lower bit data |
|- | |- | ||
| G2 | | G2 | ||
| GP08 | | GP08 | ||
− | | | + | | G lower bit data |
|- | |- | ||
| B2 | | B2 | ||
| GP09 | | GP09 | ||
− | | | + | | B lower bit data |
|- | |- | ||
| A | | A | ||
| GP10 | | GP10 | ||
− | | | + | | A line selection |
|- | |- | ||
| B | | B | ||
| GP16 | | GP16 | ||
− | | | + | | B line selection |
|- | |- | ||
| C | | C | ||
| GP18 | | GP18 | ||
− | | | + | | C line selection |
|- | |- | ||
| D | | D | ||
| GP20 | | GP20 | ||
− | | | + | | D line selection |
|- | |- | ||
| E | | E | ||
| GP22 | | GP22 | ||
− | | | + | | E line selection |
|- | |- | ||
| CLK | | CLK | ||
| GP11 | | GP11 | ||
− | | | + | | clock input |
|- | |- | ||
| STB/LAT | | STB/LAT | ||
| GP12 | | GP12 | ||
− | | | + | | latch pin |
|- | |- | ||
| OE | | OE | ||
| GP13 | | GP13 | ||
− | | | + | | output enable |
|} | |} | ||
</div> | </div> | ||
Line 150: | Line 151: | ||
{| class="list table table-striped table-bordered" | {| class="list table table-striped table-bordered" | ||
|- | |- | ||
− | ! class="tittle-bg" style="border: 1px solid rgb(204, 204, 204); padding: 0.45em 0.23em; line-height: 1.6em; letter-spacing: 0.02em; background-color: rgb(113, 113, 113); color: rgb(255, 255, 255);" | | + | ! class="tittle-bg" style="border: 1px solid rgb(204, 204, 204); padding: 0.45em 0.23em; line-height: 1.6em; letter-spacing: 0.02em; background-color: rgb(113, 113, 113); color: rgb(255, 255, 255);" | Board |
! class="tittle-bg" style="border: 1px solid rgb(204, 204, 204); padding: 0.45em 0.23em; line-height: 1.6em; letter-spacing: 0.02em; background-color: rgb(113, 113, 113); color: rgb(255, 255, 255);" | Pico | ! class="tittle-bg" style="border: 1px solid rgb(204, 204, 204); padding: 0.45em 0.23em; line-height: 1.6em; letter-spacing: 0.02em; background-color: rgb(113, 113, 113); color: rgb(255, 255, 255);" | Pico | ||
− | ! class="tittle-bg" style="border: 1px solid rgb(204, 204, 204); padding: 0.45em 0.23em; line-height: 1.6em; letter-spacing: 0.02em; background-color: rgb(113, 113, 113); color: rgb(255, 255, 255);" | | + | ! class="tittle-bg" style="border: 1px solid rgb(204, 204, 204); padding: 0.45em 0.23em; line-height: 1.6em; letter-spacing: 0.02em; background-color: rgb(113, 113, 113); color: rgb(255, 255, 255);" | Pin description |
|- | |- | ||
− | ! align="left" colspan="3" style="border: 1px solid rgb(204, 204, 204); padding: 0.45em 0.23em; line-height: 1.6em; letter-spacing: 0.02em; background-color: rgb(249, 249, 249); color: rgb(51, 51, 51);" | | + | ! align="left" colspan="3" style="border: 1px solid rgb(204, 204, 204); padding: 0.45em 0.23em; line-height: 1.6em; letter-spacing: 0.02em; background-color: rgb(249, 249, 249); color: rgb(51, 51, 51);" | Pins used by other resources of the board |
|- | |- | ||
| K0 | | K0 | ||
| GP15 | | GP15 | ||
− | | | + | | KEY0 button, the MENU menu of the digital clock, can also be customized |
|- | |- | ||
| K1 | | K1 | ||
| GP19 | | GP19 | ||
− | | | + | | KEY1 button, + / Down button of digital clock, can also be customized |
|- | |- | ||
| K2 | | K2 | ||
| GP21 | | GP21 | ||
− | | | + | | KEY2 button,-/ UP button of digital clock, can also be customized |
|- | |- | ||
| RUN | | RUN | ||
| RUN | | RUN | ||
− | | RESET | + | | RESET button, can be used for Pico reset |
|- | |- | ||
| BOOTSET | | BOOTSET | ||
| BOOTSET | | BOOTSET | ||
− | | BOOT | + | | BOOT button, can be used for Pico burning program (long press BOOT, then press RESET to enter the firmware download mode) |
|- | |- | ||
| SDA | | SDA | ||
| GP06 | | GP06 | ||
− | | I2C | + | | I2C data pin, used to control DS3231 RTC clock chip |
|- | |- | ||
| SCL | | SCL | ||
| GP07 | | GP07 | ||
− | | I2C | + | | I2C clock pin, used to control DS3231 RTC clock chip |
|- | |- | ||
| BUZZ | | BUZZ | ||
| GP27 | | GP27 | ||
− | | | + | | Buzzer control pin |
|- | |- | ||
| AIN | | AIN | ||
| GP26 | | GP26 | ||
− | | | + | | Photoresistor control pin |
|- | |- | ||
| IRM | | IRM | ||
| GP28 | | GP28 | ||
− | | | + | | Infrared receiving control pin |
|} | |} | ||
− | + | See detailed hardware design of [https://www.waveshare.net/w/upload/f/f0/Pico-RGB-Matrix-P3-64x32-schematics.pdf the circuit diagram]. | |
{{Pico-C-SDK-Manual}} | {{Pico-C-SDK-Manual}} | ||
{{Pico-MicroPython-Manual}} | {{Pico-MicroPython-Manual}} |
Revision as of 09:00, 8 October 2021
Demo example
Hardware connection
Materials needed
- Pico-RGB-Matrix-P3-64x32 (this product)
- Raspberry Pi Pico (must be purchased separately, if not, it is recommended to buy a version with soldered headers, which is convenient for direct insertion and use)
- Micro USB cable (must be purchased separately)
Hardware connection steps
- 把底板对准红框处的槽位,接到RGB LED Matrix上
- 取出配套的转接线,用钳子剪出需要用到的部分转接线(约10cm)
- 把做好的转接线,一端连接到RGB LED Matrix,另一端固定到底板上
- 背面安装上亚克力板和磁吸螺钉
- 可选操作:如果觉得 RGB LED Matrix 比较炫眼或颗粒感较强,可以在屏上面贴上一层黑色亚克力盖板
Example display
Multi-Features Digital Clock
This example is developed based on the C++ SDK. In order to quickly demonstrate the effects and functions of the example, you can skip the steps of " Building a C++ SDK Development Environment " and "Program Debugging and Development" and directly " download and burn the program ". After the burning is completed, the running effect of the example is shown in the figure below:
【Function Description】
- Time display screen:
- Display date, day of the week, hour, minute, lunar calendar and temperature
- Function setting menu
- Date setting
- time setting
- BEEP setting (buzzer setting)
- Auto brightness
- Language setting (under development)
Fruit machine
This example is developed based on CircuitPython[1] , and the program is downloaded[2] . The effects and functions of the example are as follows:
【Function Description】
- The display can display a variety of fruits or other small BMP icons
- Automatically scroll icons at regular intervals, and randomly display the results of the scrolling
- ↑ CircuitPython是MicroPython的一个分叉,具体使用请见 RGB-Matrix相关CircuitPython教程
- ↑ Pico须先安装CircuitPython,然后再把对应的CircuitPythond代码复制到识别到的U盘上,即可完成下载。
Infrared transceiver test
This example is developed based on MicroPython, the program is downloaded , the example effects and functions are as follows::
【Function Description】
- The infrared serial code generated by the corresponding button of the infrared remote control can be recognized
Header Definition
Hardware Introduction
Pico connection pins
Board | Pico | Pin description |
---|---|---|
Pins used by RGB LED Matrix (HUB75 interface) | ||
R1 | GP02 | R higher bit data |
G1 | GP03 | G higher bit data |
B1 | GP04 | B higher bit data |
R2 | GP05 | R lower bit data |
G2 | GP08 | G lower bit data |
B2 | GP09 | B lower bit data |
A | GP10 | A line selection |
B | GP16 | B line selection |
C | GP18 | C line selection |
D | GP20 | D line selection |
E | GP22 | E line selection |
CLK | GP11 | clock input |
STB/LAT | GP12 | latch pin |
OE | GP13 | output enable |
Board | Pico | Pin description |
---|---|---|
Pins used by other resources of the board | ||
K0 | GP15 | KEY0 button, the MENU menu of the digital clock, can also be customized |
K1 | GP19 | KEY1 button, + / Down button of digital clock, can also be customized |
K2 | GP21 | KEY2 button,-/ UP button of digital clock, can also be customized |
RUN | RUN | RESET button, can be used for Pico reset |
BOOTSET | BOOTSET | BOOT button, can be used for Pico burning program (long press BOOT, then press RESET to enter the firmware download mode) |
SDA | GP06 | I2C data pin, used to control DS3231 RTC clock chip |
SCL | GP07 | I2C clock pin, used to control DS3231 RTC clock chip |
BUZZ | GP27 | Buzzer control pin |
AIN | GP26 | Photoresistor control pin |
IRM | GP28 | Infrared receiving control pin |
See detailed hardware design of the circuit diagram.