ESP32-S3 – ESP32-S3 Reading Serial Messages from Arduino

arduinoesp32serialusb

I am trying to get serial data from my custom-built ESP32-Wroom-S3 board in the Arduino IDE

The PCB works. I can program it from the Arduino IDE and make the LEDs blink.

enter image description here

I have the simplest possible code, so I don't think that is the problem

void setup() {
  Serial.begin(9600);
  Serial.println("Hello");
}

void loop() {
  Serial.println("Loop");
  digitalWrite(1, HIGH);
  delay(1000);
  digitalWrite(1, LOW)
  delay(1000);
}

In the serial console of the Arduino IDE I only get:

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x4037d23e
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x44c
load:0x403c9700,len:0xbec
load:0x403cc700,len:0x2920
entry 0x403c98d8

THE Arduino IDE is the latest version (2.0.3). The ESP was installed via the Board Manager as recommended in the ESP docs (link).

I have configured the Arduino IDE as follow:

Board: ESP32 S3 DevModule | UsbMode: USB-OTG

Does S3Wroom integrated USB support send serial data via USB? If yes, do you have any tips on what could be wrong?

Best Answer

You need to select

Enable on the Menu Tools >> USB CDC On boot

upload the sketch to the ESP32 and it should be working.

Here's a good tutorial about it.

Related Topic