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

From Waveshare Wiki
Jump to: navigation, search
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Demo example ==
+
=User Guides of ESP32-S2-Pico=
 +
===Environment Setting===
 +
Our demo is based on Arduino, please refer to [https://www.waveshare.com/wiki/ESP32-S2-Pico#Setup_Environment Arduino Environment Setting]
 +
===Example===
 +
Note: A Pico baseboard is required for use here.<br/>
 +
Click to download the program[[:File:Pico-RGB-Matrix-P3-64x32-Demo (5).zip]], after the download is complete, go to Pico-RGB-Matrix-P3-64x32-Demo\ESP32-S2-Pico\Arduino,<br/>
 +
1. Copy RGBMatrix-master to the libraries in the Arduino installation directory;<br/>
 +
2. Go back to RGB-Matrix-P3-64x32-Demo\\ESP32-S2-Pico\Arduino, open the .ino file in EzTimeTetrisClockESP32S2 and follow the steps below to download<br/>
 +
[[File:rgb-matrix.png]]<br/>
 +
[[File:rgb-matrix2.png]]<br/>
 +
=== Example display ===
 +
<div style="max-width:100%;">
 +
<div style="float:left;margin:5px;">
 +
[[File:DSC.png]]
 +
</div>
 +
<div style="float:left;margin:5px;">
 +
'''【Function Description】'''
 +
*Time display screen:
 +
**Display date, week, hour, minute, lunar calendar and temperature
 +
*Function setting menu
 +
**date setting
 +
**time setting
 +
**BEEP setting (beep setting)
 +
**Auto Brightness
 +
**language settings
 +
 
 +
</div>
 +
</div>
 +
<div class="sep0px"></div>
 +
 
 +
=User Guides of Arduino Mega=
 +
===Hardware Connection===
 +
==== Material Needed ====
 +
*RGB-Matrix-P3-64 x 32 (this product)<br/>
 +
*Arduino Mega (sold separately)
 +
 
 +
==== Hardware Connection Picture ====
 +
[[File:p3-64x32.png]]<br/>
 +
==== Software Setting ====
 +
*Download [https://www.waveshare.net/w/upload/2/22/arduino-1.8.15.zip arduino-1.8.15] (the corresponding library files have been installed)<br/>
 +
*After connecting the wires according to the hardware connection diagram, the software settings are as follows:<br/>
 +
[[File:arduino-1.8.15.png]]
 +
 
 +
=== Example display ===
 +
==== RGB text display ====
 +
<div style="max-width:100%;">
 +
The effect of running the example is shown in the figure below:<br />
 +
<div style="float:left;margin:5px;">
 +
[[File:DSC_0003.jpg|500px]]
 +
</div>
 +
<div style="float:left;margin:5px;">
 +
'''【Function Description】'''
 +
*Display screen:
 +
**Displayable icon
 +
**Can display text and numbers and other text content
 +
 
 +
</div>
 +
</div>
 +
<div class="sep0px"></div>
 +
 
 +
= User Guides of ESP32 =
 
=== Hardware connection ===
 
=== Hardware connection ===
 
==== Materials needed ====
 
==== Materials needed ====

Latest revision as of 09:24, 3 August 2022

User Guides of ESP32-S2-Pico

Environment Setting

Our demo is based on Arduino, please refer to Arduino Environment Setting

Example

Note: A Pico baseboard is required for use here.
Click to download the programFile:Pico-RGB-Matrix-P3-64x32-Demo (5).zip, after the download is complete, go to Pico-RGB-Matrix-P3-64x32-Demo\ESP32-S2-Pico\Arduino,
1. Copy RGBMatrix-master to the libraries in the Arduino installation directory;
2. Go back to RGB-Matrix-P3-64x32-Demo\\ESP32-S2-Pico\Arduino, open the .ino file in EzTimeTetrisClockESP32S2 and follow the steps below to download
Rgb-matrix.png
Rgb-matrix2.png

Example display

DSC.png

【Function Description】

  • Time display screen:
    • Display date, week, hour, minute, lunar calendar and temperature
  • Function setting menu
    • date setting
    • time setting
    • BEEP setting (beep setting)
    • Auto Brightness
    • language settings

User Guides of Arduino Mega

Hardware Connection

Material Needed

  • RGB-Matrix-P3-64 x 32 (this product)
  • Arduino Mega (sold separately)

Hardware Connection Picture

P3-64x32.png

Software Setting

  • Download arduino-1.8.15 (the corresponding library files have been installed)
  • After connecting the wires according to the hardware connection diagram, the software settings are as follows:
Arduino-1.8.15.png

Example display

RGB text display

The effect of running the example is shown in the figure below:

DSC 0003.jpg

【Function Description】

  • Display screen:
    • Displayable icon
    • Can display text and numbers and other text content

User Guides of ESP32

Hardware connection

Materials needed

  • RGB-Matrix-P3-64x32(This product)
  • NodeMCU-32S(To be purchased separately, if not, it is recommended to buy a version with a soldered pin header, which is convenient for direct insertion)

ESP32 connection pin correspondence

RGB LED Matrix Pins used (HUB75 interface)
bottom plate ESP32 Pin description
R1 GP13 High-order R data
A GP19 A row selection
B GP23 B line selection
C GP18 C row selection
D GP5 D line selection
E GP15 E row selection
CLK GP14 Clock Input
STB/LAT GP22 Latch Pin
OE GP0 Output Enable
Connect data input to data output
Data Input Data Output Pin Description
G1 R2 High G data
B1 G2 High-order B data
R2 R1 Lower R data
G2 G1 Low G data
B2 B1 Lower B data

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

Software settings

  • Download arduino-1.8.15 (corresponding library files have been installed)
  • After connecting the wires according to the hardware connection diagram, the software settings are as follows:
    ESP32-RGB-Matrix-EN.jpg
  • Notice:
    • You need to set up wifi, otherwise the program will not work properly

Example display

Tetris clock (with network calibration)

The running effect of the sample program is shown in the figure below:

DSC 0348.jpg

【Function Description】

  • Time display screen:
    • Time calibration via ESP32 network
    • display time
    • Block animation effect display