Custom ESP32-S3 Serial.print Without UART Bridge

Hello! I recently made a custom ESP32-S3 board that uses USB to flash code so I could skip needing a USB>UART bridge.

Is there any way I could still Serial.print() to my computer just using USB? Just connect TX & RX from the uController to where they would'be gone on the USB-C connector?

Thanks!

I guess you have to use the right settings in the Tools menu. Uno R4 has the S3 as 'FTDI' and the S3 has Arduino sketch as a firmware. It has no problem to print to USB. It uses USBSerial as the 'Serial' object

Oh awesome! I will try it. Thanks!

There are many ESP32-S3 boards that only expose the USB OTG port. For example, Adafruit QT PY ESP32-S3, M5Stack AtomS3, etc. Arduino upload and Serial console work on the USB OTG port.

On the board options menu select USB CDC ACM On Boot: Enable.

For anyone still looking, USBSerial.print works but if you try to upload anything afterwards using the same USB port it doesn't work and locks you out with:

A fatal error occurred: No serial data received.
Failed uploading: uploading error: exit status 2

I'll update with solution if I can find it.

It works with USBSerial if and only if you add a 1s delay in the loop. Otherwise you get locked out by what I'm guessing is USB noise

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