Difference between revisions of "Template:Pico-Pico-RGB-Matrix-P3-64x32 Manual"
From Waveshare Wiki
(→实例快速演示) |
|||
Line 20: | Line 20: | ||
</gallery> | </gallery> | ||
− | === | + | === Example display === |
− | ==== | + | ==== Multi-Features Digital Clock ==== |
<div style="max-width:100%;"> | <div style="max-width:100%;"> | ||
− | + | 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:<br /> | |
<div style="float:left;margin:5px;"> | <div style="float:left;margin:5px;"> | ||
[[File:pico-rgb-matrix-p3-clock-cpp-sdk-1.jpg|440px]] | [[File:pico-rgb-matrix-p3-clock-cpp-sdk-1.jpg|440px]] | ||
</div> | </div> | ||
<div style="float:left;margin:5px;"> | <div style="float:left;margin:5px;"> | ||
− | ''' | + | '''【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) |
</div> | </div> | ||
</div> | </div> | ||
<div class="sep0px"></div> | <div class="sep0px"></div> | ||
− | ==== | + | ==== Fruit machine ==== |
<div style="max-width:100%;"> | <div style="max-width:100%;"> | ||
− | + | This example is developed based on CircuitPython<ref>[https://learn.adafruit.com/getting-started-with-raspberry-pi-pico-circuitpython/micropython-or-circuitpython CircuitPython是MicroPython的一个分叉],具体使用请见 [https://learn.adafruit.com/rgb-led-matrices-matrix-panels-with-circuitpython RGB-Matrix相关CircuitPython教程] </ref> , and the program is downloaded<ref> Pico须先[https://learn.adafruit.com/getting-started-with-raspberry-pi-pico-circuitpython/circuitpython 安装CircuitPython],然后再把对应的CircuitPythond代码复制到识别到的U盘上,即可完成下载。</ref> . The effects and functions of the example are as follows: | |
+ | <br /> | ||
<div style="float:left;margin:5px;"> | <div style="float:left;margin:5px;"> | ||
[[File:Pico-RGB-Matrix-P3-64x32-details-17.png|440px]] | [[File:Pico-RGB-Matrix-P3-64x32-details-17.png|440px]] | ||
</div> | </div> | ||
<div style="float:left;margin:5px;"> | <div style="float:left;margin:5px;"> | ||
− | ''' | + | '''【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 |
</div> | </div> | ||
</div> | </div> | ||
Line 57: | Line 58: | ||
− | ==== | + | ==== Infrared transceiver test ==== |
<div style="max-width:100%;"> | <div style="max-width:100%;"> | ||
− | + | This example is developed based on MicroPython, the program is downloaded , the example effects and functions are as follows::<br /> | |
<div style="float:left;margin:5px;"> | <div style="float:left;margin:5px;"> | ||
[[File:RGB-Matrix-IR-Test.png|440px]] | [[File:RGB-Matrix-IR-Test.png|440px]] | ||
</div> | </div> | ||
<div style="float:left;margin:5px;"> | <div style="float:left;margin:5px;"> | ||
− | ''' | + | '''【Function Description】''' |
− | * | + | * The infrared serial code generated by the corresponding button of the infrared remote control can be recognized |
</div> | </div> | ||
</div> | </div> |
Revision as of 08:48, 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
硬件解析
底板资源简介
Pico连接引脚对应关系
底板 | Pico | 引脚描述 |
---|---|---|
RGB LED Matrix 用到的引脚(HUB75接口) | ||
R1 | GP02 | 高位R数据 |
G1 | GP03 | 高位G数据 |
B1 | GP04 | 高位B数据 |
R2 | GP05 | 高位R数据 |
G2 | GP08 | 高位G数据 |
B2 | GP09 | 高位B数据 |
A | GP10 | A行选择 |
B | GP16 | B行选择 |
C | GP18 | C行选择 |
D | GP20 | D行选择 |
E | GP22 | E行选择 |
CLK | GP11 | 时钟输入 |
STB/LAT | GP12 | 锁存引脚 |
OE | GP13 | 输出使能 |
底板 | Pico | 引脚描述 |
---|---|---|
底板其他资源用到的引脚 | ||
K0 | GP15 | KEY0按键,数字时钟的 MENU 菜单,也可以自定义 |
K1 | GP19 | KEY1按键,数字时钟的 + / Down 按键,也可以自定义 |
K2 | GP21 | KEY2按键,数字时钟的 - / UP 按键,也可以自定义 |
RUN | RUN | RESET 按键,可用于Pico复位 |
BOOTSET | BOOTSET | BOOT 按键,可用于Pico烧录程序(长按BOOT,再按下RESET,可进入固件下载模式) |
SDA | GP06 | I2C 数据引脚,控制DS3231 RTC时钟芯片用到 |
SCL | GP07 | I2C 时钟引脚,控制DS3231 RTC时钟芯片用到 |
BUZZ | GP27 | 蜂鸣器控制引脚 |
AIN | GP26 | 光敏电阻控制引脚 |
IRM | GP28 | 红外接收控制引脚 |
详细硬件设计见 电路原理图。