What is the simpliest FTDI board diagram?

Hello.

I want to make Arduino standalone board with only the things I need (digital & analog pins, no ICSP, no blinking diodes etc) and I'm wondering, how to make my own FTDI board - I'll be honets, buying it is too expensive, I'd rather do it.

I assume, Arduino uses only TX/RX, so I could take this diagram and connect those two with Arduino? So... there's more I'd like to know:

  • why pin 20 is connected to USB Vcc AND to +5V? Can't it just take voltage from USB?
  • do I need to connect pin 17 (3.3V)?
  • what should I do with CTS and DTR pins? Can I just ground the through a resistor?
  • finally... I assume I connect FTDI's TX (pin 1) to Arduino's RX (ATMega pin 2)?
  • why pin 20 is connected to USB Vcc AND to +5V? Can't it just take voltage from USB?

There is no 5V input to this board - 5V is output from USB bus power.

  • do I need to connect pin 17 (3.3V)?

No, this is just the output from the on-chip FTDI 3V3 regulator.

  • what should I do with CTS and DTR pins? Can I just ground the through a resistor?

On Arduino, DTR is used by the auto-reset circuitry. DTR is connected to the AtMega reset pin along with a 100nF capacitor and a 10k pullup resistor. If you dont need it you can leave it unconnected along with the CTS pin.

  • finally... I assume I connect FTDI's TX (pin 1) to Arduino's RX (ATMega pin 2)?

Yes.

I'll be honets, buying it is too expensive, I'd rather do it.

The FTDI chip itself is quite expensive. If all you need is a low cost USB to TTL adapter, you can look for alternatives (down to 1US$) using other chips (e.g. Prolific based cables made for outdated cell-phones).

  • finally... I assume I connect FTDI's TX (pin 1) to Arduino's RX (ATMega pin 2)?

You'll need the RX pin connected to the Arduino's TX pin, too. The Arduino needs to be able to tell the computer that it is ready for a sketch to be uploaded.

There is no 5V input to this board - 5V is output from USB bus power.

So the pointing-up arrow with "5V" means only that it should be connected with "5V" wire at the power switch near the pins (on the right side of diagram)? Stupid me... :slight_smile:

The FTDI chip itself is quite expensive. If all you need is a low cost USB to TTL adapter, you can look for alternatives (down to 1US$) using other chips (e.g. Prolific based cables made for outdated cell-phones).

How do I tell the cable is with adapter and not only the cellphone-side plug looks different, but it's the ordinary USB cable?

And what about drivers - with original Arduino with FTDI chip I had to have them installed. How to communicate with Arduino via that kind of cable?

You'll need the RX pin connected to the Arduino's TX pin, too. The Arduino needs to be able to tell the computer that it is ready for a sketch to be uploaded.

Yeah, I knew that, I just didn't want to repeat myself :slight_smile: Also, I will need both, but only for transmission, I think I'll upload sketch with original board.

Thanks.

The FTDI chip itself is quite expensive. If all you need is a low cost USB to TTL adapter, you can look for alternatives (down to 1US$) using other chips (e.g. Prolific based cables made for outdated cell-phones).

Yes, I use PL2303HX as alternative. You can buy it on eBay.
This is the schematic.

Resistor connected to EE_CLK and EE_DATA is 10K

PL2303HX is hard to get in Poland and as I can see, its price is similar to FT232 chip. So I'll think about FT232 or those cables BenF mentioned about, but I must read something more about it...

If you only need a couple - you may try something like this:

http://www.dealextreme.com/details.dx/sku.24512

I converted two of those (PL2303 based) for use with custom Arduino's some time ago and they work just fine with drivers freely available for XP (and other platforms). I'm only using the internal circuit board with the mini-B USB connector. The PL chip is connected to a TTL-RS232 converter chip, but you can bypass this with wires for RX/TX soldered directly onto the PL2303 pins in addition to USB power and ground.

Thread relating to cheap USB - TTL serial converter from phone cable : http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1261313468

The cheapest, easiest solution for USB connectivity is one of those cellphone USB/Serial adapters, but they don't tend to be FTDI based.

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1237497869
https://web.archive.org/web/20210308144706/https://www.uchobby.com/index.php/2009/10/04/diy-usb-to-serial-cable-for-3/

Thanks for the replies.

As for BenF's suggestion (DealExtreme converter) I see there's a CD with drivers. What about DKU-5 cables?
Will it work on the Nokia's drivers?

I never used the included CD, but downloaded the latest drivers from the Prolific web site. Apparently drivers are recently updated to also support 32 and 64 bit Widows 7.

The link is here:

If you know the USB chip used (there are really not that many around) you're typically better off getting the latest drivers from the manufacturers web-site.

Thanks, I think I'll give it a try :slight_smile: