ESP32 USB drivers (CH340, CP2102) and connection troubleshooting
Step-by-step help when the ESP32 is not detected: data vs charge-only cable, CH340 / CP2102 / CH9102 drivers for Windows, macOS and Linux.
If your computer does not see the ESP32, follow these steps from top to bottom. Most problems are a charge-only cable or a missing driver.
Step 1: data cable or charge-only cable?
- Many cheap cables only carry power. The board lights up but no serial port appears.
- Try another cable, preferably the one that came with a phone that transfers files.
- Plug the board directly into the PC (no hub) and use a rear port on desktops.
- Test the cable with a phone: if the phone appears as a storage device, it carries data.
- Keep the cable short (< 1 m); thin long cables cause drops and brownouts.
Step 2: which USB-UART chip does your board have?
Look at the small chip near the USB port: CH340 / CH9102 (WCH), CP2102 / CP2104 (Silicon Labs), FT232 (FTDI). ESP32-S3 / C3 / C6 boards can use native USB with no extra chip.
| CH340 / CH341 | Most cheap DevKit V1 boards. Needs the WCH driver on Windows; built into modern Linux; macOS often needs the driver. |
|---|---|
| CH9102 | Newer boards from the same family: install the WCH CH343/CH9102 driver. |
| CP2102 / CP2104 | Original DevKitC and many quality boards. Install the Silicon Labs CP210x driver. |
| FTDI FT232 | Adapters and some boards. Windows installs it automatically; fake chips may stop working. |
| Native USB | ESP32-S3/C3/C6 can appear as “USB JTAG/serial”: hold BOOT while plugging in for download mode. |
Windows
- Open Device Manager → Ports (COM & LPT). If you see “USB-SERIAL CH340 (COMx)” or “CP210x”, the driver works.
- If there is an unknown device or yellow warning, install the driver for your chip and re-plug the board.
- Close the Arduino Serial Monitor and other programs that may hold the COM port.
- If the COM number is above 20 or the port is “busy”, change it in Device Manager → Advanced.
macOS
- Open Terminal and run: ls /dev/cu.* — you should see /dev/cu.usbserial-… or /dev/cu.wchusbserial….
- Install the CH34x or CP210x driver, then allow the system extension in System Settings → Privacy & Security and restart.
- On Apple Silicon use the latest driver version from the chip manufacturer.
- Avoid USB hubs without power; try a direct port or a USB-C data adapter.
Linux
- Run: dmesg | tail — you should see “ch341-uart” or “cp210x converter now attached to ttyUSB0”.
- Add yourself to the dialout group: sudo usermod -a -G dialout $USER, then log out and in.
- Uninstall the brltty package if the port disappears right after connecting.
Still not working?
- Hold BOOT, tap EN/RST and release BOOT to enter flash mode.
- Disconnect everything wired to GPIO0, TX0, RX0 and 5V while flashing.
- Lower the upload speed to 115200.
- Try another computer or USB port; test with the Web Flasher.
- Paste the exact error into the AI Error Doctor.
Official driver downloads
Open the Web Flasher Ask the AI Error Doctor Open the web serial monitor
Comments
No comments yet. Share your experience or ask a question.