Difference between revisions of "ESP32-S3-Matrix"

From Waveshare Wiki
Jump to: navigation, search
Line 99: Line 99:
 
==RGB Color==
 
==RGB Color==
 
*[[#Library Installation|Install the corresponding library files]].
 
*[[#Library Installation|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.
+
*Download the [[#Demo|sample demo]]. The example in the "Color" folder of the sample is a rather cool color flow.
 
*[[#Upload Demo| Upload the demo]] and use it.  
 
*[[#Upload Demo| Upload the demo]] and use it.  
 
*After successfully uploading the demo, the board will display colors in a flowing state.
 
*After successfully uploading the demo, the board will display colors in a flowing state.

Revision as of 02:04, 17 April 2024

1
ESP32-S3-Matrix.jpg
2
ESP32-S3-Matrix.jpg

ESP32-S3, USB Type-C
{{{name3}}}

{{{name4}}}

{{{name5}}}

Overview

Introduction

Features

Function Block

Onboard Resources

Pinout Definition

Dimensions

Working with ESP32

Working with Arduino

Environment Set-up

ESP32-C6-DEV-KIT-N8-Arduino01.png

  • Enter Arduino IDE after installation.

ESP32-C6-DEV-KIT-N8-Arduino02.png

  • 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).

ESP32-S3-DEV-KIT-N8-Arduino07.png

  • Restart the Arduino IDE after installation, and then you can use it.

ESP32-S3-DEV-KIT-N8-Arduino09.png

If the installation fails

  • Failed to install 2.0.11 version:

ESP32-S3-DEV-KIT-N8-install.png

ESP32-S3-DEV-KIT-N8-install02.png

  • 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).

ESP32-S3-DEV-KIT-N8-install03.png

  • Unzip the downloaded files to the packages file folder:

ESP32-S3-DEV-KIT-N8-install04.png

  • Install it again:

ESP32-S3-DEV-KIT-N8-Arduino07.png

  • Restart the Arduino IDE after installation and you're ready to go!

ESP32-S3-DEV-KIT-N8-Arduino09.png

Run Example

Create Example

  • Above, change the project folder to c:\Users\Waveshare\AppData\Local\Arduino15\packages (where Waveshare is the computer username).

ESP32-S3-Tiny-09.png
ESP32-S3-Tiny-10.png

  • Restart Arduino IDE.
  • Demos can be created from the examples in the Project folder under Files.

ESP32-C6-DEV-KIT-N8-Arduino10.png

  • The following is the RGB flashing example (File -> Sketchbook -> esp32 -> hardware -> esp32 -> 2.0.11 -> libraries -> ESP32 -> examples -> BlinkRGB under GPIO).

ESP32-S3-DEV-KIT-N8-Arduino11.png

Upload Demo

  • Select the development board and port.

ESP32-C6-DEV-KIT-N8-Arduino12.png

  • Search esp32s3, select ESP32S3 Dev Module, and the ports to download.

ESP32-S3-DEV-KIT-N8-Arduino13.png

  • After selecting, click to upload and Arduino IDE will start to compile and program the demo.

ESP32-S3-DEV-KIT-N8-Arduino14.png

  • After uploading, you can see the effect on the development board.

ESP32-S3-DEV-KIT-N8-Arduino15.png

Examples

The following demonstrates device control on the Arduino IDE

Library Installation

  • Install Adafruit NeoPixel library:

ESP32-S3 TO Arduino Add 1.png

  • Install Adafruit NeoMatrix library:

ESP32-S3 TO Arduino Add 2.png

  • Install ALL:

ESP32-S3 TO Arduino Add 3.png

  • Install Adafruit GFX Library:

ESP32-S3 TO Arduino Add 4.png

  • Install ALL:

ESP32-S3 TO Arduino Add 5.png

  • Install FastLED library:

ESP32-S3 TO Arduino Add 6.png

  • Install SensorLib library for QMI8658:

ESP32-S3 TO Arduino Add 7.png

Display Characters

ESP32-S3 TO Arduino sample1 1.png

  • 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 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.

ESP32-S3 TO Arduino sample3 1.png

  • 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.

ESP32-S3 TO Arduino sample3 2.png

  • 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.