Difference between revisions of "Template:ESP32-RGB-Matrix-P3-64x32 Manual"
From Waveshare Wiki
(23 intermediate revisions by 3 users 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 [https://files.waveshare.com/upload/6/6f/Pico-RGB-Matrix-P3-64x32-Demo_%285%29.zip demo], 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 (Not included) | ||
+ | |||
+ | ==== Hardware Connection Picture ==== | ||
+ | [[File:p3-64x32.png]]<br/> | ||
+ | ==== Software Setting ==== | ||
+ | *Download [https://files.waveshare.com/upload/0/00/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 ==== | ||
− | *RGB-Matrix-P3-64x32 ( | + | * RGB-Matrix-P3-64x32 (This product) |
− | *[https://www.waveshare.com/nodemcu-32s.htm NodeMCU-32S] ( | + | * [https://www.waveshare.com/nodemcu-32s.htm NodeMCU-32S] (Not included, it is recommended to buy a version with a soldered pin header, which is convenient for direct insertion.) |
− | ==== | + | === ESP32 connection pin correspondence === |
− | <div>[[File: | + | <div style="max-width:100%"> |
+ | <div style="float:left;margin:5px;"> | ||
+ | {| class="list table table-striped table-bordered" | ||
+ | ! 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 Pins used (HUB75 interface) | ||
+ | |- | ||
+ | |- | ||
+ | ! 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);" | bottom plate | ||
+ | ! 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);" | ESP32 | ||
+ | ! 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 | ||
+ | |- | ||
+ | | 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 | ||
+ | |} | ||
+ | </div> | ||
+ | <div style="float:left;margin:5px;"> | ||
+ | {| class="list table table-striped table-bordered" | ||
+ | |- | ||
+ | ! 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);" | Connect data input to data output | ||
+ | |- | ||
+ | ! 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);" | Data Input | ||
+ | ! 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);" | Data Output | ||
+ | ! 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 | ||
+ | |- | ||
+ | | 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 | ||
+ | |} | ||
+ | </div> | ||
+ | </div> | ||
+ | <br/> | ||
+ | [[File:RGB-Matrix-P3-64x32-details-3.jpg|780px]] | ||
==== Software settings ==== | ==== Software settings ==== | ||
− | * Download [https:// | + | * Download [https://files.waveshare.com/upload/0/00/arduino-1.8.15.zip 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 | + | * After connecting the wires according to the hardware connection diagram, the software settings are as follows:<br />[[File:ESP32-RGB-Matrix-EN.jpg|500px]] |
+ | *Note: | ||
+ | **You need to set up wifi, otherwise, the program will not work properly. | ||
=== Example display === | === Example display === |
Latest revision as of 01:53, 19 February 2024
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 demo, 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.
Example display
【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 (Not included)
Hardware Connection Picture
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:
Example display
RGB text display
The effect of running the example is shown in the figure below:
【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 (Not included, 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 |
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:
- Note:
- You need to set up wifi, otherwise, the program will not work properly.