Recommendations for a better/newer USB-TTL cable

I have been using Raspberry Pis, and years ago purchased a USB-TTL cable (which I believe is USB to TTL Serial UART RS232 Adaptor (PL2303TA) | 018-USB-PL2303HX | Core Electronics Australia). I have since got into Home Assistant and connected several off-the-shelf devices. I am thinking maybe now is the time to try “building” some of my own, and it appears that ESP devices will integrate nicely using ESPhome. I have not got into Arduino, and would rather not install Arduino IDE just because some some random YouTube video uses it. KISS !

I have connected an AI-thinker ESP32-CAM device to my PC with the cable, and eventually got the serial communication/firmware ESPhome upload working … but in the process have come across comments suggesting that we need different cables for different devices. Looking at my next project using a ESP-01S (*), I am thinking maybe it’s time to upgrade to a better/newer USB-TTL cable which exposes both 5V and 3V3 voltages, DTR and RTS, has LEDs to see which signals are being used, and … what else might be useful ? I would rather spend a little more to get one cable than to waste time and money fiddling with multiple cables.

I see that Core have quite a selection, which just makes it harder for someone like myself without the electronics background. I have seen FTDI Friend recommended; and I like the look of DFRobot FTDI Basic Breakout 3.3/5V or Adafruit CP2102N Friend units because of the jumper for voltage and all those header points along the side exposing other Serial pins.

So… I request your experiences and recommendations for the best / newest USB-TTL cable.

(*) which wants 3V3 instead of my cable’s 5V. I just found out that a soldering job can change my cable to 3V3 - but I don’t trust my soldering to keep changing back and forth.

5 Likes

I have encountered a similar problem recently, and I am trying to solve it,waiting for good advice with you

3 Likes

Hi All,

In my little adventure/project(you can find it on my profile, tis pending an update) I came across the ESP-PROG. It’s great for programming ESP based modules as it also includes the DTR and RTS auto reset circuit.

It’s based on an FTDI serial to USB bridge.

2 Likes

Hi Donald,

I’m keen to see your Home Assistant setup!

I’ve used the CP2104 in projects and it features the same chip in quite a few other ESP32 based modules/dev kits. As a plus side it also works with 3.3 and 5 V!

All modules are more or less doing the same thing, getting your ESP board into the firmware upload boot option then sending your code via a serial connection (and also waiting for confirmation messages).

As @Liam120347 mentioned the ESP-PROG is great, it breaks out JTAG (a different programming protocol and the serial lines from the FTDI chip onboard, and handles some niceties) if you are developing your own PCB’s.

Liam

1 Like

Would this work for you ? Using a pi pico.

You’d still need a level convertor for 5V.

1 Like

Donald,
you shouldn’t need different cables. Nearly all ESP devices have a USB chip and auto boot and reset capabilities that make programming just a matter of using almost any USB cable (as long as it has both power and data wires in it). The boards also include a voltage regulator that generates the 3.3 from the USB. Have a look at https://www.espressif.com/en/products/devkits/esp32-devkitc/overview.

If/when you need to use the modules directly there’s a whole new thing with designing PCBs and interface circuitry.
Dave

1 Like

OK. My thinking, for what it’s worth:

  1. Given my soldering inability I eliminated those without jumper for power voltage
  2. Flashy TX and RX lights made sense back when at 300 baud, but at todays high baud rates do they tell you any more than the jumble on the screen ?
  3. I have seen JTAG mentioned, so the ESP-PROG looks interesting. The cables provided are obviously for a specific subset of product(s), and unfortunately the “Automatic Downloading Function” appears to be a bit of by-engineers-for-engineers magic … leaving me questioning whether it will work with other products.
  4. Michael, I am wanting to KISS - Keep it Simple … not to add the time, frustration and learning curve of yet another project

This leaves the RTS or DTR issue. Why do “standards” always get interpreted in a dozen incompatible ways ?

It seems there is an almost-standard 6-pin FTDI cable, except that some use RTS (Ready To Send) and others use DTR (Data Terminal Ready) - which I learnt a long time ago are not the same thing. It would be nice to use a jumper to select RTS or DTR onto the 6-pin header, allowing one tidy 6-pin connector cable - but no. Using multiple individual jumper wires will be a bit more fiddly, but very workable.

And so my winner is … the DFRobot FTDI Basic Breakout 3.3/5V (Arduino Compatible)

2 Likes

Hi Donald,

All excellent points! Not everyone will have the same use-case.

A LED is one of the best debugging tools (in my opinion still trumped by a multimeter) the LED’s can give you an indication if there is some traffic on the serial bus (not so much the transmission but definitely receive) given everythings just using jumper wires you can still hook some up after the fact to confirm!

An excellent choice!
Liam

Back again, would you believe I got side-tracked and didn’t get around to buying any FTDI connector :roll_eyes:

I see Core no longer sell some of the USB-Serial options from a year ago - but surprised to find that Core now have over one dozen USB-Serial / FTDI options ! Several use FT232RL … so is FT232RL a newer better chip ? Of course, “better” depends on individual circumstances - and I don’t have enough experience in this area to predict what features may be worthwhile in my future.

  • My intention is to use Raspberry Pis for general-purpose microcomputers, and ESPHome for single-use microcontrollers - avoiding Arduino and soldering.
  • some devices appear to use 5v (from the USB connector), but logic chips tend to use 3.3v. Sparkfun sell two basic breakout boards which have only the voltage different - but does it make sense to have one board which uses a jumper to select between ? Eg, do they bring all lines to 5V, or only VCC ?
  • I assume that having the 6-pin FTDI connector will be more convenient than lots of separate jumper wires … but it looks as though FTDI is not particularly standard, and I will sometimes have to use jumper wires anyway.

I note that the article Programming with USB-Serial Converters describes Sparkfun USB to Serial Breakout FT232RL as “the most versatile FTDI board on this list” … but the article is dated November 2016.

So has anyone compared DFRobot’s FTDI Basic Breakout 3.3/5V (Arduino Compatible) DFR0065 and SparkFun USB to Serial Breakout - FT232RL BOB-12731 ?

1 Like

@Donald23173 I’d go for the sparkfun one personally - but that might just be a personal values thing.
I also enjoy the experience that the voltage selection switch offers over a jumper.

It looks like the switch does change the logic level, since it changes the supply voltage at the VCCIO pin