Usb Ham Radio Control And Sound Card For Mac



PHOINIKAS External Sound Card, USB Audio Adapter with 3.5mm Headphone and Microphone Jack, Volume Control, Stereo Sound Card Plug Play, for Windows, Mac, Linux, PC, Laptops, Desktops (6-in-1, Black) 4.2 out of 5 stars 899. Convenient front panel controls let you adjust your Transmit Audio, Receive Audio and Transmit Delay 'on the fly', making operation easy. Tigertronics SignaLink™ USB Interfaces have a state of the art built-in low-noise Analog to Digital sound chip, only one USB connection to the computer and, typically, only one connection to the radio. This software collection uses the Xfce desktop environment with menus customized for Amateur Radio use. It is designed to be lightweight, fast, and visually appealling. Recommended minimums: 2GHz CPU, 4GB memory, and 15 GB of disk space.

Some radios have this sound card capability built into the radio and it can be accessed over the same USB cable as the CAT channel. Sound cards on the Mac do not normally require a driver to be installed and can be configured in the Mac System Preferences Sound panel. How do I connect my computer to my radio?

Digital modes using sound card software have become increasingly popular over the last few years. However what with YouTube ham radio videos, podcasts and other hobby-related multimedia most hams want to have sound from their computer and are unwilling to give this up to work digital modes. Many solve the problem by buying a SignaLink USB Interface. It's a fine piece of kit and I've heard nothing but good reports of it but it is quite expensive. So how would you like to build your own USB sound card interface for a fraction of the cost of a SignaLink? I did, and I called it the USBlink. This article describes how I did it.

Usb Ham Radio Control And Sound Card For Mac Os

The SignaLink USB Interface is a USB powered device that contains a sound card and VOX circuitry that keys the radio PTT whenever the digital mode software goes into transmit and produces audio. This avoids the need for a serial interface using a second USB port just to control the transceiver PTT, which is the bane of interfaces like the RigBlaster, and it works with just about any digital mode software.

The TigerTronics SignalLink has three front panel rotary controls that let you set transmit and receive audio levels plus VOX delay. It also provides full isolation between the radio and the computer. My USBlink requires you to use the computer mixer slider controls to set the audio levels, just as you would when using a regular sound card, and the VOX delay is fixed and fast acting. I don't know of any digital modes where you would want a slow acting VOX.

No isolation

Usb

My USBlink also does not provide isolation. Every commercial sound card interface and just about every published sound card interface design includes transformer isolation of the audio circuits and opto-isolation of the PTT line. It's enough to make me wonder what I'm missing because in all the time I have been using sound card digital modes since the late 1990s I have never used an interface that had isolation and never found it to be necessary. The one time I used a commercial interface with isolation - to connect an Asus Eee PC to my FT-817 - I experienced bad 50Hz hum and had to solder a link between the grounds on the radio and PC sides because the netbook had no grounding through its power supply and so it was floating.

Because my USBlink doesn't provide many of these functions of the TigerTronics SignaLink it can't fairly be called a SignaLink clone. But omitting these components allows a big cost saving to be made, as long as you are one of the people who, like me, does not need to isolate the radio from the computer. It also lets you make the interface very small, which is a bonus for portable operation.

Usb Ham Radio Control And Sound Card For Macbook Pro

Choice of sound card

The USBlink comprises an inexpensive USB sound card together with a simple audio VOX circuit, housed in a small case.

The USB sound card I used is shown on the right. At the time of writing these devices can be purchased from China on eBay for a couple of pounds if you are willing to wait a couple of weeks for delivery. Purchased from a supplier in the UK they are a bit more expensive. These sound devices are better quality and more reliable than the cheapest thumb-sized 'dongles' and have controls for speaker volume and muting the mic input and speaker output.

I must point out that in tests I made a few months ago I found this particular type of dongle to give poor results with some sound card software such as the AGW Packet Engine. When playing back recordings I made of weak EME (earth-moon-earth) signals the faint morse code could not be heard at all. I am not sure of the reason for this but it may have to do with the sample rate used.

Usb Ham Radio Control And Sound Card For Mac

Most digital mode programs use a sample rate of 11,025Hz or can select the native sample rate of the sound card. I did not observe poor decoding with other programs I tried. I have switched to using TrueTTY for HF packet and it works with this USB sound device perfectly. So I decided to use this cheap USB audio device rather than a better quality one as the loss would be small if the project didn't work.

Installing the sound card

After selecting a suitable case, a piece of Veroboard (stripboard) was cut to fit. The USB sound card was then attached to the board using superglue (cyanoacrylate) so that the USB connector would protrude out the back of the case.

Before doing this you should connect the device to the computer and ensure that the volume is set to maximum and neither of the input or output are muted (the red LED should be OFF.)

After unplugging the device from the computer you can crack the case open using a craft knife. I then clipped the heads off the two LEDs leaving the leads free. Actually there was no need to clip the head of the red LED as it should be OFF in normal use and it would be a useful troubleshooting aid in case you accidentally press one of the mute switches. But by the time I thought of that it was too late!

The two leads of the green LED are extended using thin wire (the black and white twisted wire in the picture) to a new green LED on the front panel of the case. The green LED lights up when the device is recognized by Windows and flashes when the device is in use by software. This will impress the XYL (well it impressed mine.)

You can also see (click the image to open a larger version that will enable you to see more clearly) that I have tapped into the +5V supply from the USB connector to provide power for the VOX circuit. The supply lines are the outer two of the four connectors on the USB plug. The positive rail is the lower one in the picture, and ground is the upper one. If using a different USB sound card check the polarity with a meter as the USB plug may be the other way round.

Usb Ham Radio Control And Sound Card For Mac

The supply rail is routed via a front panel switch. This enables you to disable the VOX by simply removing the power from the VOX circuit. If you use the USBlink at the same time as you have CAT control of the radio via a serial port then you can switch the VOX off and use it as a normal sound card.

VOX circuit

Usb ham radio control and sound card for mac download

The digital VOX circuit is based on the very simple one developed by Skip Teller, KH6TY. I made a few changes to the circuit, which are described below.

First, as mentioned earlier, I dispensed with the isolation transformers. I also used a trimmer potentiometer in the microphone circuit to aid with setting the output audio level on transmit.

I added a 1N4148 diode across the PTT transistor output to protect it from back-voltage spikes when switching a transceiver using relays - but note that the switching transistor is a low power device and will not handle high voltage or high current. I also added a transistor with its base connected to the base of the PTT switching transistor with a red LED from its collector to the +5V supply, to give a TX indicator.

The circuit is non-critical and just about any general purpose NPN transistors should do. Skip used 2N2222A transistors but after prototyping the circuit using those I substituted 2N3904s which are cheaper and it worked just as well. So that's what I used.

The final circuit I ended up with is shown in the schematic diagram below. Click for a larger version.

I do not have a diagram of the stripboard layout but the photo above shows a top view of the board and you can see the breaks in the copper strips in the bottom view here. Note that some breaks were made in error and have been bridged with wire.

The schematic shows only the circuit for the transmit audio (which causes the VOX to operate.) The receive audio is a direct connection from the radio line output to the Mic connector of the USB sound adapter. The switch in the +5V supply line is also not shown.

I wired all the connections to a mini-DIN socket on the rear panel of the interface, so that I could easily change interface cables for different radios. My Elecraft K2 does not have a high level line input for audio, you have to use the front panel mic socket, so I added some extra attenuation within the mic plug shell in order to keep the output level from the USBlink similar to that required by other radios. An alternative solution would have been to have high and low level outputs on different pins of the DIN socket.

Setup and testing

The interface is connected to the computer using a USB extension cable. The USB sound device may come with a short cable as the device is too big to plug directly into the back sockets of many computers (though if bought from the cheapest eBay suppliers who ship the device without packaging you probably won't get this.) However you may want a longer cable in any case. These are readily obtainable from computer stores. As it will be used with a transmitter it would be wise to choose a well-screened one.

I found that the USB sound device was recognized by Windows so there was no need to install any drivers. It was even recognized by the EeeBuntu Linux distribution on my Eee PC netbook.

The mixer controls for the device should be set so that the output control is at about 80% of maximum. You should then adjust the variable resistor to set the transmit audio to the desired level for the radio. You need a strong signal from the USB audio device headphone output to ensure positive triggering of the VOX circuit. If you need to reduce the output level from the computer too much to avoid overdriving the radio then the VOX may not work.

If the VOX starts oscillating on and off during receive then check the mixer settings for receive (recording) and make sure the microphone input is muted. The default setting for these devices on Windows seems to be for the microphone input to be enabled for playback so the receive audio is played back through the headphone output and triggers the VOX circuit. This caused a heart-stopping moment until I realized what was happening.

Conclusion

This is a simple circuit which works well and allows you to operate sound card digital modes without tying up your computer's built-in sound card and without needing a separate USB or serial interface to handle PTT switching. Whilst full CAT transceiver control is becoming the norm it certainly isn't necessary, and the simplified interfacing is very convenient particularly for portable operation.

I made up interface cables for both my FT-817ND and Elecraft K2 and have tested the USBlink with both radios. Several QRP PSK31 contacts were successfully made and the USBlink is now in full time use in my HF packet radio APRS station.

I am delighted with the success of this little project and I think that the USBlink will turn out to be one of the most useful home-brew radio accessories I have ever constructed.

The popularity of web videos and podcasts means that most ham radio enthusiasts who want to use sound card digital modes no longer want to dedicate their computer’s built-in sound card for that purpose. The usual solution is to buy a purpose made interface such as a RigExpert or SignaLink (expensive but highly recommended by all who own one) or an external USB sound card. However a great many people claim that the cheapest USB sound card “dongle” costing just 99p on eBay is good enough. Take it from me, it isn’t.

I have had several online discussions bordering on arguments with self proclaimed experts who claim that the sound chip in these cheapo “dongles” is exactly the same as the one in a £100 SignaLink USB interface so the £1 dongle must be just as good. I have no idea if they are right about the chip. What I do know is that when I played back a recording of very weak CW using one of these devices all I could hear was noise. And when I tried to use one of these devices to decode a fast digital mode such as packet, I decoded nothing at all, not a single packet, even though I could see the signal loud and clear on the waterfall.

Mac

I have tried a number of these cheap devices. I bought two of the cheap thumb sized “dongles”. One I threw away after seeing the noise it introduced on the waterfall. The second I bought thinking it would be good enough for computer audio, which it was, but had to throw it away when it failed after a week. I also spent a bit more on a slightly fancier sound card “dongle” which I currently use for computer audio, but which still displayed the inadequacies on weak signals and fast data modes that I have mentioned.

Finally I tried the device pictured above. It doesn’t have a brand name but can be readily identified from the picture and is advertised on eBay as something like “USB 6 Channel 5.1 External Sound Audio Card For Laptop”. It costs around £8.50 including postage from China. It comes in a small extruded aluminium case, has connections for SP/DIF input and supports sample rates of up to 48kHz so it would probably be suitable for basic SDR use. It has decoded every digital mode I have so far tried it with. And it’s small enough to build into your own box to make a DIY SignaLink.

It comes with a mini-CD containing a Windows driver. This installs a small mixer/control panel application that loads in the task bar and provides the usual control over the various sound effects. I used one of the start-up program managers (Autoruns) to remove it and find that it works perfectly well for my purposes without it, just using the standard Windows mixer settings. This is certainly preferable to the Creative SoundBlaster USB device that some people recommend which allegedly installs 200MB of junk on your hard drive.

I think this is probably the cheapest external sound device that is worth using for sound card digital modes. I’d be interested to know of alternatives, but please don’t recommend something unless you have actually done A/B comparisons with a known good sound card using weak signals, fast modes and different software packages. I hate to think of the frustration some people must have experienced following the advice of the self proclaimed experts, buying one of the £1 “dongles” and wondering why they can see a trace on the waterfall and can’t decode it.