SDR notes

From Helpful
Jump to: navigation, search
These are primarily notes
It won't be complete in any sense.
It exists to contain fragments of useful information.


Receivers

The discovery that many DVB-T dongles are actually Software Defined Radios (SDRs) (putting out I/Q samples at ~2.8 MS/s) is one of the main reasons many people are having fun fiddling with SDR. These dongles can cost as little as EUR15 / USD20.

Many are based on RTL2832U, which is specced to receive between 64MHz through 1.7GHz to cover both (digital) radio and (digital) TV. (That range also includes 315/433/868/915MHz signals, a whole bunch of amateur and commercial radio, and more. It stops short of 2.4GHz communication, though.)

How well a given dongle deals with a particular frequency depends on the design around it. Radio/TV dongles tend not to care much about filtering in the other frequencies.

There are better-designed, better-behaved variants on this theme, such as the still-affordable FUNcube Dongle Pro+.


There's also a lot of higher-end hardware, such as USRP, but that's too expensive for all but the most serious hobbyists.


See also:

Getting started

  • plug it in
  • windows: fiddle with driver stuff
  • optional: do a RTL-SDR benchmark to make sure it does what you think it does
  • run a tuner program and have fun

http://www.thepowerbase.com/2012/06/getting-started-with-rtl-sdr/


*nix

This article/section is a stub — probably a pile of half-sorted notes, is not well-checked so may have incorrect bits. (Feel free to ignore, fix, or tell me)


Software:

  • gnuradio
  • rtl-sdr tools
  • SDR# apparently works under Mono


http://www.instructables.com/id/rtl-sdr-on-Ubuntu/


Windows

This article/section is a stub — probably a pile of half-sorted notes, is not well-checked so may have incorrect bits. (Feel free to ignore, fix, or tell me)


http://rtlsdr.org/softwarewindows


The below focuses on having a Realtek dongle, meaning RTL-SDR via USB.


Drivers

Windows tries to be automatic about drivers, meaning it will probably install either generic drivers or the ones intended to do only video capture (as the product is intended for).

We want our own control of the tuner, and for it to just hand the raw samples to us. (the realtek chip is mostly just used as an ADC).


You probably want to use Zadig to replace the driver.

For the realtek, the process is proably:

  • Run Zadig
  • Click OptionsList All Devices'
  • The device you want is probably called "Bulk-In, Interface (Interface 0)". To be certain, look at the current driver name and/or check that the VID/PID are your device's (against its Properties in Device Management, or against a known list)
  • You usually want the "WinUSB" driver (not libusb or libusbk?), and that should be default
  • click "Replace Driver" / "Reinstall Driver". It may ask you to reboot.

https://github.com/pbatard/libwdi/wiki/Zadig http://wiki.spench.net/wiki/USRP_Zadig


Software


  • SDR# - a GUI
    • The RTLSDR-via-USB support is not in the current stable version. There is a plugin for what is currently the nightly build, but it takes a bunch of steps to figure out manually.
      • The easiest way is to find something called "sdr-install.zip", which contains a script that fetches the nightly, the plugin, some more supporting files, and does everything for you.
      • If you already had a SDR# setup and added plugins to its config, then you probably do want to things manually. (TODO: mention details here)
    • "RTL-SDR / USB is either not connected or its driver is not working properly" seems to happen when you use a USB3 port. Use a USB2 port instead.
  • Winrad and its forks, HDSDR and WRplus
    • HDSDR picks up on .dll files in its directory. If you have none, it will only offer sound card input and output
  • Zadig - replaces USB drivers. Initially for USRP, also for RTL2832 and a few others


  • gnuradio (windows build)
  • BorIP
    • the idea is that it allows you to connect to a remote reveiver via the network, so you don't have to be right next to your reveiver / antenna (gives you remote control, you receive baseband data)(verify)
    • programs don't have to have to know how to talk to specific hardware, just to BorIP (...so it's also useful on the same host)
    • Made for USRP (v1) hardware, also supports others
    • for RTL2832U you'll need
      RTL
      for the device hint, and sometimes further options
    • for the Funcube your'll need to hint
      FCD
    • http://wiki.spench.net/wiki/BorIP


  • ExtIO are plugins for Winrad and its forks, HDSDR and WRplus
    • ExtIO_USRP connects to a local USRP, or a BorIP server - effectively using whatever that supports
  • UHD - USRP Hardware Driver, the new-style driver for USRP. The old one is often referred to as Legacy



Antennae

Interesting frequencies

http://www.spectrumwiki.com/Index.aspx

http://www.frequentieland.nl/

Legalities

Unsorted