Page 1 of 1

ESP32 Serial monitor not working

Posted: Tue Nov 07, 2017 2:50 pm
by Zh0nd01
Hello,
I'm having a problem with the serial monitor, when I send the program (https://pastebin.com/YtrS1DyG) on the esp32 everything works, but when I want to read the serial monitor, nothing is displayed and the LED stops flashing and restart when I stop the serial monitor (The monitor is set to 115200).
I tried with platformIO on Atom, VSC, Sublime Text 3 and on another PC, the same problems. On the Arduino IDE it works very well.

Maybe the trouble comes from my ESP? If anyone has a solution ? :idea:

Re: ESP32 Serial monitor not working

Posted: Mon Nov 20, 2017 8:26 pm
by MitchSF
Have you tried adding a delay after Serial.begin, or while (!Serial)?

Re: ESP32 Serial monitor not working

Posted: Tue Nov 21, 2017 5:37 pm
by Zh0nd01
Hello, I think it's not a code problem because it works very well with the Arduino IDE, Photo:
2017-11-21_182305.png
ArduinoIDE
2017-11-21_182305.png (35.04 KiB) Viewed 11806 times

Re: ESP32 Serial monitor not working

Posted: Thu Dec 14, 2017 2:54 pm
by Zh0nd01
I have just found the trouble, just put Off DTR & RTS in the settings of the Serial Monitor (PlatformIO in Atom).