PlatformIO Community

[SOLVED] ESP32 Serial monitor not working


#1

Hello,

I can build and upload the programs on my ESP32.
But when I run the Monitor Serial nothing happens and the LED stops blinking (the port and the baudrate are good)
I tried VS Code with PlatformIO and Sublime Text with Deviot same problems. While on the Arduino IDE everything is ok.

If anyone has a solution ? :slight_smile:


#2

Could you reproduce this issue with a simple main.cpp?

#include <Arduino.h>

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

void loop () {
}


#3

I just tried nothing, I try on another pc even worries, the problem could come from the ESP32


#4

https://youtu.be/F9Y5JsHHvoc


#5

Does it work with Arduino IDE?


#6

Yes, I have just found the trouble, just put Off DTR & RTS in the settings of the serial monitor.


#7

Zh0nd, how can I do it?


#8

This is documented in https://docs.platformio.org/en/latest/projectconf/section_env_monitor.html#monitor-rts.