Update …

Well, its been a while since I’ve been able to play radio, however, a few changes have been made. For starters, I upgraded my Linux netbook to Ubuntu 12.04 (touch pad was freezing on me in previous version). Unfortunately, the upgrade had disastrous results for my radio platform. For the time being, I have reinstalled Windows 7 on the netbook and in the future I will likely dual-boot.

Temporary antenna installation

Temporary antenna installation

The other notable changes have been with my FJ Cruiser installation. When I installed the FT-857D, I used two cables with PL-259 connectors on one end (radio side) and Larsen NMO mounts (on the antenna side). Initially, I had only intended to use one of the NMO mounts at a time for VHF/UHF work – I was going to try each location to see how well they worked versus the other. As it turns out, I never really used the location (shown in the photo to the right) since it would require installation and removal of the antenna(s) every time I went to park underground.

NMO rain cover

NMO rain cover

I ended up capping the mount with a plastic rain cover that I picked up at a radio shop in Durham for $3. The lower antenna section that I made a bracket for has a 1/4-wave whip for 2m permanently mounted to it (with the option of swapping it out for a 5/8-whip).

NMO to SO-239 adapter

NMO to SO-239 adapter

This past week, I finally decided that I would re-think my HF installation and that I would use the NMO-to-SO-239 adapter I picked up at the same time as the rain covers. The idea was that  I would use the adapter to connect my HF antennas via the permanently installed antenna mount. To prevent feedline losses, I decided that I would shorten the cable on the NMO mount.

Common mode choke

Common mode choke (aka. ugly balun)

As I had never actually installed a PL-259 connector before, I was a bit hesitant. I decided the best thing would be to do a practice connector on my current mode choke (ugly balun) to get a feel for the process.

The wire was many feet too long, so I placed the choke in the furthest mounting location from the NMO mount and marked the cable for cutting. The installation of the PL-259 was very straightforward and went fairly well (in my estimation). There was no continuity between the shield and the core (good thing!) and everything checked out in terms of visual inspection.

Eager to replicate my success with installing a PL-259 on some RG-8X, I turned my attention to the smaller RG-58/U. This one was definitely more difficult as there was much less braided shielding to work with, however, the connector was soon installed and tested fine.

ATAS-120A HF antenna

With the cable cut down to the appropriate size, I was excited to test the setup with my ATAS-120A HF antenna. I conected the NMO-to-SO-239 connector and a 3′ patch cable with the antenna on the other end. I fired up the radio and hit the tune button and … nothing! Knowing that the antenna used DC injected on the coax to extend and retract, I immediately suspected that there was a break (ie. open) in the signal path. After a bit of investigating, I turned out that the NMO-to-SO-239 adapter was the culprit.

Inside the adapter, there is a ring that connected the outer body to the threaded portion of the SO-239. The ring was not making electrical contact with the outer body and thus, the open circuit. Using this adapter would have been very bad (and frustrating) had this defect not be found.

With the adapter repaired, all was well with the modified installation.

I also bit the bullet and mounted the detachable face-plate of the FT-857D to the dash of the FJ using the plexi-glass bracket I hastily cut and bent while testing potential mounting locations. In the future, I will likely end up changing the bracket out for something which offers a more sturdy mount (the face-plate tends to bounce a tad at the moment). For now, the installation is good enough considering I had been simply leaving the face-plate in a cup-holder as an interim solution.

… more to come!

Posted in General, Mobile, Project | Tagged , , , , , , | Leave a comment

Easter Vacation = Mobile Ops

Once again, I was on the road with my wife to visit some of her family which provided me with an opportunity to do some mobile HF operating. This time, however, I did not have any success of HF.

For the first few minutes of my operating time, I was running Xastir (aprs software for Linux) and was sending out position packets just fine. I then swapped over to HF operating and tuned up the ATAS-120A antenna for 10.137MHz to give pskmail another shot. A few CQ calls and pings were sent out in an attempt to activate a listening pskmail station. Nothing was heard.

I then tried tuning up to 14.070MHz for some PSK-31 operating but was getting very little in the way of incoming signals. This seemed quite odd to me. I tried tuning around the bands a bit, looking higher each time, and saw some activity but mostly noise (S6-S8).

I then changed back to 2m for some APRS time while I pondered that was going on with the (normally great) HF setup I have. I then tried to tune up 30m again and the antenna was unable to make a match at all. The SWR was consistently high on all bands and did not change while attempting to tune the antenna. Bad news?!

A pit stop was made to verify that the antenna was in fact extending and collapsing as it attempted to find the lowest SWR. I loosened the antenna connection and re-tightened everything to ensure that the connection was good. We were soon on the road again, however, the problem was not yet solved. I should have tried tuning the antenna while parked!

In any event, no successful HF contacts were made which is frustrating, however, this learning experience will allow me to work out any glitches in my mobile setup. I’ve got some testing to do before we head back to Ottawa tomorrow morning – hopefully I will figure out what the problem is/was.

Posted in Mobile, Operating | Tagged , , , , , , , | Leave a comment

More Linux & Radio

Day two of my field-testing the Linux netbook. The machine I use is an Asus eeePC Seashell netbook with an Intel Atom 1.5GHz processor and 2GB RAM. It will last ~8 hours on a charge and is plenty powerful enough to multi-decode in Fldigi.

eeePC Linux ham radio computer

eeePC Linux ham radio computer

Yesterday I was successful in sending out APRS beacons using the Linux soundmodem AX.25 (TNC alternative) driver. The soundmodem driver uses a computer sound card as the modem (modulator / demodulator) by performing some digital signal processing on the audio data. Thus, to use packet radio (and therefore APRS) all that is needed is a radio, a sound card (with interface cable) and a computer. No need for a TNC!

Garmin GPSMAP 62S

Garmin GPSMAP 62S

Yesterday evening, I played around with my Garmin 62S and gpsd – a Linux gps server daemon which allows multiple simultaneous logical connections to a GPSr.

As an aside, a close friend of mine might remember something I once muttered while first playing around with (ie. learning) Linux back in 1995:

“What the hell is a server daemon? … and what the hell are daemons doing in my computer?”

Garmin 62S setup help

Garmin 62S setup help

I had mucked around with /dev/ttyUSB0 (my GPSr’s logical device) for some time yesterday, trying to get gpsd and xastir playing nice together – no luck. Well, a fresh set of eyes later in the evening proved helpful as I managed to get the GPSr talking nicely with gpsd. The stumbling point? Getting the GPSr to output data in real-time over the USB connection. How did I manage it? Garmin Spanner format (with mass storage disabled).

garmin GPSr -> setup -> system -> interface -> Garmin Spanner
USB cable detected. Would you like to go to Mass Storage? -> NO!

With the above change in place, I restarted the gpsd daemon and tested the output using a command-line tool called cgps:

$ sudo gpsd /dev/ttyUSB0
$ cgps
xastir configuration hints

xastir configuration hints

Success! The gpsd server was now seeing packets from the GPSr which meant I could now pipe that data into xastir (the Linux APRS client I use) via an interface setting. With xastir now querying the gpsd server, my current coordinates were properly being reported in real-time and thus, my APRS station was set up.

Next on the docket was getting pskmail up and running. My objective was to connect to a pskmail server and send a test email to myself to verify correct configuration.

I fired up Fldigi, followed by pskmail 1.5.7 (the order of operations matters as pskmail is not smart enough to check that Fldigi is running first – it simply throws a lame error message). I tuned my radio to 10.147MHz (USB) and listened for a few minutes for some pskmail server announcements. Lo and behold, a PSK250R signal appeared at 1000Hz on the waterfall which corresponds to 10.148MHz (the center frequency for pskmail).

The server announced itself as KB2PNM (North Carolina) and so I added that callsign to my server connection list in pskmail. Once the station was added, I clicked on connect and sure enough I was in business!

I poked around pskmail a bit and managed to discover how to send an email so I fired off a few test messages to see how well the system works. I have to say, it was pretty darn quick all things considered!

What is neat is that pskmail can also use gpsd to obtain your current coordinates and send your APRS data via HF to a listening igate. I took the opportunity to update my VE3BUX position via HF and the reporting station is listed as KB2PNM (as should be expected).

This looks like a pretty robust HF communications suite! I’ll have to play around a bit more to really learn the ins-and-outs and I will certainly post my experiences on here.

Posted in Mobile, Operating | Tagged , , , , , , , | Leave a comment

Playing radio ..

APRS mapSo today I decided to spend some time playing radio in the FJ. I drove down to the Canadian Aviation Museum which is situated along the Ottawa River to watch some light aircraft come and go as I played around.

APRS map of VE3BUX

There was no real purpose of today’s radio play other than to get out and actually fiddle around.

I decided to convert my netbook entirely to Linux as I have long been a fan of the operating system. My usual choice would have been Mandrake (Mandriva) but Ubuntu was already installed (previous project) so I just went with it.

My first order of business was to install Fldigi which was as simple as:

$ sudo apt-get install fldigi

After installing Fldigi and configuring both my USB-to-serial adapter (PL2303) and my Creative USB sound card, I was up and running! I might add that configuring the USB-to-serial adapter was a pain in the butt because I am not entirely familiar with the Ubuntu convention for /dev/ devices. Turns out my USB adapter was assigned to:

/dev/ttyUSB1

With Fldigi up and decoding data, I decided to turn my attention to the original premise of switching over to Linux: soundmodem

Soundmodem is a Linux kernel module which allows one to use their soundcard as a software KISS-TNC. The software TNC is integrated at a very low level, allowing for some pretty sophisticated radio-networking which is generally not possible (or very poorly implemented) in other systems.

$ sudo apt-get install soundmodem
$ sudo soundmodemconfig

The soundmodemconfig utility allows one to configure the soundmodem module to modulate and demodulate AX.25 ASFK intelligence using the standard 1200Hz and 2200Hz (mark and space respectively). First you must create a configuration for your radio / computer. This is where you will select your sound-card driver and the PTT driver.

Mode: alsa
ALSA Audio Driver: plughw:1,0
PTT Driver: /dev/ttyUSB1

Next, you create a channel for the intended purpose of your packet radio work. In my situation, I wanted to use APRS so I created Channel 0 with the following settings:

Modulator
Mode: afsk
Bits/s: 1200
Frequency 0: 1200
Frequency 1: 2200

Demodulator
(same as above)

Packet IO
Mode: KISS
File: /dev/soundmodem0

Once the soundmodem is configured, you can test it out by clicking on Channel 0 and then selecting “Diagnostics” in the menu. Next was to install xastir (an APRS visualizing program).

$ sudo apt-get install xastir
$ sudo xastir

With xastir running and my radio tuned to 144.390MHz I was soon decoding AX.25 APRS packets. I manually entered my coordinates into xastir and fired off an APRS packet by selecting: “Interface > Transmit Now!” and sure enough, I was seen on aprs.fi shortly after.

Success! Now all I have to do is get my Garmin 62S to properly communicate with the Ubuntu machine. Its been a pain in my arse thus far – I do NOT like the changes Garmin made to their interface.

The next mini-project I had set out was to play around with pskmail a bit. For those who are unaware, pskmail is a system similar to sailmail or winmor which allows a radio amateur to send and recieve emails (and more in the case of pskmail) via HF. This is a pretty cool concept that I would like to play around with, so, I spent a couple of hours getting pskmail up and running.

Unfortunately, the installation and configuration of pskmail is total crap for linux. I was extremely disappointed to see the pathetic installation package which pskmail currently uses. I can appreciate Java applets, etc. however in this case, I firmly believe that a proper Linux binary is in order. Alas, I digress.

After much screwing around with getting a working Java run-time environment which would properly virtualize the pskmail client, I was up and running. I still have some learning to do with this system, however, it seems promising so far.

I’ll be looking into winmor as well – I seem to recall there was an effort to port this over to Linux as a binary. I’ll keep you posted on what I find.

Posted in Mobile, Operating | Tagged , , , , , , , , | 2 Comments

Bounced email …

Hi all,

Sorry if you’ve emailed me recently only to have the email bounce back to your inbox. This web service is being hosted on a VPS server (as opposed to my usual collocated machine) and the incredibly bad sys-admins at Sagonet decided to screw with the VPS servers.

In short, they had force-installed a pathetic MTA (Linux email back-end) which was not compatible with my current setup. I was none the wiser until I was scouring the logs as part of my weekly security routine.

Sendmail is old and lame. Postfix is much, much better .. so please, Sagonet, stop trying to force install that garbage on MY MACHINE!

/end of rant

Posted in Uncategorized | Tagged , , , , | Leave a comment

On the topic of USB-to-serial adapters

Awhile back I saw some USB-to-serial adapters which were extremely slick. Imagine the whole package in the same form-factor as the DB-9 (serial) pin header. That’s right! The whole adapter fits in the same footprint as the serial port connector which your device uses.

DB9 USB-to-Serial Adapter

DB9 USB-to-Serial Adapter

Now instead of a USB-to-serial cable connected to your device, you can just connect directly to a USB port – no need for that silly adapter cable! Just solder one of these modules in place of the existing passive serial-connector and you have yourself what has effectively become a USB device! What a great way to modernize a legacy piece of equipment.

You can purchase these adapters for about $15 from Digikey.

Posted in Project | Tagged , , , | Leave a comment

Sound-card interfaces … home brew one!

After talking with a recent course graduate about operating using digital modes, etc., the topic of radio-to-computer (sound card) interfaces came up. For those who are unaware, a sound-card interface allows one to safely connect their radio’s audio input and output (and push-to-talk) to their computer, opening up the world of digital modes (such as PSK31, JT65, RTTY, SSTV, and many more).

After a brief discussion of the reason for isolating your computer from your radio (esp. true for desktop computers tethered to base radios) I explained a simple transformer-isolated circuit. It is true that capacitors can be used to DC isolate components, however, I firmly believe that using a transformer is a better practice.

Sound card interface schematic (simplified)

Sound card interface schematic (simplified)

During our conversation, I drew up an interface which I have very successfully used with my KG-UVD1P and FT-857D radios. The above schematic is what I currently use and can be built for roughly $20 (plus another 15 for a USB-to-serial converter).

The basic concept is that the two (600Ω:600Ω audio) transformers DC isolate the radio from the computer while still allowing audio frequencies to pass. Potentiometers then reduce the signal for systems as appropriate for low-level inputs (such as many microphone inputs). The PTT is handled by taking a RTS signal from an available serial port (USB-to-serial in this case) and passes the signal through an optoisolator (LTV817 in this case).

Add in a USB sound-card such as the Creative USB (for $30) and you have effectively made a $65 sound-card interface which would cost well over $100 if purchased from a commercial supplier.

Fast forward to my latest project.

I am currently designing a single-board sound-card interface for amateur use which should come in at roughly the same price (target is <$60), offering a kit-build project to introduce more radio amateurs to digital mode operation.

Sound card interface PCB

Sound card interface PCB

The image above shows an early prototype of my PCB .. there will be more changes as I explore different options, however, this is the rough skeleton. The PCB is 85 x 50mm (3 x 2″) at the moment which offers a nice compact foot-print. I will be making conceptual changes as I go along to make the project as user-friendly as possible. I may even integrate a micro-controller to handle mode settings, etc. to further stream-line the whole interface.

… more to follow!

Posted in Project | Tagged , , , , , , , | Leave a comment

Proper operating practices & contests ..

For the love of god, QRL (the frequency is in use)! QSY (change frequency)!

This weekend the CQ WPX RTTY contest is in full swing and so, naturally, all the rule breakers and ignorant operators are out in force.

It is frustrating using low-power weak signal modes during a contest because of the overwhelming ignorance of many contest operators. You see, in most HF bands, JT65-A operating can be found at the *.076MHz range. We typically operate at or below the noise floor, so I could understand if operators do not always hear a station prior to transmitting, however, WE ARE STILL THERE!! And likely have been offering 2-way exchanges BEFORE the alligators start their lower-appendage waving.

What would help us low-power guys would be for the contest panel to penalize operators for walking on top of well established “standard” frequencies such as that of the JT65 and QRSS crowd. Add a rule which forbids conducting your contest QSO on these established frequencies and then deduct a large number of points when operators submit logs where they tried to make a contact on the forbidden frequencies (eg. 7.076-7.079 MHz to allow a single side-band width of operating room). Such a measure should wake people up – or at the very least, punish poor operating practices.

This is an opportunity to inform people as well as to encourage respectful operating practices. Too bad the contest organizers even need to be told this …

Posted in Operating | Tagged , , , , | 3 Comments

Software Defined Radio (SDR) on the Web

For those who are interested in amateur radio or short-wave listening, there are a number of web-based radio stations which you can use to monitor the air-waves. These resources are so handy in fact, that operating amateurs sometimes make use of these web portals to hear how their signal sounds at a distant station!

When I was first studying for my basic exam, I would often take breaks and tune-around the bands and listen in. This greatly helped my appreciation for what the relationship between frequency and operating band really was. I also learned alot about the proper procedures, etc. when operating in HF.

The WebSDR systems are typically receive only so as to not violate any radio related laws. All the same, tuning around the air-waves on receive only can be quite fun. Oh, and you can also decode digital HF by passing the output audio to your line-in (either in software, or using a 3.5mm to 3.5mm jack cable).

Here are a few SDR links:

Posted in General | Tagged , , , | Leave a comment

Fourth (and final) lecture for OVMRC course of 2011/2012

Tonight I gave my fourth and final lecture which covered VHF/UHF operation. This is an exciting topic as it attempts to prepare students for operating an amateur radio on their own for the first time. This is certainly how many people get started in the hobby.

The lecture went well, and we even had a practice “net” to get the students prepared to participate in a net once they get their first VHF/UHF radios.

As with all of my lecture material, the slides can be downloaded as PDF files under: Downloads / User Guides

Posted in General, OVMRC Course | Leave a comment