Build your own USB to Serial dongle

[Johan von Konow] found that he was using an FTDI USB-to-Serial chip in a lot of his projects and wanted to have an easy prototyping component on hand to facilitate this. What he came up with is the extremely small USB to serial dongle seen above. The copper fingers are designed to plug into your USB port. And if you’ve got an unused thumb drive (we’ve got a 128mb version that’s been collecting dust for years) it would make a perfect enclosure for the device.

He’s using an FT232BL chip in a LQFP-32 package. That’s got 0.8mm pitch so make sure you’ve got a steady hand, a fine tipped soldering iron, and some solder wick on hand. The 0603 passives might also give you a bit of a run-around during soldering, but all-in-all we think everyone will be able to successfully assemble this with a little bit of practice. The chip is the most expensive component at just under $6. But the good news is that the board is single sided and only needs one jumper wire making for very little drilling and easy home fabrication.

If you’re putting in a parts order, we’d recommend getting doubling the amount of resistors and capacitors. Chances are you’ll drop a few and nary will they be seen again. We also highly recommend looking into [Gerrit’s] surface mount component clamp.

Comments

  1. svofski says:

    And those looking into a truly minimalistic (not necessarily the best or the fastest) solution should look into AVR-CDC project, which is based on V-USB library. Actually even the crystal is not going to be necessary.

  2. smoker dave says:

    Should have just picked up one of these cables, they only cost around £5. Very handy to have in the tool box.

    http://www.ftdichip.com/Products/Cables/USBTTLSerial.htm

    • Brian says:

      What cable did you look at ? The ones I looked at (I looked at them all) cost around 16£.

      • Luke says:

        I ordered some cp2102 based usbtty dongles @ ebay from a guy called sinedy for £2.80 and free shipping, go get them!

  3. Hal says:

    Just as a point of clarification, this is TTL Serial not RS232 Serial. If you were hoping for a DIY replacement to hook up to that old hardware this isn’t it. I was hoping the guy had come up with a good replacement for those USB->DB9-RS232 adapters that always seem to suck.

    Tidy little board ya got there though.

    • deathventure says:

      Just add an 232 based chip to the other side and you have it. The FT232R chip doesn’t require an external crystal and offers the same options so you can look that up too. Those usb to db9 converters use a pin compatible chip from prolific.

  4. Tyler says:

    Looks pretty cool, though I think the crystal is not necessary if the FTDI chip is running off of USB +5v.

  5. thopman says:

    nice! i would love to build this if i didn’t already own a usb to ftdi cable. looks very similar to the usb stick isp i just built http://bardagjy.com/?p=628 .

  6. Per Jensen says:

    A pity that it’s not tin plated – that tarnished copper isn’t going to give a very good connection :-/

    • Good point. Some tin on the USB connectors and maybe a blob of epoxy on the smd components would improve the lifetime of the unit (make sure you test it first though 🙂

  7. mip says:

    I love DIY, but why spend $6 for a single IC, if you can get a complete module (CP2102 or similar) for less than a half?

    • I don’t remember the exact price I paid, but I can assure you that they were well below one dollar (in china).
      Sill you got a point, you don’t build an adapter to save cost. I use it as a base for future projects. Since the PCB is single sided I can place a microprocessor on the backside to have a miniature platform that can be used for all kinds of projects. Next up is a miniature USB controlled 433MHz radio transmitter…

  8. tim says:

    you are using a very old ftdi chip, new ones does not require any crystal

  9. cde says:

    3to5 dollar nokia usb cables on ebay have the same ftdi chip (or the prolific equivalent) in a neater board. Just Saying.

  10. Nippey says:

    Well, this is how I designed my own Dongle:
    http://nippey.dornuweb.de/index.php?art=13 (Some nice pictures, but text is German! 😉
    It features the BitBang-Pins too, as I am using it as a quick and dirty Logic Analyser from time to time. I am just manufacturing a handful of these with material costs of about ~10€

  11. civicturbo says:

    http://www.dealextreme.com/p/usb-cable-for-nokia-n1200-1208-1650-2630-2670-13638

    FOUND THIS AWHILE BACK FOR $4.23 W/FREE SHIPPING ON DEAL EXTREME. I used it to connect to my Vonage V-portal’s (the one with the LCD screen) serial header inside. Its TTL level. Also works perfect to connect to my Sirius satellite radio home docking station to use either Satamp software or SX Recorder software. I did a secound order and bought 3 more cables.

  12. civic turbo says:

    THe original page for how to use the cable or any version thereof is no longer there, good this i saved it, i uploaded it to google docs heres the link>> https://docs.google.com/open?id=0Bx_PJP5CbtMdb0RUUHNuZ0lTZjJxRkRsQnBfMEE5Zw
    In that project their connecting to a cheap NAS adapter what we care about is the use of the USB-TTL cable stuff.
    You’ll need to click file on the left, then download.

Speak Your Mind

*

Related Hacks in tool hacks

  • Designing a self-replicating milling machine
  • USB connectivity that is so very very small
  • Going from idea to schematic to printed PCB
  • Flying microscope build seems way too nice for a home lab
  • Upgrading a digital multimeter to tell the temperature