Difference between revisions of "Template:Pico-Pico-RGB-Matrix-P3-64x32 Manual"

From Waveshare Wiki
Jump to: navigation, search
Line 1: Line 1:
 +
==Setup environment==
 +
Please refer to Raspberry Pi's guide: https://www.raspberrypi.org/documentation/pico/getting-started/
 +
 
== Demo example ==
 
== Demo example ==
 
=== Hardware connection ===
 
=== Hardware connection ===

Revision as of 09:05, 8 October 2021

Setup environment

Please refer to Raspberry Pi's guide: https://www.raspberrypi.org/documentation/pico/getting-started/

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

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:

Pico-rgb-matrix-p3-clock-cpp-sdk-1.jpg

【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:

Pico-RGB-Matrix-P3-64x32-details-17.png

【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
  1. CircuitPython is a fork of MicroPython, For specific usage, please refer to the RGB-Matrix related CircuitPython tutorial
  2. Pico must first install CircuitPython,and then copy the corresponding CircuitPythond code to the recognized U disk to complete the download.

Infrared transceiver test

This example is developed based on MicroPython, the program is downloaded , the example effects and functions are as follows::

RGB-Matrix-IR-Test.png

【Function Description】

  • The infrared serial code generated by the corresponding button of the infrared remote control can be recognized

Header Definition

Hardware Introduction

Pico-RGB-Matrix-P3-64x32-details-25.jpg

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

RGB-Matrix-P3-64x32-details-3.jpg

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.

Template:Pico-C-SDK-Manual

Template:Pico-MicroPython-Manual