Install and Configure Arduino IDE
The core logic of this tutorial applies to all ESP32 boards, but all the operation steps are explained using the example of the Waveshare ESP32-S3-Zero mini development board. If you are using a development board of another model, please modify the corresponding settings according to the actual situation.
The Arduino IDE is an open-source development environment that supports Arduino microcontrollers and is compatible with a variety of third-party development boards, including the ESP32, allowing developers to easily write and upload code to these powerful Wi-Fi and Bluetooth integrated chips to implement IoT projects. It has rich libraries and sample code, widely used in prototype development and education fields, and is the preferred platform for beginners. This series of tutorials will use the Arduino IDE as the development environment.
1. Download and Install Arduino IDE
-
Go to Arduino official website to download the Arduino IDE installer.
-
Run the installer to install the Arduino IDE. It is recommended to use the default settings during installation and choose a path containing only English characters.
warningAn installation path containing special characters may cause exceptions.
2. Set up Arduino IDE
-
After installation is complete, launch the Arduino IDE.
-
Upon the first launch, the IDE may automatically download and install core library files and drivers. If the operating system prompts for driver installation or network security permissions, it is recommended to allow them. The output window information shown in the figure below indicates the installation process and is normal; no action is required.

-
The Arduino IDE displays the English interface by default, but supports switching to other languages. Click “File -> Preferences” to open the settings.

In the settings interface, find the "Language" option, select your preferred language, and then click "OK". The Arduino IDE will automatically restart and switch to the selected language interface.

-
In addition, you can also adjust the interface scale, font size, theme style, and default save location of sketches(program files) in "Preferences".
3. Install ESP32 Development Board Library
To develop for the ESP32 using the Arduino IDE, you need to add the ESP32 board configuration and install the relevant libraries.
-
Open "File" -> "Preferences", find "Additional Board Manager Address" in the Settings screen, paste the following link and click OK:
infoThis step can be skipped because the Arduino IDE has already indexed the ESP32 in the Board Manager, but it may not be up-to-date. Manually adding it ensures you get the latest ESP32 library first.
https://espressif.github.io/arduino-esp32/package_esp32_index.json
-
Open the "Board Manager", search for "ESP32" and install it. After installation, restart the Arduino IDE to use it

4. Install Libraries (As Needed)
In the Arduino ecosystem, a "Library" is a pre-written code package designed to simplify programming for specific tasks, such as driving sensors, controlling displays, network connections, or data processing. Using libraries avoids the need to write code from scratch, allowing developers to focus on the core logic of their projects and improving development efficiency.
Depending on the source and distribution method of the library, there are several common installation methods:
- Install via library manager
- Manual installation
- Install via .zip
Most libraries can be installed through the Arduino IDE's library manager.
-
Select "Tools > Manage Library..." in the menu bar, or click the Library Manager icon in the sidebar.
-
Enter the target library name in the search bar and the search results will be displayed in alphabetical order. You can view the library's description and author information. Once you find the library you need, click the "Install" button, and the system will install the latest version by default.

-
Wait for the installation to complete.
This method is suitable for one-time installations of folders that contain one or more libraries that we provide with the product demo package. These libraries are usually versions that have been specifically screened or adapted to ensure that the demos run stably.
-
Find the product demo package you downloaded and extracted. Typically, all required library files are stored in a single folder named
libraries. -
Copy all subfolders under the
librariesfolder completely to the Arduino IDE libraries folder.How to find the Arduino library folder?The default path to the Arduino libraries folder is usually:
C:\Users\<your username>\Documents\Arduino\libraries.You can also quickly locate it by checking the Project Folder Location in the Arduino IDE by going to File > Preferences. The library folder (
libraries) is located directly under that path. If thelibrariesfolder doesn't exist, you can create one manually. -
Restart the Arduino IDE to ensure that all newly installed libraries are loaded correctly.
This is a semi-automatic manual installation method, suitable for library files in .zip format downloaded from the Internet.
-
In the menu bar, select "Project > Import Library > Add .ZIP Library...".

-
In the file selection dialog that pops up, find and select the downloaded
.ziplibrary file, then click "Open". -
The IDE will automatically decompress this file and place it in the correct library folder.
5. Arduino IDE Interface Introduction

