Notifications
Clear all

ESP32 not recognized by arduino IDE

12 Posts
5 Users
1 Reactions
459 Views
 Lom
(@lom)
Member
Joined: 2 months ago
Posts: 28
Topic starter  

Hello,

I’ve working with arduino UNO and wanted to try ESP32 to follow the droneBot tutorial on the GC9A01 TFTT display.

I got the arduino part to work. But can’t get the Arduino IDE to recognize the ESP32 dev board. When I plug into the USB port I don’t get the familiar windows chime.

I’m using the ESP-WROOM-32s dev board see picture. The error code is also in another picture below.

i tried hitting the reset button on the microcontroller. And tried a second in case of a bad board.  The light on the microcontroller is lit.

what am I missing to get widows to recognize the board like the arduino?

IMG 1298
IMG 1296
IMG 1299
IMG 1297


   
Quote
 Lom
(@lom)
Member
Joined: 2 months ago
Posts: 28
Topic starter  

I figured out one issue which was I was using a power only cable. now I get the windows ding, but the IDE still does not recognize the com port or the ESP32 board.



   
ReplyQuote
noweare
(@noweare)
Member
Joined: 6 years ago
Posts: 219
 

Try going into device manager, com & lpt section. See if com port 6 is shown. unplug the cable and plug in the cable and see if it changes anything. 



   
ReplyQuote
 Lom
(@lom)
Member
Joined: 2 months ago
Posts: 28
Topic starter  

Posted by: @noweare

Try going into device manager, com & lpt section. See if com port 6 is shown. unplug the cable and plug in the cable and see if it changes anything. 

 

I did that nothing changes

 



   
ReplyQuote
noweare
(@noweare)
Member
Joined: 6 years ago
Posts: 219
 

@lom

If windows dinged I would think it recognized something was plugged in. Try rebooting.


This post was modified 1 month ago by noweare

   
ReplyQuote
 Lom
(@lom)
Member
Joined: 2 months ago
Posts: 28
Topic starter  

No but I’m Tommy to get it there



   
ReplyQuote
robotBuilder
(@robotbuilder)
Member
Joined: 7 years ago
Posts: 2508
 

@lom 

Don't know if this chatGPT is of any help?

 

What you’re missing is usually the USB-to-serial driver for the ESP32 board — unlike an Arduino Uno, many ESP32 boards don’t use a built-in Windows driver that “just works.”

Your symptoms strongly suggest this:

  • Windows makes the USB “ding” → hardware detected

  • But no COM port appears in Arduino IDE → driver issue

  • COM5/COM6 errors → Arduino IDE is trying to use a port that no longer exists or was never created properly

The ESP-WROOM-32S module itself is only the ESP chip. The actual USB interface on the dev board is typically one of these:

  • CP2102 / CP210x (most common)

  • CH340 / CH341

  • sometimes FTDI

You need the correct Windows driver for that USB chip.


Step 1 — Find which USB chip your board uses

Look near the USB connector on the ESP32 board.

You’ll usually see a small chip labeled something like:

  • CP2102

  • CH340

  • CH9102

  • FT232

That determines the driver.


Step 2 — Install the driver

If it says CP2102 / CP210x

Install Silicon Labs driver:

Silicon Labs CP210x Driver


If it says CH340 / CH341

Install WCH driver:

WCH CH340 Driver


Step 3 — Reboot Windows

This matters more often than people expect with serial drivers.


Step 4 — Verify Windows sees the COM port

Open:

  • Device Manager

  • Expand Ports (COM & LPT)

You should see something like:

  • “Silicon Labs CP210x USB to UART Bridge (COM7)”
    or

  • “USB-SERIAL CH340 (COM5)”

If nothing appears under Ports:

  • try another USB cable

  • many USB cables are power-only

  • try another USB port directly on the PC

  • avoid USB hubs initially

This is extremely common.


Step 5 — Install ESP32 board support in Arduino IDE

In Arduino IDE:

Preferences → Additional Boards Manager URLs

Add:

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

Then:

Tools → Board → Boards Manager

Search:

esp32

Install:

  • “ESP32 by Espressif Systems”

Official docs:

Espressif Arduino ESP32 Setup Guide


Step 6 — Select the correct board

For many ESP-WROOM-32S dev boards:

Try:

  • “ESP32 Dev Module”

under:

Tools → Board → ESP32 Arduino

That’s the generic setting most tutorials use.


Step 7 — Select the actual COM port

After plugging the board in:

  • Tools → Port

  • choose the COM port that appeared AFTER plugging it in

Ignore stale COM5/COM6 entries.


Step 8 — Upload procedure (important for some ESP32 boards)

Some cheap ESP32 boards need manual boot mode.

When uploading:

  1. Click Upload

  2. When you see:

    • “Connecting….”

  3. Hold the BOOT button

  4. Tap EN or RESET

  5. Release BOOT after upload starts

If uploads hang at:

Connecting........_____

this is usually the fix.


Another very common issue: bad USB cable

If:

  • power LED comes on

  • Windows dings

  • but NO COM port appears

then 50% of the time it’s a charge-only cable.

Try:

  • a known Arduino-capable USB cable

  • ideally the exact cable you used successfully with the Uno


Quick diagnostic checklist

In Device Manager, do you see:

A) “Unknown Device”

→ driver missing

B) Nothing changes at all

→ cable or USB port problem

C) COM port appears/disappears when plugging board

→ good, Arduino IDE configuration issue


Final likely answer

Based on your description, the most likely causes are:

  1. Missing CP2102/CH340 driver

  2. Charge-only USB cable

  3. Wrong COM port selected in Arduino IDE

  4. ESP32 board package not installed

The Arduino Uno works differently because Windows already has drivers for the Uno’s USB interface, while ESP32 clone boards often do not.



   
ReplyQuote
robotBuilder
(@robotbuilder)
Member
Joined: 7 years ago
Posts: 2508
 

@lom 

ChatGPT added this:

The biggest clue is this:

“Could not open COM5/COM6 … port doesn’t exist”

That almost always means:

  • Windows never created a valid serial port for the ESP32, or
  • Arduino IDE is trying to use an old/stale COM port.

Once the correct USB driver is installed and the right cable is used, ESP32 boards usually start behaving normally.

One extra trick that helps a lot:

  1. Open Device Manager
  2. Leave it open
  3. Plug/unplug the ESP32

Watch what changes:

  • If a COM port appears/disappears → progress
  • If “Unknown USB Device” appears → driver issue
  • If nothing changes → cable/USB port issue

For ESP-WROOM-32S boards specifically, I’d bet on:

  • CP2102 driver missing, or
  • CH340 driver missing.

After you get the COM port showing up, the GC9A01 display tutorials usually work fine with:

  • Board: “ESP32 Dev Module”
  • Library: TFT_eSPI
  • Proper User_Setup configured for GC9A01

You’re already past the hard Arduino-to-ESP32 transition point — this is mostly Windows USB-driver weirdness now.

 



   
ReplyQuote
 Lom
(@lom)
Member
Joined: 2 months ago
Posts: 28
Topic starter  

believe it or not I tried all that. I can't load the CP2102 driver which is what I need, I think. I may try it on another computer when I get a chance. This is the only PC I have, i'll see if I can get the arduino IDE for my Mac

 

 



   
ReplyQuote
 Lom
(@lom)
Member
Joined: 2 months ago
Posts: 28
Topic starter  

Got it working on mac

IMG 1303

 



   
robotBuilder reacted
ReplyQuote
thespamcatcher
(@thespamcatcher)
Member
Joined: 3 years ago
Posts: 15
 

@lom Once you have tried a new cable and the Windows PC dings or not, you should suspect the CH34x USB driver. (Most likely your board uses this serial chip - I have never had a problem with boards that use the 2102 serial interface) Windows routinely updates to the newest drivers, which is a problem in this case. Do a search on the WEB for - old ch34* usb driver. if you find one, turn off Windows automatic driver updates (As I remember the search I did also showed a link for how to do that) Then install the old driver and see if it works for you. It did for me. Keep a copy of the driver around so you can replace it if Windows thinks it is smarter than you. The date on the driver .exe file I downloaded is early 2017, although I also remember getting one around 2014 that I didn't save (didn't know Windows thought it had a better one SMILE)



   
ReplyQuote
(@videogame95)
Member
Joined: 5 years ago
Posts: 93
 

i've hi have same problem my esp32 board not uploading this i trying make car with 4 motors and macanum wheel

i'm using motor control board two. my boards not uploading this code below.

i've remove my ssid and my password.

 
#include <ESP32ControlStudio.h>

ESP32ControlStudio controlApp;

const char *ssid = "";
const char *password = "";

// Motor Driver Pins (L298N / TB6612)
const int PWM_FWD_PIN = 25;
const int PWM_BWD_PIN = 26;

// PWM Channels
const int CH_FWD = 0;
const int CH_BWD = 1;

void setup() {
  Serial.begin(115200);

  // Setup PWM
  ledcSetup(CH_FWD, 5000, 8);
  ledcSetup(CH_BWD, 5000, 8);
  ledcAttachPin(PWM_FWD_PIN, CH_FWD);
  ledcAttachPin(PWM_BWD_PIN, CH_BWD);

  controlApp.begin(ssid, password);
}

void loop() {
  controlApp.update();

  if (controlApp.isConnected() &&
      controlApp.sw1) { // Require ARM SYSTEM (sw1) to be ON

    // Map Joystick (0-255) to Speed (-255 to 255)
    int speed = map(controlApp.leftY, 0, 255, -255, 255);

    // Deadband
    if (abs(speed) < 25)
      speed = 0;

    // Drive
    if (speed > 0) {
      ledcWrite(CH_FWD, speed);
      ledcWrite(CH_BWD, 0);
    } else if (speed < 0) {
      ledcWrite(CH_FWD, 0);
      ledcWrite(CH_BWD, -speed);
    } else {
      ledcWrite(CH_FWD, 0);
      ledcWrite(CH_BWD, 0);
    }
  } else {
    // Failsafe or Disarmed
    ledcWrite(CH_FWD, 0);
    ledcWrite(CH_BWD, 0);
  }
}
 
any help please jim videogame95


   
ReplyQuote