Xinyuan-LilyGO/T-U2T

Can I use a USB to TTL Serial Adapter with FTDI FT232RL chip to program boards that require the T-U2T?

Opened this issue · 3 comments

I have a USB to TTL Serial Adapter with FTDI FT232RL chip that I use to program devices such as the Sonoff outlets. By looking at the schematics it seems like I should be able to program the T-Relay board using this adapter as long as I can make the connections between the USB to TTL adapter and the T-Relay board. I have a USB C breakout I can use to accomplish this... Can you kindly confirm it is possible? And if so, what the correct connection are?

BTW, while I understand that the USB to TTL circuitry adds cost and is often used once (with ESPHome you upload once via cable then via wifi), I really do NOT like needing an adapter to program the board. LilyGo products designed this way are significantly less appealing. I also frown on the use of a USB C connector as a power option given it cannot be used to program the board directly... I ended up purchasing a product without the T-U2T as I did not realize it was required and I can't even get an adapter without waiting a month!

image
I understand your request. Here are the USB terminals, you can just connect VBUS, GND, RX, TX. Then manually enter the download mode to upload the code.

In the diagram you attached it appears I need to connect the same signal to 2 pins on the USB C connector that connect to the T Relay board. Anyhow, I see IO0 and RST/EN which I need to confirm. My adapter has a "Reset#" pin so I am guessing that one is the RST/EN pin but I am not sure what to connect to the IO0 pin.

My adapter has the following pins:
CTS
RTS
RXD
TXD
GND
VCC
Reset#
DCO#
DSR#
RI#
DTR#

In case it helps this is the device:

https://www.amazon.com/gp/product/B07WX2DSVB/

You just need to connect VBUS, GND, RX, TX. And make sure RX and TX send and receive normally. The other pins are functions of the automatic upload circuit. Can be operated manually.