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.
酷炫颜色
- 安装相应库文件
- 下载 示例程序,示例中的 Color 文件夹下的示例为一个较为酷炫的颜色流动
- 烧录程序 即可使用
- 成功烧录程序后,面板将以流动状态显示彩色
- 可根据需求修改程序以实现更复杂的操作
Web 页面控制
- 安装相应库文件
- 下载 示例程序,示例中的 HTTP 文件夹下的示例为通过 Web 页操作 ESP32-S3-Matrix 进行显示
- 烧录程序 即可使用,程序烧录成功后可按下方操作进行
- 控制设备(手机、电脑等)连接名为 ESP32-S3-Matrix 的WIFI
- 成功连接 WIFI 后,在浏览器中搜索 10.10.10.1 可进入 ESP32-S3-Matrix 控制页面
10.10.10.1
- Web 页面存在两个控制 ESP32-S3-Matrix 全局刷新按钮,以及一个文本框和提交按钮
- 在文本框中输入字符,然后点击 Submit 按钮,文本框中的字符将在 ESP32-S3-Matrix 上流动显示