Baofeng / Pofung UV-5R Programming With Ubuntu 12.04
My Baofeng (a.k.a. Pofung) UV-5R handheld tranceiver turned up today. I fired up my Windows 7 machine to use the ‘recommended’ VIP programming software and it didn’t recognise the USB programming cable. I even tried installing a recommended, older, driver for the PL2303 USB cable chipset. No dice. So, then I plugged the cable into my everyday workhorse, an Ubuntu 12.04 laptop. Bingo, USB cable recognised straight away (from dmesg). Anyway, here’s the detail of how to program the radio with Ubuntu 12.04:
Driver
As mentioned in the intro, I just plugged in the USB cable and issued the dmesg command to the console. Here’s the good news:
[676984.495896] usb 2-1.2: new full-speed USB device number 38 using ehci_hcd
[676986.020009] USB Serial support registered for pl2303
[676986.020050] pl2303 2-1.2:1.0: pl2303 converter detected
[676986.021786] usb 2-1.2: pl2303 converter now attached to ttyUSB0
[676986.021834] usbcore: registered new interface driver pl2303
[676986.021836] pl2303: Prolific PL2303 USB to serial adaptor driver
So my UV-5R cable works and has a driver running on /dev/ttyUSB0 .
Programming
In order to set up a load of channels for Marine, PMR446 and local amateur repeaters, there’s some free, open source software called CHIRP that works a treat. One snag is that the version distributed through Ubuntu’s standard repositories doesn’t work with the UV-5R (the version distributed that way, at the time of writing, is 0.1.something). So I downloaded the source (straight Python code) from the CHIRP website and ran it in a new directory in my home area. Easy. And it works. Unlike Windows. I used CHRIP 0.3.0 – YMMV.
sudo apt-get install python-serial
sudo apt-get install python-libxml
tar zxvf chirp-0.3.0.tar.gz
cd chirp-0.3.0/
./chirpw
The application is pretty straightforward to use (and you don’t need to find the English menu from the Chinese menu, unlike with the Windows app). Plug the USB cable into a free USB port. Use dmesg to find which Linux device it’s on (e.g. /dev/ttyUSB0). Plug the other end into your radio and switch it on. Start CHIRP and use the Radio/Download From Radio function (selecting the right serial device) to read your radio’s current channel configuration. Now go ahead and add / delete channels to your heart’s content. There are are even templates for common frequency sets like Marine, PMR446, etc. You can save / load setups from disk. When you’re happy, select Radio/Upload To Radio, disconnect the radio and you’re done. All good. What’s not to like?
Yet again, it amazes me that Microsoft can still be in business when their software sucks so bad. They are the masters of marketing. Still, their keyboards and mice are very good.
More About the Baofeng UV-5R
The Baofeng UV-5R tranceiver radio sells for about €35 (US$45?) including delivery direct from Hong Kong. Add a few extra Euros for a USB programming cable and AAA battery case. Incredible value for a rugged, 4 watt, full-keypad 70cm / 2m band FM radio. The radio’s made in China – if you want to get the same thing from a Japanese brand, budget on spending about 5 (yes, five) times as much.
Having read a little before buying, I ordered the USB programming cable as well since programming lots of channels with the keypad is generally acknowledged to be a nightmare. Just go to YouTube and search ‘UV-5R’ and you’ll get all the rave reviews. I ordered mine via ebay.co.uk from seller radiogearpro. They shipped within 24 hours and it arrived here in Spain, well-packaged, 14 days later. I’ve read some people complain about radiogearpro, but I have nothing but praise. I also bought an excellent, cheap, floating marine VHF handheld from them and was equally impressed. There is another seller based in Hong Kong called 409 Shop – they get a lot of favourable comments on the interweb (although I have had a comment from another user that some of their main brand stuff (e.g. Yaesu) isn’t so competitively-priced).
I’ll be applying for my Spanish Amateur Radio license ‘real soon now’ so that I’ll be officially allowed to press the transmit button on my device. Here’s information on UHF and VHF amateur radio repeaters in France, Andorra, Portugal and Spain. Technically, I could transmit in marine (on water) or PMR channels, just wouldn’t be allowed to with this radio – and 4W is really quite a lot for PMR446!
Share this:
VSzA techblog
Ever since I bought my Baofeng UV-5R handheld VHF/UHF FM transceiver, I wanted to hook it up to my notebook – partly to populate the channel list without fighting the crippled UI, partly out of curiosity. First, I had to build a cable, since I didn’t receive one in the package, and it would’ve cost at least around 20 bucks to get my hands on one – plus the delay involved in postal delivery. In a Yahoo! group, jwheatleyus mentioned the following pinout:
- 3.5mm Plug Programming Pins
- Sleeve: Mic – (and PTT) Rx Data
- Ring: Mic +
- Tip: +V
- Sleeve: Speaker – (and PTT) Data GND
- Ring: Tx Data
- Tip: Speaker +
I took apart the headset bundled with the gear, and verified this pinout in case of the Mic/Speaker/PTT lines with a multimeter, so I only had to connect these pins to the notebook. Since I already had an FTDI TTL-232R-5V cable lying around for use with my Diavolino (actually, I won both of them on the LoL shield contest at 27C3), I created a breakout board that can be connected to the radio, and had pin headers just in the right order for the FTDI cable and two others for speaker and mic lines. The schematic and the resulting hardware can be seen below.
With the physical layer ready, I only had to find some way to manipulate the radio using software running on the notebook. While many software available for this radio is either closed and/or available for Windows only, I found Chirp, a FLOSS solution written in Python (thus available for all sane platforms) which – as of this writing – could access Baofeng UV-5R in the experimental daily builds. Like most Python software, Chirp doesn’t require any install procedures either, downloading and extracting the tarball led to a functional and minimalistic GUI. First, I set the second tuner to display the name of the channel, and uploaded a channel list with the Hármashatár-hegy SSTV relay (thus the name HHHSSTV) at position 2, with the following results.
I could also access an interesting tab named other settings that made it possible to edit the message displayed upon startup and limit the frequency range in both bands.
Although Chirp states that the driver for UV-5R is still experimental, I didn’t have any problems with it, and as it’s written in Python, its code is readable and extensible, while avoiding cryptic dependencies. It’s definitely worth a try, and if lack of PC connectivity without proprietary software was a reason for you to avoid this radio, then I have good news for you.
Программное обеспечение (софт) для программирования раций
Характеристики, отзывы, цены на рации Baofeng и рации других популярных брендов, а также запчасти и аксессуары к ним Вы можете найти в нашем интернет магазине.
❗ Пароль на архивы — баофенг.рф ❗
- Baofeng BF-1901 софт для программирования
- Baofeng BF-358 софт для программирования
- Baofeng BF-888S Plus софт для программирования
- Baofeng BF-888S софт для программирования
- Baofeng BF-9700 серия софт для программирования
- Baofeng BF-999S софт для программирования
- Baofeng BF-A58 серия софт для программирования
- Baofeng AR-152 софт для программирования
- Baofeng BF-H2 софт для программирования
- Baofeng BF-H5 софт для программирования
- Baofeng BF-H6 софт для программирования
- Baofeng BF-H7 софт для программирования
- Baofeng BF-T1 Mini софт для программирования
- Baofeng BF-C50 софт для программирования
- Baofeng DM-1702 софт для программирования
- Baofeng DM-1801 софт для программирования
- Baofeng DM-5R PLUS софт для программирования
- Baofeng DMX софт для программирования
- Baofeng DR-1801 софт для программирования
- Baofeng GT-3 MARK 2 софт для программирования
- Baofeng GT-3 MARK 3 софт для программирования
- Baofeng GT-5 софт для программирования
- Baofeng GT-5 INVERSION софт для программирования
- Baofeng M-1 софт для программирования
- Baofeng M-2 софт для программирования
- Baofeng M4 софт для программирования
- Baofeng R5 софт для программирования
- Baofeng R8 софт для программирования
- Baofeng S-56 MAX софт для программирования
- Baofeng T-17 софт для программирования
- Baofeng T-18 софт для программирования
- Baofeng T-19 софт для программирования
- Baofeng T9 софт для программирования
- Baofeng T99 софт для программирования
- Baofeng UV-10 софт для программирования
- Baofeng UV-10R(TR-818UV) софт для программирования
- Baofeng UV-11 софт для программирования
- Baofeng UV-12 софт для программирования
- Baofeng UV-13 софт для программирования
- Baofeng UV-15 PRO_MAX софт для программирования
- Baofeng UV-16 PRO софт для программирования
- Baofeng UV-17 софт для программирования
- Baofeng UV-17 PRO_MAX софт для программирования
- Baofeng UV-3R софт для программирования
- Baofeng UV-5R софт для программирования
- Baofeng UV-5RA софт для программирования
- Baofeng UV-5R 8W софт для программирования
- Baofeng UV-5R EX софт для программирования
- Baofeng UV-5R PLUS софт для программирования
- Baofeng UV-5R TRI BAND софт для программирования
- Baofeng UV-6D UHF софт для программирования
- Baofeng UV-6D VHF-UHF софт для программирования
- Baofeng UV-6R софт для программирования
- Baofeng UV-82 софт для программирования
- Baofeng UV-82 8W софт для программирования
- Baofeng UV-9R+ софт для программирования
- Baofeng UV-9R софт для программирования
- Baofeng UV-9R PRO софт для программирования
- Baofeng UV-S9 софт для программирования
- Baofeng UV-S9 TRI BAND софт для программирования
- Baofeng С5 софт для программирования
- Baojie BJ-218 софт для программирования
- Chierda UHF софт для программирования
- Chierda UHF DMR софт для программирования
- LEIXEN 898 S софт для программирования
- LEIXEN UV-25 D софт для программирования
- LEIXEN VV-25 софт для программирования
- QUANSHENG TG-1680 софт для программирования
- QUANSHENG TG-1690 софт для программирования
- QUANSHENG TG-200 софт для программирования
- QUANSHENG TG-298 софт для программирования
- QUANSHENG TG-45UV софт для программирования
- QUANSHENG TG-T10 софт для программирования
- QUANSHENG TG-UV 2PLUS софт для программирования
- QUANSHENG UV-K5 софт для программирования
- QUANSHENG UV-R50 софт для программирования
- Retevis RT97 софт для программирования
- Retevis RT97P DMR софт для программирования
- TYT TH-350 софт для программирования
- TYT TH-9800 софт для программирования
- TYT UV-380 софт для программирования
- TYT UV-390 софт для программирования
- TYT UV-8000D софт для программирования
- TYT UV-8200 софт для программирования
- TYT UV-98 софт для программирования
- TYT UV-99 софт для программирования
- WLN KD-C1 софт для программирования
- WLN KD-C1 PLUS софт для программирования
- WLN KD-C52 софт для программирования
- WLN KD-C80 софт для программирования
- WLN KD-C888 софт для программирования
- Сhirp daily — универсальное ПО для программирования раций
❗ Пароль на архивы — баофенг.рф ❗