Skip to main content

Arduino

This chapter contains the following sections; please read as needed:

Arduino Beginner Tutorial

New to Arduino ESP32 development and want to get started quickly? We have prepared a comprehensive ESP32 Beginner Tutorial for you.

Development Environment Setup

1. Installing and Configuring Arduino IDE

Please refer to the Arduino IDE Setup Tutorial to download and install the Arduino IDE and add ESP32 support.

2. Other Tips

  1. The ESP32-S3-Zero is directly supported in the Arduino IDE. Select "Waveshare ESP32-S3-Zero".

    Select ESP32-S3-Zero in Arduino IDE
  2. The ESP32-S3-Zero uses the ESP32-S3 native USB interface, not a UART-to-USB bridge. For serial communication:

    • The printf() function can be used directly;

    • To use the Serial.println() function, you need to enable the USB CDC feature. Please follow the steps below to check and confirm your environment configuration is correct:

      1. Update ESP32 Library: It is recommended to update the ESP32 board library in the Arduino IDE to version 3.3.5 or higher. Newer versions of the library have enabled USB CDC by default for this board.

      2. Check Configuration Options: In the "Tools" menu of the Arduino IDE, check and confirm that the "USB CDC On Boot" option is set to "Enabled".

        note

        As shown below, the "USB CDC On Boot" option should be set to Enabled under correct configuration.

        Enable USB CDC