Näytetään tekstit, joissa on tunniste RTL2830U. Näytä kaikki tekstit
Näytetään tekstit, joissa on tunniste RTL2830U. Näytä kaikki tekstit

tiistai 31. maaliskuuta 2015

Software defined radio 3/4. SDR software for windows

I found out that these R820T/RTL2830U based SDRs are not simple plug and play devices. Installing drivers and setup is not impossible mission but some kind of guide is usually required. I did find one Finnish site that was very useful for me. (Thanks for Pentti Sarajärvi for all in all interesting page).

Step 1. Download this bunch of programs:
Zadig is driver package for R820T+RTL2830U. Windows automatic drivers won't do.
SDR# is one of the easiest SDR softwares you could find. It is a good "starter kit".
<- this is bare minimum you'll need.

There is wide variety of SDR softwares to choose from but SDR#  and HDSDR are two that I can ensure to work with direct sampling mode and thus make it possible to listen shortwave broadcasts.
I also recommend install HDSDR. You have to do some manual work in install but it pays out I'll promise.

HDSDR is a bit more capable software than SDRsharp. But it will need extra plugin to work. Here we have two option: 
a) Jose Maria Arauju's ExtIO_RTL.dll. This is my favorite plugin as it enables direct sampling mode.
or
b) Balint Seeber's ExIO_USRP.dll. I have tried this plugin only few times as I have not find a way to enable direct sampling using this. Compelling aspect is that this enables remote control of SDR by using BorIP server.
* Install only ExtIO_RTL if you want tune to shortwave.

Step 2. Drivers for hardware.
There are many good guides for driver installation. So will not try to invent wheel again. You should follow one of these:
Adafruid in English
Sarajarvi in Finnish

Step 3. HDSDR plugins (optional) 
This step is short one but necessary if you want to use HDSDR. Unzip downloaded plugin files to HDSDR softwares folder. To use ExIO_USRP you'll also need to install MicrosoftVisual C++ 2008 Redistributable Package (x86).

Step 4. Run SDR# and get ready to enter invisible highway of the radio frequencies as an inspector.
Below you can see basic view of SDR# with definitions for user interface.

SDR# view

There are only few initial settings. First select your receiver from source list. Then open configure window and select sampling rate and sampling mode. I have read that R820T+RTL2830U combination is cable to handle 2.8MSPS samplerate with out problems. You will notice effect of sample rate as an maximum bandwidth you could see in displays. Sampling mode in turn enables or disables direct sampling mode. Try selecting one of the two direct sampling modes if you want to tune to shortwaves (MF-HF). Use quadrature sampling for VHF-UHF.

SDR# configure

Now you can start receiving. My local radio stations are using wide frequency modulation in broadcasts so I had the modulation setting adjusted for WFM.

SDR# runnig. Local radio stations at VHF band

To listen shortwave broadcasts I changed sampling mode for direct sampling and modulation for AM. BBC's shortwave news read loud and clear. And if one is interested to listen Chinese music these SDRs are must to have :)

SDR# runnig. BBC shortwave news for west and central Africa

It is possible to enhance SDR# features by adding plugins.

Step 5. Get familiar with HDSDR.
If you installed both ExIO plugins the HDSDR will make you choose one or an another before starting main program. Just select your favorite dll from offered folder.

HDSDR interface is somewhat different than SDR#. In addition to RF spectrum and RF waterfall displays you also have audio spectrum analyze display (audio FFT) and audio waterfall. These are very useful when tuning in for example CW signal. 

HDSDR full view


HDSDR user interface

Again you have to make few initial setting before starting receiver. Click ExtIO configure to open RTL settings window. This is almost similar to SDR#'s equivalent so I won't bother to explain it again.

 ExtIO_RTL plugin configure for HDSDR (for shortwave)

Now you can start receiver.

I made short video to demonstrate how different kind of transmissions looks at waterfall display. Video is shot at midday so signals were not so clear as they had been at night. I will not get tangled with shortwave propagation as that is another story. I'm sorry for lousy voice in video. I should had it made with screen capture rather than phone.

Shortwave example video using HDSDR 


*** Forgive me those errors I have made in text and help me to fix them. Please leave comments with link to source if possible.***

sunnuntai 29. maaliskuuta 2015

Software defined radio 1/4. The hardware

Have you ever considered why it has been predicted that in future radio frequencies will be more valuable than oil?
Even now there are ship loads of information on air, all the time. I wanted to grab some and see the "traffic jam". This guide will offer you a way to follow up my lead.

This is my first post in English. I'll use global language of English to offer guide also for others than Finns. Reason for this guide is that I was able to find many sites about RTL-SDR radios but most of the tutorials seemed lack some aspects for full system. This won't either be complete guide but I'll try to do my best ;)

I will post four chapters:
- 1. Hardware (R820T + RTL2830U)
- 2. Antennas (HF & VHF)
- 3. SDR software (SDR# & HDSDR)
- 4. AIS & ADSB

First of all. What is software defined radio? I'll let Wikipedia answer for that: SDR
Briefly: radio device is only used to receive / transmit RF and to do A/D or D/A converting as computer does all the decoding / encoding of the the signals.

My choose for software defined radio apparatus is the cheapest of them all. It has Rafael Micro R820T tuner chip + Realtek RTL2830U demodulator. Commonly this combination is called RTL-SDR. Good places to by one are Ebay and AliExpress. You can find this kind of receiver under 50€ including shipping but even cheaper option is to buy TV-dongle and make some modifications to it.

Mediatek chips R820T and RTL2830U were originally manufactured for digital television USB-dongles for computers. But some amateur radio operators find out that it is possible to use this hardware also as wideband receiver for other radio signals.

My receiver was advertised as being able to tune from 100KHz  to 1.7GHz. Package included: receiver, 3m (10´) coaxial cable, usb cable and aprox. 30cm (1´) long whip antenna  for "GSM" with magnet stand.

Receiver has SMA female connectors for HF and VHF (UV?) antennas and USB mini-B connector for computer connection. There is also one green led next to USB port to show if receiver is ON.

Receiver is very compact

Datasheets and many sites tells that R820T + RTL2830U combination is not able to tune below 20MHz. After testing my hardware, this seemed to be true. So why in earth is this device being sold as 100kHz to 1.7GHz? I was very keen to be able to receive HF (shortwave) transmission so this bothered me a lot.

I did not receive manual with the receiver and after awhile it became clear that there exist none. No paper manual nor online. So answers did not come that easy.

Neither was I able to find answers by googling. I did find some clues from internet that it is possible to get this hardware tuned below 20MHz by making hardware modification called "direct sampling mode" but it requires some soldering work and extra filters. Another possibility is to buy 75-100MHz upconverter. So I decide to dismantle the receiver to find out it's secrets.

After some hours of internet investigation and exploring the receivers circuit board I find out that Chinese manufacturer had made the direct sampling mode for this receiver all ready at factory. Hooray, no need to warm up the soldering iron or squander some 50€ for upconverter.

Original 1 foot antenna and circuit board 

Circuit board is build so that direct sampling modification is connected to HF connector and VHF connector to tuner chip. After figuring out the use of direct sample mode I found guide how to enable direct sampling in software. I will guide the setup for this in SDR-software post.


*** Forgive me those errors I have made in text and help me to fix them. Please leave comments with link to source if possible.***