ESP32-S3's Serial monitor not working in IDE

Hi there,

I am new to ESP32 and got into an issue which drives me crazy for the last 3 days or so.

The following code is successfully uploaded to ESP32-S3 but the Serial monitor receives no feedback.

void setup() {
  Serial.begin(115200);
}

void loop() {
  Serial.println("Testing");
  delay(1000);
}

Arduino IDE 2.3.4
Win 11 Pro, version 23H2
using ESP32S3 Dev Module profile on a COM port via the USB connector on the board
Board (marked USB, not COM on the back of the board, using COM fails the upload): YD-ESP332-23 v1.3

Compiling and uploading is successful

[...]
Writing at 0x00054af5... (100 %)
Wrote 299056 bytes (159267 compressed) at 0x00010000 in 2.9 seconds (effective 838.9 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting with RTC WDT...

Serial Monitor running on 115200 baud is blank

Why does it not print "Testing" continuously?

I would appreciate any help with this.
Do let me know if you need any further information.

Thank you :slight_smile:

Hi @der_leviathan_2025. A fairly unique thing about the boards that use the microcontrollers of the ESP32 family with native USB capability (as is the case with your board) is that they are typically configured to disable the use of their USB CDC serial port in the sketch by default.

That default disabled configuration is appropriate when your sketch doesn't use the serial port, but in cases where you do need it (such as when your sketch calls Serial.println, etc.), then it is necessary to configure the board so that the port will be enabled. Fortunately this is quite easy since the ESP32 boards platform developers configured the board definition to produce a custom board options menu you can use to enable or disable the port as needed via the Arduino IDE user interface.

Please try this:

  1. Select Tools > USB CDC On Boot > Enabled from the Arduino IDE menus.
  2. Upload the sketch to your board again, just as you did before.

Now check the Serial Monitor. Hopefully you will now see the expected output from the board there.

Hi @ptillisch,

Thank you so much for coming back to me so quickly :slight_smile:

I've changed the USB CDC On Boot to Enabled but unfortunately, after a re-upload, the Serial Monitor still does not show any messages.

On my quest to get this up and running, I've tried multiple things, so I hope I have not changed any important settings :see_no_evil:

I hope the screen capture above might spark further ideas.

Thank you :slight_smile:

1 Like

Have you pressed the reset button?

I am pretty sure, I've tried the following combinations:

  1. Holding the BOOT button on upload and releasing once it was finished
  2. Pushing RST butto after upload
  3. Both of the above combined
  4. Before upload holding BOOT, pushing RST, releasing BOOT
  5. Combination of point 4, then point 2

I am not in front of my PC anymore, but will try them tomorrow again with CDC enabled. Maybe it makes a difference :thinking:

Nevertheless, thank y'all for your input and help, much appreciated.

The last time I had a situation like that, it was the cable. I tested it on a USB continuity checker, and it was ok, but I decided to change it in any case, and the problem was solved. I then cut the other cable in half and tossed it.

So, I've tried all from post #5 with no success :frowning:

I also tried a new cable and USB port on my PC, still no success.

As I do not have a good setup to test continuity of each contact of a USB cable, I've just connected my phone with the PC using the cables and was able to charge, up and download with any problems, which tells me the cables are working fine, right?

This really bugs me as I have tried everything :sob:
Happy to switch to a different board as well, if that makes it easier...
(by the way, this is my second ESP32 board of the same make with the same issue!)

I just pulled out one of my esp32-s3 boards and uploaded the blink sketch. I am NOT including a video of the blink running as vids are not allowed but if you want proof, I can figure something out to get it to you, screen shots of Tools and Board Data plus photos front and back of my board.




Ill have a look into this in a little while. Which blink sketch did you use? Can you post the code here, please? :man_bowing:

It's the IDE basic sample.

I then tried your original sketch and NO serial output. I then tried my default sketch, which also did nothing. I then added a print followed by a 1-second delay and could see the red led blinking at 1 sec interval. I then changed to a 5-second delay, and the red LED now blinks at 5 5-second intervals.
Something is preventing the serial output from showing up. I have to go out but maybe someone will remember what the secret is.

Thank you @sonofcy

I've tried the Blink default sketch from Arduino (File -> Examples -> 01.Basics -> Blink) but unfortunately, after the upload the onboard LED does not blink as expected :frowning:

Ok, take the same pictures and screen grabs as I did so we can see what the heck the difference is.

Here we go



I've tried both enabling and disabling USB CDC On Boot


Funny enough I do not get a serial number back

I am going to make a wild guess and say the no serial number means a clone or fake board.

After purchasing the board, i found out exactly that, it is a cloned board spattered all over Amazon :unamused:

Let me see if i can get a genuine board online and maybe that will give me the desired result

Anything I should have an eye out for, in terms of designation/specs?

The project I am working on at the moment will need a minimum of 8 IO (4 of which I would like to use Touch input).
I understand that this board is overkill, but I would also like to try out some stuff, before buying one board which will fit the end result of this project.

Did you see my post #11? I can get it to blink, but no Serial out. There is a red LED that blinks at the same frequency as the Serial. println statement, but no output.
I wonder if this is a Boards 3 issue, have you tried backleveling your espressif esp32 boards to 2.0.17? I will also try.

Nope, not a Boards 3 issue.