I have a AI Thinker ESP32-CAM and a ESP32 Dev Module with damaged usb plug, So both need the FDTI programmer. When I use Visual Studio Code with the damaged ESP32 Dev Module, I can transfer the Blink-LED program but after that, the led doesn’t blink. But when I transfer again the program the led blinks during the transferring. When the transfer finishes the led doesn’t blink any more.
Now I found that the problem is with the Serial Monitor. When I open it, the led stops blinking and the Serial Monitor doesn’t show the LED state. If I close the Serial Monitor, the LED starts blinking again. And the EN button has no effect.
Hi.
That’s weird. So that seems to be a problem related to your specific board.
Usually, you just need to press the EN button so that the board starts running the program.
Regards,
Sara
There are many questions like mine in the web. In one of them I found:
“Yes, I have just found the trouble, just put Off DTR & RTS in the settings of the serial monitor.”
So I put:
monitor_rts = 0
monitor_dtr = 0
in platformio.ini and then the Serial monitor of Visual Studio Code started running.
Hi again.
I didn’t know about those settings.
Is everything working as expected now?
Regards,
Sara
RTS (Request To Send) and DTR (Data Terminal Ready) were signals used for RS232 communication years ago. Computers were slow and so were modems so you had to send a hardware signal when you wanted to send data and when the receiver was ready to receive. In this day and age computers are many times faster than any serial signal can go so these lines are no longer needed.
Now it is working well and I can follow your eBook. Only after putting those settings in platformio.ini I was able to connect esp32 with Visual Studio Code by Serial Monitor.