User Tools

Site Tools


softwarewindows

This is an old revision of the document!


Windows Software

Until recently the only quick and easy option for using RTLSDR was with WINSDR and HDSDR with the EXTIO plugin from spench.net. This has all changed now and all you need is the very nice, fast and open source SDR#. It natively supports RTLSDR hardware (along with FUNCUBE and the audio card) and is much kinder on the CPU than the others. It also has code to deal with the so called DC spike so that you don't see it.

You may converse directly with the author “prog” on IRC at Freenode on channel #sdrsharp.

Installing SDR#

To get SDR# working in Windows you need 3, no 4(!) things:

  • A compatible Realtek RT2832U device
  • Zadig
  • SDR#
  • A functioning Windows XP or better PC .NET 3.5 installed. CPU's from Pentium 4 up at 1GHz and above are recommended. For now Atom type CPU's may well struggle.

Zadig

When you plug your RTL device in for the first time, Windows may request a driver or automatically install a driver from Microsoft - this is OK as it will be replaced in the next few steps. Don't install the software on the CD that comes with the device.

  • Download the latest version of Zadig. You will need to use 7zip to extract it from the .7z file.
  • Run the Zadig.exe file and you should see the following with an empty list.

  • Click on Options and select “List All Devices”.

  • Choose the one that says “Bulk-In, Interface (Interface 0)”. This should be the primary endpoint of your RTL device.

  • In the box to the right of the green arrow make sure “WinUSB” is chosen - not libusb or libusbk. The big button underneath will say “Replace Driver” or “Reinstall Driver”. Before you proceed make sure the USBID matches the VID/PID in the hardware table.

Note that if you insert the dongle into a different USB port you may have to use Zadig again. It seems that you can change which driver is loaded depending on the USB port used. So you could use one USB port for RTLSDR and another port for using the dongle to watch DVB-T with the supplied Windows application.

SDR#

  • Download the latest development version of SDR#.
  • Unzip it to a folder - you don't need to run an installer which is nice for a change.

As of development version 515 the RTLSDR libraries are no longer included because of open source license conflicts. This isn't a big issue to fuss about and it's easy to resolve.

  • Download the pre-built Windows Zipfile RTLSDR binaries and libraries from Osmocom.
  • From the zipfile directory RelWithDebInfo.zip\rtl-sdr-release\x32\ copy rtlsdr.dll and libusb-1.0.dll to the directory SDR# is unzipped to.
  • Open the file SDRSharp.exe.Config in a text editor.
  • Scroll down to the line that looks like
    <!-- <add key="RTL-SDR / USB" value="SDRSharp.RTLSDR.RtlSdrIO,SDRSharp.RTLSDR" /> -->

    and remove the leading <!– and trailing –> so that it looks like

    <add key="RTL-SDR / USB" value="SDRSharp.RTLSDR.RtlSdrIO,SDRSharp.RTLSDR" />

    and save the file.

  • Download the SDR# RTL Plugin and copy the contents contents of the zip file to the SDR# directory.
  • Run SDRSharp.exe and you should see the following window.

  • To get started set the following:
  1. Set Radio to WFM (wideband FM)
  2. Set the centre frequency to (88,000,000) This is 88MHz, the start of the FM radio band in most countries.
  3. Set the 'Front End' type from 'Other' to 'RTLSDR / USB'
  4. If all is working the 'Front End' button should go from grey text to black text.
  5. Click on Play.

You should now see an orange waterfall display in the bottom half and a dancing blue spectrum in the top half. By clicking and dragging on the blue spectrum you can conveniently change the frequency. In the example below I have dragged the spectrum and centred on an FM station. All going well you should hear the audio coming out of the PC speaker.

RTLSDR TCP and SDR#

The Osmocom RTLSDR utilities include the program rtl_tcp. This allows you to run the dongle on one PC (be it Windows or Linux) or an embedded ARM/MIPS board and pump the ADC data over a TCP connection to another computer running a compatible client such as SDR#. A guide to starting rtl_tcp is here. In SDR# use the frontend called RTLSDR / TCP and configure the host IP address that the rtl_tcp server is running on. The localhost address 127.0.0.1 works too if the dongle is on the same machine as SDR# and for some reason you don't want to use RTLSDR / USB.

Support

For more information have a look at the short guide on the SDR# site for more information. Also join in the lively discussion on IRC at Freenode on the channels '#sdrsharp' and '##rtlsdr' (two #'s).

softwarewindows.1343778251.txt.gz · Last modified: 2012/08/01 01:44 by roklobsta