Page 1 of 1

ESP32-C3 repeatedly disconecting from usb

Posted: Sun Oct 08, 2023 11:23 am
by Timotej
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.

Re: ESP32-C3 repeatedly disconecting from usb

Posted: Sun Oct 08, 2023 12:39 pm
by ESP_Sprite
An ESP32C3 will do that if it has no program in it. Try pulling GPIO9 low, reset it, and program it.

Re: ESP32-C3 repeatedly disconecting from usb

Posted: Sun Oct 08, 2023 1:07 pm
by Timotej
And it just works now.
This should be written somewhere with a very large font :)

Thank you.