Page 1 of 1

ESP32-C3-MINI-1-N4: can't establish Serial connection

Posted: Sun Jun 09, 2024 4:13 pm
by EmilEmilchen
I've recently build my own dev board utilizing the ESP32-C3-MINI-1-N4 module. Everything works pretty well and just as expected, I can control a few onboard LEDs just fine and upload code and everything. The only (major) problem is that I apparently can't receive any Serial data. When using the Arduino VSCode Extensions Serial Monitor I get an error:
Screenshot_20240609_180512.png
Screenshot_20240609_180512.png (137.1 KiB) Viewed 746 times
the error is highlighted and German, it translates to something like "Error opening the Serial port /dev/ttyACM0", in the top you can also see my very simple test code. On pin 2 theres an LED which blinks just as expected.
When using

Code: Select all

screen /dev/ttyACM0 115200
i just get an empty screen, no error message but also no output. Same goes for tio:
Screenshot_20240609_180904.png
Screenshot_20240609_180904.png (49.19 KiB) Viewed 746 times
When using the Arduino IDE on windows I don't get any error messages but only a blank Serial Monitor as well. I'm really out of ideas and would really appreciate any help you could give me.
Thanks in advance!

Cheers, Emil


Edit: I'm not 100% sure this is rightly placed in the hardware category but I figured to have ruled out pretty much any software problem that could be the reason for the observed behavior. I really hope it is just a software problem though.

Re: ESP32-C3-MINI-1-N4: can't establish Serial connection

Posted: Fri Jun 14, 2024 7:13 pm
by EmilEmilchen
Turns out I just had to enable "USB CDC on Boot"!