Tuesday 22 May 2012

RTLSDR - Part 4 - Cutting out the noise using a simple coax filter

One major limitation of both the FUNCube Dongle and the RTL-SDR based receivers is the poor front end filtering.

Connecting a wide band antenna such as a discone to the input often results in a spectrum full of noise which swamps the target signal.

In most cases the noise is actually a result of out of band high-power transmissions such as FM and TV broadcast stations and pagers which overload the receiver and get mixed in to the tuned signal. The effects can be mitigated to a degree by turning down the gain of the receiver but at the expense of sensitivity to the signal you are wanting to receive.

The FUNCube Dongle in my experience seems especially susceptible to the effects of FM broadcast signals when trying to monitor the 2-Meter amateur band. I'm not sure if the current weather conditions were the cause but yesterday evening it seemed the breakthrough was especially bad. So I decided to experiment with a simple coax 'notch' filter.

There are two approaches to filtering, one is to use a band-pass filter which passes frequencies within a certain range and rejects (attenuates) frequencies outside that range. The other is to use a band-stop filter that passes most frequencies unaltered, but attenuates those in a specific range to very low levels. A notch filter is a band-stop filter with a narrow stop band.

As it happens you can make an effective filter using ordinary coaxial cable which will generate a sharp, deep notch which can be used to attenuate the unwanted signal.

A coax stub notch filter can be made if you connect the antenna to the receiver using a T-connector then attach a piece of coax of the appropriate length (the stub) to the remaining connector.

I happen to have a fair bit of 10Base2 Thin-Ethernet cabling (RG-58U) and connectors which were repatriated from a previous employer over a decade ago. The network cards they used came supplied with lovely long high quality 10m patch leads with moulded BNC connectors and a T-Connector and terminator! Even back then the 10Base2 was completely redundant as the network infrastructure used Cat-5 cabling.

So I dug out one of the T-Connectors and a BNC connector and set to work, connecting the antenna and receiver was simple, all I needed was to construct the coax stub.

To calculate the length of the stub you must first calculate the wave length of the desired 'notch frequency' for the FM band a good central notch frequency is around 100MHz.

The wave length is found by dividing the speed of light (which is around 300,000km/sec in free space) by frequency

So for a 100MHz signal the wave length is 300/100 = 3 meters.

However the speed of the radio wave in a coax is affected by the material it is made of, this is called the velocity factor. For most solid polyethylene coax (e.g RG-58) this is 66% (a handy table can be found here)

So multiplying 3 x 0.66 = 1.98 meters

The coax stub is 1/4 of this wavelength = 1.98 x 0.25 = 0.495 (49.5 cm)

So cutting a piece of coax of that length, connecting it to the T-Connector and leaving the other end open completes the filter. The filter will have maximum attenuation at 100MHz (assuming the coax is cut accurately) and the attenuation will fall off away from this 'notch frequency' (Note the filter will also notch at 300MHz, 500MHz and so on)

Interestingly it seems my RTL based SDR receiver is more affected by pager breakthrough, so I plan to make an alternative stub, adjusting the calculation to use 153MHz as the notch frequency to reduce this. It is possible to add more than one filter at a time using multiple T-Connectors and alternative higher performance designs for coax notch and band-pass filters can be found with a quick Google search.

I made a quick video showing the effectiveness of this simple filter which took about 10 minutes to make!

Monday 21 May 2012

Some audio from the 144MHz SSB Contest

Not had much radio time since Saturday due to family duties but did managed to find time to edit down some of the audio from the 144MHz SSB Amateur Radio Contest I received.

The first part of the audio was from the FUNCube Dongle, the latter part from the Ultra cheap NewSky DVB-T stick running the RTL-SDR driver.

Both were received using the loft mounted discone antenna which I believe is vertically polarised and so wasn't optimal since SSB is broadcast using horizontal polarization. Even so I was quite impressed with what I did receive with such humble equipment.The stations calling in the audio were G0VHF (morse and voice), M0KWP, M0BAA, 2E0KWM and G4SIV

  144MHZ SSB Contest by nerdsville

Please note the corruption that can be heard toward the end of audio appears to be an artifact of the sound editor and/or the transcoding used by soundcloud as it wasn't in the original audio.

Sunday 20 May 2012

RTLSDR - Part 3 - CQ CQ Contest

As it's the weekend I have managed to experiment with my new SDR device. I have sorted out an adapter so I can connect it to the loft discone and it has been pulling in some very nice clear signals. I have had to do some tweaking especially of the usb transfer buffer size to get some decent audio out of it. I have also had to learn how to use the HDSDR program which I haven't used much before favouring the SDR-Radio one with the FUNCube Dongle.

One thing that caught me out is that when I last used HDSDR with the FUNCube I had to swap the I and Q signals and I don't need to with the Newsky Tv28t so initially I was very confused as it all seem arse about face! Duh! But now actually growing to quite like it as having a much wider spectrum to see is very nice.

By a pleasant coincidence yesterday saw the start of the RSGB 144MHz May Contest so lots of SSB transmissions to tune in to. The FUNCube definitely has the edge when it comes to quality of audio and sensitivity and being able to tune down the gain helps in preventing out of band signal overloading the front end. With the Newsky device I've had to have the gain right up most of the time, but I suspect there is still more optimising to do.

Just a small video showing some of the SSB Contest signals on the spectrum. Don't you just love the masses of noise? Really must do something about that damn router!


I've also got to discover how to calibrate the Newsky as it shows quite a bit off frequency, I understand I need to discover the actual crystal clock frequency and can feed that into the EXT-IO plugin.

Friday 18 May 2012

RTLSDR - Part 2 - Hello.. Hello Can You Hear Me?

As suspected the problem was indeed the computer. I rushed home at lunchtime and in less than 10 minutes I had installed the software on my main PC and it sprang to life just like the video promised.




I only had a short time to try it out, but picked up some FM stations, pager signals and the RAF Waddington ATIS which should have been on 291.675MHz but the frequency on the HDSDR screen was way off.

It does appear to be a little deaf but I hadn't got a decent antenna connected so I won't conclusively say that yet as I've got to make up an adapter this evening so I can connect the loft antenna on. Also the EXT-IO interface has a gain control that I didn't alter from the default.


RTLSDR - Part 1 - Failed to Launch!

 

Well that was quick! The USB Receiver with the RTL2832 receiver I ordered it on Tuesday afternoon and arrived yesterday (Thursday) morning (from Jersey based retailer Cosycave via ebay) so was eager to try it out last night.

Fired up the old laptop and went off to http://www.rtlsdr.com/ and the getting started section to download the drivers and software and everything seemed to be going well. Following the instructions the device appeared to be correctly detected and the appropriate drivers installed, but then it went pear shaped.

HDSDR would open, the EXT-IO window would appear and attach to the device but as soon as I tried to tune the stick or start receiving various errors would appear and nothing worked... I tried a number of different option settings but still no luck!

Feeling a bit disappointed I put it down while I watched some TV and tried again later. I uninstalled everything and went through the process again but still ended up with the same errors.

I decided to rule out a defective receiver so I uninstalled everything again and installed the manufacturers supplied software.

The drivers and something called BlaseHDTV installed without a hitch. I connected the little supplied antenna to the receiver and set off scanning for TV and radio stations. It didn't complain but found nothing! By now it was well past midnight so I went off to bed in a huff.

This morning I connected the receiver to the roof aerial and it did find TV channels from the two local transmitters Waltham (60% signal strength and 100% quality) and Belmont (low signal strength and quality) but when I tried to watch anything I just got random coloured blocks and random noise. Interestingly it didn't find anything using the DAB or FM radio applications.

So is the receiver defective? Unlikely as it did go away and find TV channels.

The culprit is almost certainly the computer. Being an untrusting soul when it comes to software 'off the internet' I didn't want to try any of this out on my main computers in case it messed anything up. However the laptop is an old Sony Vaio with a Pentium 4-M processor and only 512MB of RAM and can be prone to sluggish behaviour, especially when trashing the hard drive. Saying that it will happily run SDR-Radio with the FUNCube Dongle.

Checking back over the specifications of the receiver it clearly states on the packaging that it requires a USB2.0 port... mmmm the old laptop only has USB1.1! Unfortunately I have grown accustomed to ignoring the pop-up balloon which appears I plug something in...


The looks like the most likely reason for the problems, not enough bandwidth - which would certainly explain the DTV issues. So I will have to try it on another PC...

As Captain Picard would say!  




  




Wednesday 16 May 2012

Ultra-cheap VHF-UHF Software Defined Radio


Over the last few months various forums and websites I visit have been buzzing with conversations about the RTL-SDR project (e.g Hackaday)

The idea is to take a cheap USB FM/DAB/DTV receiver (for less than £20) that contains a Realtek RTL2832U chipset and an appropriate tuner chip (such as the Elonics E4000) then by using new custom drivers you get yourself a SDR-Radio with a frequency range of around 64 – 1700 MHz

Sound familiar? Yes it is similar to the FUNCube Dongle.

There are a couple of limitations, unlike the FCD the device doesn't have a pre-amplifier so sensitivity might be limited. The IQ sampling is only in 8 bits so the dynamic range will be limited, but because the device doesn't use a USB Soundcard interface like the FCD to pass the IQ samples to the PC the sample rate can be much higher (theoretically 3.2 MS/s) which allows potential decoding of wideband signals which the FCD cannot do.

Over the last few week I have seen a few Youtube videos and read of peoples experiments so my curiosity was piqued and decided to get one to have a go.

There in lies the problem, since news of this hit the internet demand for suitable devices has rocketed and dealers are cashing in and prices have risen and stocks are low. Also as not every USB FM/DAB/DTV receiver has a suitable chipset it is very easy to buy one that won't actually work. There is a list of known working devices here and yesterday while browsing ebay I found a dealer claiming to be selling the Newsky TV28T for around £16 including postage so thought what the hell!

Should be arriving in the next few days so I will keep you posted!

Before I go I should point out that on some forums and discussion groups I visit that some are under the illusion that they are getting a high quality wide band receiver for peanuts and then have complained because they have got a unsupported device or don't understand how the software works. I am under no illusions it will undoubtedly be fiddly, unreliable and inaccurate but it should be FUN! 

If nothing else I will have a way of listening to DAB and watching DTV on my PC, which is hopefully better than my last purchase (which I should really dig out and check what chipset it has!)


  

Tuesday 15 May 2012

POCSAG and FLEX Decoding with the FCD

With today's modern mobile and wifi networks pagers might seem terribly old fashioned. But pagers are still in use today in places where mobile phones typically cannot reach and also in places where the operation of the radio transmitters contained in mobile phones is problematic or prohibited.

Whilst many of the national networks have closed down some are still going and some locations such as large hospitals have their own systems and are still popular with birdwatchers in Britain and Ireland with companies Rare Bird Alert and Birdnet Information offering news of rare birds sent to pagers that they sell.

Decoding pager messages using a PC involves some software and a receiver usually with a discriminator tap and using the sound card and/or a data-slicer. The most popular software is the PDW suite.

I decided to use the FUNCube Dongle to attempt some decoding as being able to keep everything digital within the PC rather than having audio leads from a scanner plugged into the soundcard meant no problems with audio circuitry messing up the signal. Also the ability to alter the bandwidth should mean I could get some excellent decoding - and I did, both the higher speed and more problematic FLEX and the easier POCSAG protocols.


Tuesday 1 May 2012

Rainy Sunday, Damp Monday SSTV

With the total washout at the weekend with very heavy rain on Sunday I was able to spend a decent amount of time monitoring. I recently brought a dry-cell adapter for the Alinco DJ-X10 receiver (EDH-16) allowing me to power it using normal AA Ni-MH batteries as the rechargeable battery pack it came with doesn't hold its charge any more.


So as the rain hammered on the window I decided to decode some SSTV images on the amateur bands. I connected up the discone and the computer tuned to 14.230Mhz USB and fired up MMSSTV. Some of the better decoded images I've got over the last couple of days are included below.

I did have an attempt at decoding some digital SSTV using EasyPAL but despite some strong signals couldn't quite get a full sync, but I think that was down to the conditions and the relatively poor rejection of the DJ-X10. With no ATU the out of band signals and nearby signals from what I suspect are high power operators were just too much for it, as the following sound file demonstrates.


Swamped SSTV by nerdsville