Environment Set-up
- Enter Arduino IDE after installation.
- Go to the board manager, search for esp32, select the latest version of esp32 by Espressif Systems at the bottom, and click install (if it doesn't install correctly, you can try using a phone hotspot).
- Restart the Arduino IDE after installation, and then you can use it.
If the installation fails
- Failed to install 2.0.11 version:
- Click on the path "c:\Users\Waveshare\AppData\Local\Arduino15\packages" (where Waveshare is the user name of the computer, and you need to turn on Show Hidden Files).
- Unzip the downloaded files to the packages file folder:
- Restart the Arduino IDE after installation and you're ready to go!
Run Example
Create Example
- Above, change the project folder to c:\Users\Waveshare\AppData\Local\Arduino15\packages (where Waveshare is the computer username).
- Restart Arduino IDE.
- Demos can be created from the examples in the Project folder under Files.
- The following is the RGB flashing example (File -> Sketchbook -> esp32 -> hardware -> esp32 -> 2.0.11 -> libraries -> ESP32 -> examples -> BlinkRGB under GPIO).
Upload Demo
- Select the development board and port.
- Search esp32s3, select ESP32S3 Dev Module, and the ports to download.
- After selecting, click to upload and Arduino IDE will start to compile and program the demo.
- After uploading, you can see the effect on the development board.
Examples
The following demonstrates device control on the Arduino IDE
Library Installation
- Install Adafruit NeoPixel library:
- Install Adafruit NeoMatrix library:
- Install Adafruit GFX Library:
- Install SensorLib library for QMI8658:
Display Characters
- The characters inside the quotation marks can be modified to display the corresponding characters on the ESP32-S3-Matrix.
- After modification, upload the demo and use.
Dynamic Game
- Install the corresponding library files.
- Download sample demo, The example in the "Game" folder of the sample is a small game where a light bead moves aligning with the tilt of ESP32-S3-Matrix.
- Uploading the demo and use it.
- After successfully uploading the demo, a bead will be on near the center position.
- The lit bead will move according to the current tilt angle of the device.
- The demo can be modified according to the requirement to achieve more complex operations.
RGB Color
- Install the corresponding library files.
- Download the [#Demo|sample demo]]. The example in the "Color" folder of the sample is a rather cool color flow.
- Upload the demo and use it.
- After successfully uploading the demo, the board will display colors in a flowing state.
- The demo can be modified according to requirements to achieve more complex operations.
Web Page Control
- Install the corresponding library files.
- Download the sample demo. The example in the "HTTP" folder of the sample allows controlling ESP32-S3-Matrix display via a web page.
- Uploading the demo to use it. Once the demo is successfully uploaded, follow the instructions below to control the device (phone, computer, etc.) to connect to the WIFI named ESP32-S3-Matrix.
- Once successfully connected to the WIFI, you can enter the ESP32-S3-Matrix control page by typing "10.10.10.1" into your browser's address bar and pressing Enter.
10.10.10.1
- The web page contains two global refresh buttons for controlling ESP32-S3-Matrix, as well as a text box and a submit button.
- After entering characters into the text box, clicking the Submit button will cause the characters in the text box to flow and display on the ESP32-S3-Matrix.