ESP32-C3 repeatedly disconecting from usb

Timotej
Posts: 2
Joined: Sun Oct 08, 2023 9:13 am

ESP32-C3 repeatedly disconecting from usb

Postby Timotej » Sun Oct 08, 2023 11:23 am

I've connected my brand new ESP32-C3-02 module:

(D+ to pin 19, D- to pin 18, 3.3V to a 3.3V regulator, and the regulator into the USB's 5V, GND to GND, and pin EN through a 10k ohm resistor to 3.3V).

But when I connect the USB connector into my Windows 10 computer, I hear the sound of a connected device, but about one second later, I hear the sound of a disconnecting device, and every next second or so, I just hear the disconnecting sound again and again. When I tried a different PC, it had the same problem.

I don't know what I should try; I tried 5 different modules, and it happened with every one of them. Maybe new USB drivers? Maybe something with efuse? I don't know. I would really appreciate your help or any ideas.

ESP_Sprite
Posts: 9766
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32-C3 repeatedly disconecting from usb

Postby ESP_Sprite » Sun Oct 08, 2023 12:39 pm

An ESP32C3 will do that if it has no program in it. Try pulling GPIO9 low, reset it, and program it.

Timotej
Posts: 2
Joined: Sun Oct 08, 2023 9:13 am

Re: ESP32-C3 repeatedly disconecting from usb

Postby Timotej » Sun Oct 08, 2023 1:07 pm

And it just works now.
This should be written somewhere with a very large font :)

Thank you.

Who is online

Users browsing this forum: Bing [Bot] and 95 guests