Arduino Environment Build

Install the USB Serial Port Driver

  • Download the“USB-SERIAL_CH340.zip”package
  • After decompression, go to the folder, double-click the “CH341SER.EXE” executable program, an installation window will pop up, and then click the “Install” button to continue the installation.
  • After the installation is successful, click the “OK” button in the window to exit. Connect the computer USB to the development board and power it on, then enter the computer’s Device Manager, and you can see that the CH340 port is recognized under Ports.

Install ESP32 Development Board Support

In the Arduino IDE, you need to install the ESP32 development board support. Open the Arduino IDE, click “File” -> “Preferences” (Windows and Linux) or “Arduino IDE” -> “Preferences” (Mac) in the menu bar. In the dialog box that pops up, find the “Additional Boards Manager URLs” option and add the ESP32 URLs:

https://arduino.esp32.net/stable/package_esp32_index.json
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json

Then click “OK” to save the settings.

Configure the ESP32 Development Board

Open the Arduino IDE, click “Tools” -> “Board” -> “Boards Manager” in the menu bar. In the dialog box that pops up, search for “esp32”, find “Espressif Systems ESP32” and install it. After the installation is complete, restart the Arduino IDE.

Install ESP32 Library Files

When developing ESP32 projects, you need to use some specific library files, such as “TFT_eSPI“. Please locate the libraries folder in the Arduino installation on your local computer, and then add the “TFT_eSPI” library file we provided to the local libraries folder.

Connect the ESP32 Development Board

Connect the ESP32-2432S028 development board to the computer. Use a USB data cable to connect the development board to the computer, then select the correct port and board model in the Arduino IDE. In the menu bar, select “Tools” -> “Port“, and choose the port where your ESP32 development board is connected. Here, select “ESP32 Dev Module” under “Tools” -> “Board“.

Test the Development Environment

To test whether your development environment has been set up successfully, you can try uploading a simple example program to the ESP32 development board. Open the Arduino IDE, click “File” -> “Examples” -> “ESP32” -> “Blink” in the menu bar. This will open an example program named “Blink”. Click the “Upload” button and wait for the upload to complete. If the upload is successful, the LED on the ESP32 development board should blink at a certain frequency, which indicates that the development environment has been set up successfully.