Can't connect to ESP32 Dev board

Problem: Can't upload anything or connect to esp32 dev board. When I try to upload a simple blink sketch, I get this output:

Sketch uses 237117 bytes (18%) of program storage space. Maximum is 1310720 bytes.
Global variables use 21048 bytes (6%) of dynamic memory, leaving 306632 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.5.1
Serial port /dev/cu.usbserial-0001
Connecting......................................

A fatal error occurred: Failed to connect to ESP32: No serial data received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
Failed uploading: uploading error: exit status 2

The dev board has one blue LED, which does start blinking when the Connecting... text appears. Holding down RST or BOOT for a second when it starts connecting doesn't fix the problem. It has no other buttons or LEDs. The board's being powered via the usb cable, with which it is connected to my mac. I have tried different USB cables, that is not the issue. I have installed the cp210xvcp driver, it didn't help. I measured with a multimeter that the 3.3v pin is reading 3.8v when connected via usb to my computer (5v pin reads 5.1), could this be a problem? If so, is the board's voltage regulator bad, and is the esp32 fried?

Sketch:

void setup() {
  pinMode(2, OUTPUT);
}

void loop() {
  digitalWrite(2, HIGH);
  delay(1000);
  digitalWrite(2, LOW);
  delay(1000);
}

Board:ESP32-WROOM-32 (XX5R69)

OS: MacOs Monterey 12.7

Arduino IDE version: 2.3.2

Python version: 3.12.2

Board selected in tools menu: ESP32 Dev Module and ESP32-WROOM-DA Module (I have tried both)

Upload speed:115200

Port: /dev/cu.usbserial-0001 or /dev/cu.SLAB_USBtoUART (I have tried both, both disappear when disconnecting the ESP32 dev board)

Boards package: esp32 by Espressif Systems v2.0.14 (latest)

Additional boards manager URLs:

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

Screenshot of IDE:

Photo of Dev Board:

Screenshot of the Tools menu bar:

Solution: I bought a different esp32 wroom-32d and it just worked. The one that worked ended up being cheaper as well. I suspect that the problem was the voltage regulator on the bad board giving the chip 3.8v, the new one is exactly 3.33v, but idk.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.