Page 1 of 1

USB alternative for debug?

Posted: Wed Nov 07, 2018 10:38 pm
by srimbey
Can tx0/rx0 be use to communicate with arduino ide? I want to power the ESP32 from a wall charger and still be able to see debug Serial.print messages in arduino ide. Tried modifying a usb cable to plug into rx0/tx0 but do not see any output on the ide.

I want to get higher power from the wall charger because when power comes from the computer usb(MacBook Pro 13") I sometimes get intermittent errors like brownout and random error messages. However when powered from the wall charger (higher amp rating) all seems to work ok. I'm driving a servo with the esp.

Thanks
Steve

Re: USB alternative for debug?

Posted: Thu Nov 08, 2018 7:04 am
by chegewara
Try google with phrase USB to TTL or just FTDI.

Re: USB alternative for debug?

Posted: Thu Nov 08, 2018 6:34 pm
by srimbey
I thought that's what I was doing by modifying the end of the usb cable but now see that the part needs to be converted to usb thus the need for FTDI cable.

How to get data out the rx0/tx0 or rx2/tx2 pins?

Re: USB alternative for debug?

Posted: Fri Nov 09, 2018 5:18 am
by WiFive

Re: USB alternative for debug?

Posted: Tue Nov 20, 2018 6:57 am
by rodmcm
The USB connection actually uses TX0 and RXO so you can put another power supply on and use the USB only for logging via Serial.print etc.

You also have two other serial outputs that you can connect to a FTDI unit and look at the output with Putty or similar

Re: USB alternative for debug?

Posted: Tue Nov 20, 2018 7:34 am
by Kashyapkoshti
You can use network port for serial monitor.
You can upload code and get serial data through wifi in esp