eHam

eHam Forums => HomeBrew => Topic started by: NV8YH on March 11, 2016, 07:55:42 PM



Title: Making a BaoFeng/Baofeng compatible programming cable
Post by: NV8YH on March 11, 2016, 07:55:42 PM
I recently bought myself a BaoFeng UV-82 dual band HT from Amazon for $26.69 as a lark. Then I liked the radio so much that I bought a second one! However, I soon grew tired of programming the radio manually with the keyboard, plus there are a number of things you CAN'T program with the keyboard, so I decided I needed a programming cable to program the radios from my computer using the free CHIRP software.

Now I COULD buy a programming cable for as little as $3.33 from Amazon, but that one comes from China which means 1-2 months delivery time, and the cheap Chinese programming cables use an old version of the USB UART programming chip which entails manually loading an outdated driver into Windows to get the cable to work. Or I COULD buy the latest FTDI chipped cable from Amazon for $20.56. Or I COULD buy the equivalent CP2102 UART on Amazon or Ebay, a 3.5mm stereo phono plug and a 2.5mm stereo phono plug, throw in a little hook-up wire and build my own programming cable for less than half the price of the FDTI cable.

So I decided to make my own programming cable. The C2102 UART was $3.98 on Ebay, 9 feet of #24 hookup wire cost $1.38 and the two phono plugs were $3.29 for a total cost of $8.65. I could have bought a cheaper chip but this one was US sourced so I had it in three days instead of two months if it came from China, plus it has LED lights which make it really cool! I used 36" wires which seems just about right.

Here is a photo of the completed cable:

(https://lh3.googleusercontent.com/-hX8VA3_-BO8/VuOIdojJYuI/AAAAAAAAA2U/oDB9jTXzK4sz7it_JWfrzAvNC67UJ3I9gCCo/s600-Ic42/Baofeng%2BProgrammer%2BCable%2B%25285%2529%2B-1%2BSmall.jpg)

Set up for soldering in my "Helping Hand" tool, a great help!

(https://lh3.googleusercontent.com/-J_QvfgB2XW0/VuOIciCUCsI/AAAAAAAAA2M/VLcrX9t7xZQzyh07Cgb4-zEMJIH6xv61wCCo/s600-Ic42/Baofeng%2BProgrammer%2BCable%2B%25281%2529%2B-1%2BSmall.jpg)

Not the best soldering job, but I am severely out of practice. I made a big mistake by not buying a chip which included cables with pin connectors, which would have made the assembly a breeze. I could have desoldered the pins from the board and soldered the wires directly to the board, but the solder pads were really, really small and I just wanted to get the job done so I could get programming!

(https://lh3.googleusercontent.com/-iM4UkG76XN4/VuOIcpZQq1I/AAAAAAAAA2I/Xw_6wnbctswEmqvCfaRGGhRfEfKMl0O1QCCo/s600-Ic42/Baofeng%2BProgrammer%2BCable%2B%25282%2529%2B-1%2BCrop%2BSmall.jpg)

I added heat shrink tubing over the pins to avoid any potential for the pins to short out if they somehow got bent in handling or using the cable.

(https://lh3.googleusercontent.com/-kd9LihVj6eg/VuOIcXCv31I/AAAAAAAAA3I/Ce-NNHxxquAgRMiNHSQ9cS0iIWkoZO1LACCo/s600-Ic42/Baofeng%2BProgrammer%2BCable%2B%25283%2529%2B-1%2BSmall.jpg)

My setup for soldering the phono plugs. I cut off any unused solder tabs and temporarily bent the tab with the red wire into a better position for soldering.

(https://lh3.googleusercontent.com/-rkHLzTt2mtE/VuOIdLSddfI/AAAAAAAAA3I/JgclnW8kfaEw2VWPZgy2_z-JWCeAzmGEQCCo/s600-Ic42/Baofeng%2BProgrammer%2BCable%2B%25284%2529%2B-1%2BSmall.jpg)

The finished cable in operation showing the light show. The bottom LED is a red power light and glows constantly when the cable is inserted into a USB port. The upper two are blue RX/TX indicators and flash as data is exchanged. In this photo the red LED is overpowering the two blue LEDs, in practice the blue ones show up much better.

(https://lh3.googleusercontent.com/-Kk45ZVhzI6E/VuOIdvnetuI/AAAAAAAAA3I/GqghhQWQyjQ_JZCaTZ-we-XXhhhO3z6vwCCo/s600-Ic42/Baofeng%2BProgrammer%2BCable%2B%25286%2529%2B-1%2BSmall.jpg)

Building the cable was a breeze. Solder one end of a 36"piece of wire to a pin on the UART, solder the other end to a phono plug, repeat two more times, throw in a little heat shrink tubing and some electrical tape and go program! There is a wide variety of the USB UARTs readily available, just do a search for CP2102 on Amazon and Ebay and you will find plenty!

Here is the UART I bought through Ebay with the flashing lights for $3.98 delivered:
http://www.ebay.com/itm/221980597798

Here is another US sourced UART from Ebay without the flashing lights, this one comes with connection cables for the pins which makes the assembly much easier. I was not able to find a US sourced UART with the flashing lights AND the cables:
http://www.ebay.com/itm/171863800645

If you want a heavy duty programming cable, here is a metal cased UART with connection cables from China:
http://www.ebay.com/itm/311508950064

Detailed instructions on how to build a programming cable:
http://www.miklor.com/COM/UV_ProgrCable.php

Information on CHIRP programming software:
http://www.miklor.com/COM/UV_CHIRP.php

The CHIRP software home page:
http://chirp.danplanet.com/projects/chirp/wiki/Home

A great wealth of information on these radios, programming, and much more can be found on John Miklor's website:
http://www.miklor.com/