Getting Started With RTL-SDR

sdr_feat

Tuning In

So we have our RTL2832U device, a makeshift antenna, and all the software required to do some real work with it. Now what? As a quick demonstration of what RTL-SDR is capable of, let’s tune into a local FM radio station (click the image for full size):

Local FM station in Gqrx

Let’s walk through this image to get an idea of what’s going on. The button on the top left of the toolbar is the “Power” button which starts and stops the receiver. Once you click the button, you should immediately hear static and see the displays come to life.

The large white number at the top is the frequency we are tuned to, here, 94.5 MHz. The two large displays below it show there is clear activity at this frequency, shown by the peak in the top display and red lines in the lower “waterfall” display. Generally speaking, this is what we are looking for when exploring the radio spectrum. Walking through channels and looking for obvious signals via these two displays lets you find audio patterns within the sea of static.

On the upper right side of Gqrx, you can see the “Receiver Options” panel. This lets you adjust which mode the radio is in (such as AM, FM, CW, etc) and make changes to the automatic gain control (AGC). Most of the time you won’t need to change these settings very often, as most of the interesting stuff is in FM anyway. The most common change you will make here is switching between the two FM modes, “FM-W” and “FM-N” (broadcast radio stations need FM-W, most everything else will be FM-N).

Also take note of the squelch (SQL) slider, this allows you to cut out the audio unless it contains a sufficiently strong signal. The farther to the right you slide it, the stronger a signal will need to be to trigger the audio feed. This can be useful for things such as listening to ham radio broadcasts; by preventing loud bursts of static in between transmissions. Use caution with the squelch however, as turning it too high can mute weak signals completely.

The lower right side contains the “Audio” controls. The most important thing here is the “Gain” slider, which is essentially the volume. Turn this up to hear more of the signal, which may be required for weaker transmissions.

The Hunt

Knowing the basic controls of Gqrx, you should be able to tune the radio to different frequencies and begin exploring the local RF spectrum.

The previous image showed a very close and powerful transmitter, so accordingly the displays show a massive signal. For other broadcasts, it will not be nearly as obvious. Some signals may only appear as a line only a few pixels wide in the waterfall. When hunting for interesting signals, keep an eye out for any activity on the lower waterfall display.

To give you an idea of how this all comes together, the following video shows the basic principles of operation for Gqrx; first setting the frequency in the FM range and listening to some local broadcasts, then switching over to 930 MHz to listen in on some pager transmissions:

[youtube id="NQ4xFsxx5Ws" width="600" height="350"]

What Now?

From this point on, things are pretty much up to you. You now possess a software defined radio setup that would have cost hundreds of dollars just a year ago. Once you’ve become comfortable with tuning the radio and recognizing signals, the only limit to your explorations is your curiosity and patience.

Try looking at the frequencies your devices transmit on, see if you can find the signals for things like wireless weather stations or the key fob for your car. What kind of interesting things can you find?

If you’re looking for a challenge, get an antenna (or build one) that’s strong enough to receive signals from the International Space Station or even a geostationary satellite. The timing and alignment for communications at that range takes practice and dedication, and can offer a challenge to even accomplished radio operators.

With powerful software like GNU Radio and Gqrx backed up by affordable hardware such as the Realtek RTL2832U, the sky literally is the only limit to what you can do.

Tom Nardi

Tom is a Network Engineer with focus on GNU/Linux and open source software. He is a frequent submitter to "2600", and maintains a personal site of his projects and areas of research at: www.digifail.com .

Related posts

  • Pingback: Getting Started With RTL-SDR | OpenSource.Cipto.US

  • Zilvinas Atkociunas

    Nice article!
    Just yesterday I saw linrad has got rtlsdr support too!

  • Joe

    Thanks for the article.

    Just a small grammatical error: “You now possess a software defined radio setup that would have costed hundreds of dollars” -> cost.

    http://www.verbix.com/webverbix/English/cost.html

  • http://profiles.google.com/plattypus1 Justin Nelson

    Ham isn’t an acronym, so it needn’t be capitalized. Thanks for the article, I’m buying one of these things right-the-hell-now.

    73 DE AE6YD

  • Pingback: Getting started with software defined radio - Hack a Day

  • Pingback: Getting started with software defined radio | vis a vis | visual mind

  • Pingback: Getting started with software defined radio « Hackaday « Cool Internet Projects

  • Pingback: Links 27/6/2012: Google Tablet, CyanogenMod 7.2 | Techrights

  • Pingback: Getting started with software defined radio | Hacking Academy

  • en1gma

    this is fucking amazing
    the real DEVS never get mentioned in this at all

    where the fuck is SDRSHARP that is way better then GQRX!

    “To start the GNU Radio build process, simply download the script and make it executable:”

    hey you fucking prick the guy who made that is name Patchvonbraum

    “RTL-SDR Benchmark”

    fucking prick again
    the guys name is (I Believe) Steve|m

    do some fucking research you fuck and next time mention the devs names
    hackaday is really letting me down
    i cant tell if they are blatently not mentioning the REAL devs or if they are just fucking clueless

    • WTF?

      Yo…what are you even trying to say. You want the dev to be mentioned by name everytime their software is referenced in a guide or online? Are you serious???

      • jgm

        Yup, including 17 pages of LIbreOffice contributors every time that’s mentioned. :-) Actually, he wants their handles(?) mentioned, which is even more ridiculous.

    • Sue W

      Lighten up bébé…The idea of Hack-A-Day, Make blog, adafruit blog etc. is to showcase interesting links or ideas, is it not? We can all do the “research” if we are interested in the idea…

      As for being clueless, your complaint would be more readable with less invective and more links or content.

    • http://www.digifail.com/ Tom Nardi

      Listen, it would be one thing to claim that somebody ELSE was the developer of a piece of software. In that case, I could see how you would be upset that the proper developer wasn’t getting credited, and somebody else was grabbing the notoriety (such as it is). Certainly that would be a mistake that needs fixing.

      But to be this pissed off because each developer wasn’t named specifically in the article is absolutely ridiculous. If we had to call out the devs for every piece of software we covered here on the site, we wouldn’t have time to actually write the articles. You want us to include a list of 10,000 or so developers every time we mention Linux too?

      The fact is, people don’t write open source software for fame and fortune. In almost every case, they wrote the software because it filled a need for themselves (either practical, or just in the challenge) and they decided to share it with others.

      I can absolutely guarantee you that the developers of RTL-SDR are not sitting around worrying about whether or not all of their names are reprinted every time somebody mentions their project. They are just happy it’s being used and improved upon, which is the whole point of putting something out as open source.

  • http://profile.yahoo.com/YEBNHQY6UK6EV45OHENQLN4KNU Alan

    en1gma has an abusive tone – but also a point.
    You don’t need to dump Windows to use SDR – SDR Sharp works fine.

  • Kilouy

    sweet! nice job

  • Falcon5nz

    Hey man, Thanks for the article. Just one point, isn’t gain closer to sensitivity? Wouldn’t “…which is essentially the sensitivity. Turn this up to hear more of the signal…” have made more sense?

  • Pingback: KW 26 « μcpat

  • Big_James

    I don’t think all of those ezcap sticks are created equal. Your table says that the ezcap usb 2.0 stick has an E4000 tuner. Mine has an fc0013 in it and also says EzTV645 on the board inside the case. It was purchased from the link that you proclaimed worked (deal extreme). i have yet to get the drivers working properly but I’m working on it.

    J

    • http://www.digifail.com/ Tom Nardi

      Probably not, the suppliers DX uses are pretty well known for changing internal components as they see fit. Basically, they use whatever they can get the cheapest at that point in time.

      You got the exact same SKU as the one I used? DX sells three identical Ezcap tuners all with different price points, SKUs, and internals.

  • ErrK

    definitely going to solder in an F connector

    • http://www.digifail.com/ Tom Nardi

      Good idea.

      I plan on putting mine into a metal enclosure to try and cut down on outside interference. If you look on the RTL-SDR Reddit, there are a few good threads about hardware modifications to clean up the signal and improve sensitivity.

  • Kyle Hotchkiss

    Hey! Could you get that images content into an actual table with links?

  • Pingback: $30 sdr rx - The RadioReference.com Forums

  • didiet radityo

    please i have an error

    $ rtl_test -t
    Found 1 device(s):
    0: Generic RTL2832U (e.g. hama nano)

    Using device 0: Generic RTL2832U (e.g. hama nano)
    usb_claim_interface error -6
    Failed to open rtlsdr device #0.

    if you have a clue to solve this let me now..
    thanx
    best regard

    • Guest

      Hi. Same problem. What now?

    • dan__n

      Hi Didiet. Solution for you (and me :-) :

      =============================================
      git clone git://git.osmocom.org/rtl-sdr.git
      cd rtl-sdr/src/

      echo -e ’1056a1057,1058n> libusb_detach_kernel_driver(dev->devh, 0);n> ‘ | patch -i – librtlsdr.c

      cd ..
      mkdir build
      cd build
      cmake ../
      make
      sudo make install
      =============================================

      Enojoy!

      • Petter Gustad

        Which version of the source does this patch belong to? I think the line numbers have changed. It did not work for me with 5f88049c0.

        What part of the code should be patched? Is this available in the repo yet?

        • eMPee584

          The line numbers have indeed changed a lot, just look here for the context where to insert the line:http://lists.osmocom.org/pipermail/osmocom-sdr/2012-May/000105.html

          The problem is that the DVB-T driver registers with the kernel and claims the device, so it needs to be detached in order to reclaim it by libsdr. Why they haven’t included that patch in their current git code i have no idea?!

    • kurt

      Dear ,

      that’s the solution for me

      Running as an unprivileged user
      The rtl-sdr project comes with udev rules, so you can access the device as a regular user. To install the udev rules:

      ~$ cd src/rtl-sdr/
      ~/src/rtl-sdr$ sudo cp rtl-sdr.rules /etc/udev/rules.d/
      ~/src/rtl-sdr$ sudo service udev restart
      Stopping the hotplug events dispatcher: udevd.
      Starting the hotplug events dispatcher: udevd.
      Now if you eject and re-insert your USB stick, udev should set the correct permissions.

      • dan__n

        But this may not be enough and the patch is then needed.

  • Jay

    Nice quick start guide. Worked just as described. Only the QT piece could benefit from abit more detail for newbies like me. I ended up getting the QT Linux online installer from http://qt.nokia.com/downloads/ and then it was pretty straightforward. Thank you!

  • Pingback: Fun with cheap TV-tuner dongles and Software Defined Radio (SDR) « Outguessing the machine

  • Pingback: Getting Started with RTL-SDR « kabelmast

  • Pingback: Open Source's Final Frontier: Interview with Alexandru Csete

  • Pingback: New to SDR and Digital Decoding - The RadioReference.com Forums

  • Pingback: hybrid FM TV tuner for streaming - Page 2

  • Pingback: My 3 SDR Choices-HELP! - The RadioReference.com Forums

  • Pingback: Four short links: 23 October 2012 - O'Reilly Radar

  • Pingback: Cheapo Software Defined Radio – Getting Started With RTL-SDR « @ggregator

  • Pingback: Software Defined Radio | TinkerSoc

  • Pingback: Software Defined Radio on ASUS Eeepc | Kent Frazier, K5KNT

  • Pingback: GNU_Radio | Pearltrees

Top