Can't get output from serial monitor

…or add the following lines to platformio.ini [env: ]
monitor_dtr = 0
monitor_rts = 0

3 Likes

This worked for me! Thank you!

i am using esp32cam
having the same issue like on arduino the serial monitor working
but on vs code its not
i also set the platformio.ini like this
[env:esp32cam]

platform = espressif32

board = esp32cam

framework = arduino

monitor_speed = 115200

upload_speed = 115200

board_build.partitions = partitions.csv

upload_port = COM12 ; replace xx with your actual COM port number

but i dont know its not working

i am also using latest version of platform io
i guess their is an issue with platform io
plz guide me anyone

Does uploading via PlatformIO work?

The ESP32Cam doesn’t have an UART chip on board.
How do you connect it to your PC?
Do you use a FTDI adapter or an ESP32-Cam-MB?

I tried a thousand things, but these two lines did the magic. Thanks; this works for me. I see this is an issue with a few serial ICs. I have multiple D1 mini-boards. In some, this setting is required, while others work without it.

1 Like

very useful

It’s the solution

That’s great—thank you for explaining the reason behind this issue!