Install Driver

When using the ESP32-S3-DevKitC-1 development board, it is typically equipped with a CH340 USB-to-serial chip. To ensure that it is correctly recognized and operates smoothly on your computer, you need to install the appropriate drivers. Below are detailed installation steps.

1. Download the Driver

Choose your operating system and download the corresponding CH340 driver:

  • Windows:

  • macOS:

  • Linux:

    • Linux usually supports the CH340 driver by default without needing additional installation. If you need to load it manually, you can use the following command:

      sudo modprobe ch341
      

2. Driver Installation

Windows

  1. Download and unzip the ZIP file.

  2. Double-click the SETUP.EXE file and follow the prompts to complete the installation.

  3. After installation, restart your computer and reconnect the development board.

macOS

  1. Download and unzip the ZIP file.

  2. Double-click the .pkg file and follow the prompts to install.

  3. If installation is blocked, go to System Preferences > Security & Privacy to allow the installation.

  4. Restart your computer and reconnect the development board.

Linux

  • By default, the Linux kernel already supports CH340. If you encounter any issues, try to load the driver:

    sudo modprobe ch341
    

3. Confirm Device Connection

  1. Connect the development board to your computer using a USB data cable.

  2. Open Arduino IDE, navigate to Tools > Board, and make sure to select ESP32 Dev Module.

  3. Check Tools > Port to ensure that /dev/ttyUSB0 (Linux) or COMx (Windows) appears, where x is the specific port number.

4. Test the Driver

Write and upload a simple test program to verify that the driver is working correctly:

void setup() {
    Serial.begin(115200); // Initialize serial communication with a baud rate of 115200
    Serial.println("Hello, ESP32-S3-DevKitC-1!"); // Print test message
}

void loop() {
    // Additional logic can be added here
}

4.1 Upload and Debug

  1. In Arduino IDE, click the upload button to upload the code to ESP32-S3-DevKitC-1.

  2. Open the serial monitor and set the baud rate to 115200. Check if you see the output “Hello, ESP32-S3-DevKitC-1!”.

5. Troubleshooting Common Issues

  • Device not recognized: Check the USB cable and port connections, ensuring that the CH340 driver is correctly installed.

  • No output on the serial monitor: Verify that the baud rate settings and the selected port are correct.