Preface
ESP32-S3 is a micro control unit with integrated Wi-Fi launched by Espressif, which features strong properties and integrates rich peripherals. It can be designed and studied as an ordinary Single Chip Micyoco(SCM) chip, or connected to the Internet and used as an Internet of Things device.
ESP32-S3 can be developed using the Arduino platform, which will definitely make it easier for people who have learned arduino to master. Moreover, the code of ESP32-S3 is completely open-source, so beginners can quickly learn how to develop and design IOT smart household products including smart curtains, fans, lamps and clocks.
Generally, ESP32-S3 projects consist of code and circuits. Don’t worry even if you’ve never learned code and circuits, because we will gradually introduce the basic knowledge of C programming language and electronic circuits, from easy to difficult. Our products contain all the electronic components and modules needed to complete these projects. It’s especially suitable for beginners.
We divide each project into four parts, namely Component List, Component Knowledge, Circuit and Code. Component List helps you to prepare material for the experiment more quickly. Component Knowledge allows you to quickly understand new electronic modules or components, while Circuit helps you understand the operating principle of the circuit. And Code allows you to easily master the use of ESP32 and accessory kit. After finishing all the projects in this tutorial, you can also use these components and modules to make products such as smart household, smart cars and robots to transform your creative ideas into prototypes and new and innovative products.
In addition, if you have any difficulties or questions with this tutorial or toolkit, feel free to ask for our quick and free technical support through support@freenove.com
ESP32-S3 WROOM
ESP32-S3-WROOM-1 has launched a total of two antenna packages, PCB on-board antenna and IPEX antenna respectively. The PCB on-board antenna is an integrated antenna in the chip module itself, so it is convenient to carry and design. The IPEX antenna is a metal antenna derived from the integrated antenna of the chip module itself, which is used to enhance the signal of the module.
PCB on-board antenna |
IPEX antenna |
|---|---|
|
|
In this tutorial, the ESP32-S3 WROOM is designed based on the PCB on-board antenna-packaged ESP32-S3-WROOM-1 module.
Currently, we have two development board options available: the N8R8 (8MB Flash + 8MB PSRAM) version with a black PCB and the N16R8 (8MB Flash + 8MB PSRAM) version with a red PCB.The only difference between these two boards lies in their built-in Flash storage capacity, while all other features, functionalities, and peripheral circuits remain identical.
(Note: The N16R8 version is currently sold as a single-board kit only.)
ESP32-S3 WROOM N16R8 |
ESP32-S3 WROOM N8R8 |
|---|---|
|
|
The hardware interfaces of ESP32-S3 WROOM are distributed as follows:
Compare the left and right images. We’ve boxed off the resources on the ESP32-S3 WROOM in different colors to facilitate your understanding of the ESP32-S3 WROOM.
Box color |
Corresponding resources introduction |
|---|---|
|
GPIO pin |
|
LED indicator |
|
Camera interface |
|
Reset button, Boot mode selection button |
|
USB port |
For more information, please visit: https://www.espressif.com.cn/sites/default/files/documentation/esp32-s3-wroom-1_wroom-1u_datasheet_en.pdf.
Extension board of the ESP32-S3 WROOM
And we also design an extension board, so that you can use the ESP32-S3 more easily in accordance with the circuit diagram provided. The followings are their photos.
The hardware interfaces of ESP32-S3 WROOM are distributed as follows:
We’ve boxed off the resources on the ESP32-S3 WROOM in different colors to facilitate your understanding of the ESP32-S3 WROOM.
Box color |
Corresponding resources introduction |
|---|---|
|
GPIO pin |
|
LED indicator |
|
Camera interface |
|
Reset button, Boot mode selection button |
|
USB port |
In ESP32-S3, GPIO is an interface to control peripheral circuit.
In the following projects, we only use USB cable to power ESP32-S3 WROOM by default.
In the whole tutorial, we don’t use T extension to power ESP32-S3 WROOM. So 5V and 3.3V (including EXT 3.3V) on the extension board are provided by ESP32-S3 WROOM.
We can also use DC jack of extension board to power ESP32-S3 WROOM. In this way, 5v and EXT 3.3v on extension board are provided by external power resource.
CH343 (Importance)
ESP32-S3 WROOM uses CH343 to download codes. So before using it, we need to install CH343 driver in our computers.
Windows
Check whether CH343 has been installed
Connect your computer and ESP32-S3 WROOM with a USB cable.
Turn to the main interface of your computer, select “This PC” and right-click to select “Manage”.
Click “Device Manager”. If your computer has installed CH343, you can see”USB-Enhances-SERIAL CH343 (COMx)”. And you can click here to move to the next step.
Installing CH343
First, download CH343 driver, click http://www.wch-ic.com/search?t=all&q=ch343 to download the appropriate one based on your operating system.
If you would not like to download the installation package, you can open “ Freenove_ESP32_S3_WROOM_Board/CH343 “, we have prepared the installation package.
Open the folder “ Freenove_ESP32_S3_WROOM_Board/CH343/Windows/ “
Double click “CH343SER.EXE”.
Click “INSTALL” and wait for the installation to complete.
Install successfully. Close all interfaces.
When ESP32-S3 WROOM is connected to computer, select “This PC”, right-click to select “Manage” and click “Device Manager” in the newly pop-up dialog box, and you can see the following interface.
So far, CH343 has been installed successfully. Close all dialog boxes.
MAC
First, download CH343 driver, click http://www.wch-ic.com/search?t=all&q=ch343 to download the appropriate one based on your operating system.
If you would not like to download the installation package, you can open “ Freenove_ESP32_S3_WROOM_Board/CH343 “, we have prepared the installation package.
Second, open the folder “ Freenove_ESP32_S3_WROOM_Board/CH343/MAC/ “
Third, click Continue.
Fourth, click Install.
Then, waiting Finsh.
Finally, restart your PC.
If you still haven’t installed the CH340 by following the steps above, you can view readme.pdf to install it.
Programming Software
Arduino Software (IDE) is used to write and upload the code for Arduino Board.
First, install Arduino Software (IDE): visit https://www.arduino.cc/en/software/
Select and download corresponding installer based on your operating system. If you are a Windows user, please select the “Windows” to download and install the driver correctly.
After the downloading completes, run the installer. For Windows users, there may pop up an installation dialog box of driver during the installation process. When it is popped up, please allow the installation.
After installation is completed, an shortcut will be generated in the desktop.
Run it. The interface of the software is as follows:
Programs written with Arduino IDE are called sketches. These sketches are written in a text editor and are saved with the file extension.ino. The editor has features for cutting/pasting and for searching/replacing text. The console displays text output by the Arduino IDE, including complete error messages and other information. The bottom right-hand corner of the window displays the configured board and serial port. The toolbar buttons allow you to verify and upload programs, open the serial monitor, and access the serial plotter.
|
Verify Checks your code for errors compiling it. |
|
Upload Compiles your code and uploads it to the configured board. |
|
Debug Troubleshoot code errors and monitor program running status. |
|
Serial Plotter Real-time plotting of serial port data charts. |
|
Serial Monitor Used for debugging and communication between devices and computers. |
Environment Configuration
First, open the software platform arduino, and then click File in Menus and select Preferences.
Second, click on the symbol behind “Additional Boards Manager URLs”
Third, fill in https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json in the new window, click OK, and click OK on the Preferences window again.
Fourth, click “Boards Manager”. Enter “esp32” in Boards manager and select 2.0.5, Then click “INSTALL”.
Arduinowill download these files automaticly. Wait for the installation to complete.
When finishing installation, click Tools in the Menus again and select Board: “Arduino Uno”, and then you can see information of ESP32. click “ESP32-S3 Dev Module” so that the ESP32-S3 programming development environment is configured.
Notes for GPIO
Strapping Pin
There are four Strapping pins for ESP32-S3: GPIO0、GPIO45、GPIO46、GPIO3。
With the release of the chip’s system reset (power-on reset, RTC watchdog reset, undervoltage reset), the strapping pins sample the level and store it in the latch as “0” or “1” “, and keep it until the chip is powered off or turned off.
Each Strapping pin is connecting to internal pull-up/pull-down. Connecting to high-impedance external circuit or without an external connection, a strapping pin’s default value of input level will be determined by internal weak pull-up/pull-down. To change the value of the Strapping, users can apply an external pull-down/pull-up resistor, or use the GPIO of the host MCU to control the level of the strapping pin when the ESP32-S3’s power on reset is released.
When releasing the reset, the strapping pin has the same function as a normal pin.
The followings are default configurations of these four strapping pins at power-on and their functions under the corresponding configuration.
If you have any difficulties or questions with this tutorial or toolkit, feel free to ask for our quick and free technical support through support@freenove.com at any time.
PSRAM Pin
The module on the ESP32-S3-WROOM board uses the ESP32-S3R8 chip with 8MB of external Flash. When we use the OPI PSRAM, please note that the GPIO35-GPIO37 on the ESP32-S3-WROOM board will not be available for other purposes. When OPI PSRAM is not used, GPIO35-GPIO37 on the board can be used as normal GPIO.
SDcard Pin
An SDcard slot is integrated on the back of the ESP32-S3-WROOM board. We can use GPIO38-GPIO40 of ESP32-S3-WROOM to drive SD card.
The SDcard of ESP32-S3-WROOM uses SDMMC, a 1-bit bus driving method, which has been integrated in the Arduino IDE, and we can call the “SD_MMC.h” library to drive it. For details, see the SDcard chapter in this tutorial.
USB Pin
In Micropython, GPIO19 and GPIO20 are used for the USB function of ESP32S3, so they cannot be used as other functions!
Cam Pin
CAM_Pin |
GPIO_pin |
|---|---|
SIOD |
GPIO4 |
SIOC |
GPIO5 |
CSI_VYSNC |
GPIO6 |
CSI_HREF |
GPIO7 |
CSI_Y9 |
GPIO16 |
XCLK |
GPIO15 |
CSI_Y8 |
GPIO17 |
CSI_Y7 |
GPIO18 |
CSI_PCLK |
GPIO13 |
CSI_Y6 |
GPIO12 |
CSI_Y2 |
GPIO11 |
CSI_Y5 |
GPIO10 |
CSI_Y3 |
GPIO9 |
CSI_Y4 |
GPIO8 |
If you have any questions about the information of GPIO, you can click here to go back to ESP32-S3 WROOM to view specific information about GPIO.
or check: https://www.espressif.com/sites/default/files/documentation/esp32-s3_datasheet_en.pdf.


















