My homebrew WX-1 weather station, which transmits data directly on 144.800MHz APRS using a PIC based packet modulator and a 10mW VHF transmitter module, is decoded by my VX-8GR and my Kenwood TM-D710 but not my TH-D72 or my homebrew TNC. This is annoying. A week ago I looked at the packet modulation from various devices and found that the tone frequencies of the WX-1 were about 50Hz too high. So I thought I would try to fix it.
The PIC source code for the weather station is available for download. The program code that generates the packet modulation is a bit beyond me, but I think it works by executing a loop and pushing binary values out of 4 ports which are connected to 1K0, 2K0, 3K9 and 5K1 value resistors in such a way as to produce a stepwise approximation of a sine wave. It seemed to me that to lower the tone frequencies I needed to slow the loop down a tad. After a bit of trial and error inserting a nop (no-operation) instruction in various likely-looking places I managed to get the tones nicely symmetrically positioned around the 1200Hz/2200Hz nominal frequencies for 1200baud packet. But the TH-D72 and homebrew TNC still refused to decode any packets!
Wondering what to try next, it occurred to me that the tone frequencies were not the only parameters of a packet signal. There is also the baud rate. I also remembered that the MixW sound card software prints out the measured baud rate next to each decoded packet. So I hooked MixW up to a transceiver and sound card and gave it a selection of signals to decode. I found that whilst my two Kenwood transceivers and the Yaesu VX-8GR all measured 1200 or 1199baud, the WX-1 recorded a value of 1208 baud. That had to be the cause of the problem.
Unfortunately I can't find a solution. I thought that slowing down the PIC processor's clock might make the necessary adjustment, so borrowing an idea from a PIC frequency counter circuit I replaced one of the fixed capacitors on the oscillator crystal with a variable one. This made a whole 1 baud of difference! Clearly that approach isn't going to get me anywhere unless I get myself a 19.867MHz crystal. If I'd done the math in the first place I'd have realized I wasn't going to pull the oscillator that far with a trimmer.
The solution, if there is one, has to be in the code. But I don't understand it nor can I find any comments that would point to a routine or value that affects the baud rate. Give me a circuit with discrete components any day. If this is the future of electronic experimentation I don't think there's a place for me in it.
Thursday, February 17, 2011
Wednesday, February 16, 2011
Platform for progress
One of the things at the back of my mind when I was writing that the magic of ham radio wasn't in high technology was the feeling that anyone who got into the hobby out of a mania for high-tech toys was soon likely to be disappointed. I've seen it happen when people who are new to the hobby and don't yet know much about it get an enthusiasm for APRS or Echolink. They get disappointed that the network coverage is patchy or nonexistent compared to cellphone coverage because they don't realize that it depends on hams to provide the infrastructure and where there are few hams - or none interested in these particular aspects of the hobby - there are no repeaters and no gateways.
I've seen the same people criticize the latest VX-8, TH-D72 and Icom D-Star radios as being overpriced and unimpressive. They don't like the geeky "walkie talkie" look or the plain 1990s LCD display. They can't believe that APRS radios don't support predictive text entry like the cheapest mobile has for more than a decade. And why can't they have a colour screen and a scrolling map display?
It's easy to dismiss these criticisms as coming from people who don't understand that ham radio is a specialized niche market and that amateur HTs don't benefit from the economies of scale which allow vastly more R&D to be spent on a smartphone costing a similar amount of money. But then I realized that perhaps the critics had a valid case. Manufacturers of smartphones don't completely reinvent the wheel whenever they release a new model. They just design the hardware. But the hardware is a platform. On it runs a standard OS and various apps, a few of which may be customized to the manufacturer or phone but most of which are generic. Given that software development is one of the most time consuming and expensive parts of any new technology product development, wouldn't that be a huge saving?
Why can't top of the range hand-held radios use a similar hardware architecture to cellphones? Instead of a custom design the radio would be a computer running embedded Linux. The RF side could be SDR or it could use conventional technology - it wouldn't matter, that would simply depend on what is most cost effective and delivers the best battery endurance. But all the control functions, together with transmit and receive audio, would be accessible through an API to software. The user interface would be an app.
Since the radio is a computer the interface would be endlessly customizable and all kinds of things not possible with existing radios could be feasible. Instead of entering local repeater frequencies into memories you could install an app that gets your position from the built-in GPS and shows you the nearest repeaters. One click and you're listening on it.
Instead of a plain LCD display showing distance and bearing your APRS capable radio could show a full map display just like APRSISCE currently provides on Windows smartphones. You wouldn't need packet modem hardware in the radio because packet generation and decoding could be done in software. In fact there would be no such thing as an APRS capable radio. The platform would be the same - if you wanted APRS you would just install the APRS application. If you wanted Echolink you could add the Echolink application. If you wanted D-Star you could buy the D-Star app from Icom. If you wanted to work satellites then I'm sure someone would write an app that would keep track of where the satellites are and even control the radio frequencies taking account of doppler.
You could power this hypothetical next generation radio using cellphone battery packs, which are a lot cheaper than the custom battery packs for traditional ham radios. You could even use standard cellphone accessories.
So why won't this happen? I guess the reason for that is that Yaesu, Icom, Kenwood and the rest don't make cellphones. Their business is making radios that are intended to be as dumb as most of their users. Ham radio is just an offshoot. The market just isn't big enough to justify developing what for them would be a completely different and unique hardware platform. So I guess for the foreseeable future we'll be stuck with our geeky walkie talkies and the cool stuff will all be on cellphones.
I've seen the same people criticize the latest VX-8, TH-D72 and Icom D-Star radios as being overpriced and unimpressive. They don't like the geeky "walkie talkie" look or the plain 1990s LCD display. They can't believe that APRS radios don't support predictive text entry like the cheapest mobile has for more than a decade. And why can't they have a colour screen and a scrolling map display?
It's easy to dismiss these criticisms as coming from people who don't understand that ham radio is a specialized niche market and that amateur HTs don't benefit from the economies of scale which allow vastly more R&D to be spent on a smartphone costing a similar amount of money. But then I realized that perhaps the critics had a valid case. Manufacturers of smartphones don't completely reinvent the wheel whenever they release a new model. They just design the hardware. But the hardware is a platform. On it runs a standard OS and various apps, a few of which may be customized to the manufacturer or phone but most of which are generic. Given that software development is one of the most time consuming and expensive parts of any new technology product development, wouldn't that be a huge saving?
Why can't top of the range hand-held radios use a similar hardware architecture to cellphones? Instead of a custom design the radio would be a computer running embedded Linux. The RF side could be SDR or it could use conventional technology - it wouldn't matter, that would simply depend on what is most cost effective and delivers the best battery endurance. But all the control functions, together with transmit and receive audio, would be accessible through an API to software. The user interface would be an app.
Since the radio is a computer the interface would be endlessly customizable and all kinds of things not possible with existing radios could be feasible. Instead of entering local repeater frequencies into memories you could install an app that gets your position from the built-in GPS and shows you the nearest repeaters. One click and you're listening on it.
Instead of a plain LCD display showing distance and bearing your APRS capable radio could show a full map display just like APRSISCE currently provides on Windows smartphones. You wouldn't need packet modem hardware in the radio because packet generation and decoding could be done in software. In fact there would be no such thing as an APRS capable radio. The platform would be the same - if you wanted APRS you would just install the APRS application. If you wanted Echolink you could add the Echolink application. If you wanted D-Star you could buy the D-Star app from Icom. If you wanted to work satellites then I'm sure someone would write an app that would keep track of where the satellites are and even control the radio frequencies taking account of doppler.
You could power this hypothetical next generation radio using cellphone battery packs, which are a lot cheaper than the custom battery packs for traditional ham radios. You could even use standard cellphone accessories.
So why won't this happen? I guess the reason for that is that Yaesu, Icom, Kenwood and the rest don't make cellphones. Their business is making radios that are intended to be as dumb as most of their users. Ham radio is just an offshoot. The market just isn't big enough to justify developing what for them would be a completely different and unique hardware platform. So I guess for the foreseeable future we'll be stuck with our geeky walkie talkies and the cool stuff will all be on cellphones.
Beacon failure
ChangeDetection.com once again alerted me to a change in the NCDXF/IARU International Beacon Project status page so that I can manually update the beacon status file for VOAProp. I think it is worth a comment on the fact that 7 out of the 18 beacons appear currently to be off the air. This is the most I can recall being off at the same time. Some have been off for months. If you rely on the beacons to see whether a band is open, you may think conditions are worse than they really are. I hope all the beacons are soon restored to full operation.
Tuesday, February 15, 2011
Is technology good for ham radio?
Several ham radio blogs have linked to the Wired article Why Ham Radio Endures in a World of Tweets. "What is it about a simple microphone, a transmitter-receiver and the seductive freedom of the open radio spectrum that’s turned a low-tech anachronism into an enduring and deeply engaging global hobby?" the author asks. He goes on to describe the thrill of establishing a direct, person to person long distance contact and exchanging QSL cards, which he contrasts with "a world of taken-for-granted torrents of e-mails, instant messages and Skype video-chats." It's a point of view that QRP enthusiasts and many others will identify with.
In the comments to the article many have been keen to say that ham radio is not low tech, citing "VoIP Radio" and digital techniques as examples. They may be true, but I'm afraid the commenters miss the point. The more high-tech ham radio becomes, the less magic there is. Developments like D-Star are about as far from the concept of a simple transceiver and the freedom of the open radio spectrum as it is possible to get. It isn't simple, it isn't free (since it depends on a network controlled by someone else) and it isn't open. Which is why it is anathema to many of us.
There is a danger that the pursuit of technology could turn ham radio into a poor copy of existing communications networks. Ham radio has endured because it has held on to its traditions involving relatively simple technology that most hams can understand and even build for themselves. If we ever lose sight of that the hobby is as good as dead.
In the comments to the article many have been keen to say that ham radio is not low tech, citing "VoIP Radio" and digital techniques as examples. They may be true, but I'm afraid the commenters miss the point. The more high-tech ham radio becomes, the less magic there is. Developments like D-Star are about as far from the concept of a simple transceiver and the freedom of the open radio spectrum as it is possible to get. It isn't simple, it isn't free (since it depends on a network controlled by someone else) and it isn't open. Which is why it is anathema to many of us.
There is a danger that the pursuit of technology could turn ham radio into a poor copy of existing communications networks. Ham radio has endured because it has held on to its traditions involving relatively simple technology that most hams can understand and even build for themselves. If we ever lose sight of that the hobby is as good as dead.
Monday, February 14, 2011
Simple Sideband Transceiver for 10m
Roger G3XBM has started a new project: a simple sideband transceiver for the 10m band. Roger's projects are always interesting so this page will be one to keep an eye on. If it can be made small enough to fit into a hand held case this could make a great portable radio capable of DX contacts during the sporadic-E conditions during the summer.
Regular readers will know that last year I worked the Czech Republic using a hand-held Intek H-520 FM transceiver with a telescopic whip. The Intek, despite being a nice looking radio, is actually a horrible piece of kit with a PA that sucks the power out of the rig's batteries, especially if the antenna presents anything other than a perfect SWR. And the trouble with 10m FM in the summer is that too many people are trying to use too few frequencies so there is terrible QRM and the "capture effect" means that only the strongest station is heard.
A little double-sideband rig, even with only a couple of watts output, ought to work much better. I shall be following Roger's project with interest and intend to make this my next radio project too.
Regular readers will know that last year I worked the Czech Republic using a hand-held Intek H-520 FM transceiver with a telescopic whip. The Intek, despite being a nice looking radio, is actually a horrible piece of kit with a PA that sucks the power out of the rig's batteries, especially if the antenna presents anything other than a perfect SWR. And the trouble with 10m FM in the summer is that too many people are trying to use too few frequencies so there is terrible QRM and the "capture effect" means that only the strongest station is heard.
A little double-sideband rig, even with only a couple of watts output, ought to work much better. I shall be following Roger's project with interest and intend to make this my next radio project too.
Subscribe to:
Posts (Atom)
