sdrangel/plugins/samplesource/rtlsdr
f4exb aa5c6c59a5 Input core creation method implementation in all source plugins 2017-09-14 13:34:32 +02:00
..
CMakeLists.txt AM Modulator: added file input (basic) 2016-11-28 02:17:08 +01:00
readme.md RTLSDR: impemented RTLSDR AGC control 2017-07-23 16:57:13 +02:00
rtlsdr.pro MacOS(sierra) development environment. 2017-05-15 12:32:16 +02:00
rtlsdrgui.cpp Device source API: renamed input and output message queues getters to more meaningful names 2017-09-13 23:40:06 +02:00
rtlsdrgui.h RTLSDR input: moved FileRecord out of the GUI 2017-09-04 11:29:27 +02:00
rtlsdrgui.ui RTLSDR: impemented RTLSDR AGC control 2017-07-23 16:57:13 +02:00
rtlsdrinput.cpp Device source API: renamed input and output message queues getters to more meaningful names 2017-09-13 23:40:06 +02:00
rtlsdrinput.h RTLSDR input: moved FileRecord out of the GUI 2017-09-04 11:29:27 +02:00
rtlsdrplugin.cpp Input core creation method implementation in all source plugins 2017-09-14 13:34:32 +02:00
rtlsdrplugin.h Input core creation method implementation in all source plugins 2017-09-14 13:34:32 +02:00
rtlsdrsettings.cpp RTLSDR: impemented RTLSDR AGC control 2017-07-23 16:57:13 +02:00
rtlsdrsettings.h RTLSDR: impemented RTLSDR AGC control 2017-07-23 16:57:13 +02:00
rtlsdrthread.cpp RTL-SDR: refactoring: device open close moved in the constructor and destructor respectively of the input object 2017-04-13 01:21:25 +02:00
rtlsdrthread.h Tx ph.2: Templatized IntHalfbandFilter and improved coefficients. Changed to order 80 for upsamplers and 48 for downsamplers 2016-10-29 17:01:02 +02:00

readme.md

RTLSDR input plugin

Introduction

This input sample source plugin gets its samples from a RTLSDR device.

Build

The plugin will be built only if the RTLSDR host library is installed in your system. If you build it from source and install it in a custom location say: /opt/install/librtlsdr you will have to add -DLIBRTLSDR_INCLUDE_DIR=/opt/install/librtlsdr/include -DLIBRTLSDR_LIBRARIES=/opt/install/librtlsdr/lib/librtlsdr.so to the cmake command line.

If you want to benefit from the direct sampling you will have to compile and install this library else the RTLSDR library is also provided by many Linux distributions. The SDRangel binary releases are compiled with the direct sampling option.

Interface

RTLSDR input plugin GUI

1: Common stream parameters

SDR Daemon source input stream GUI

1.1: Frequency

This is the center frequency of reception in kHz.

1.2: Start/Stop

Device start / stop button.

  • Blue triangle icon: device is ready and can be started
  • Green square icon: device is running and can be stopped
  • Magenta (or pink) square icon: an error occured. In the case the device was accidentally disconnected you may click on the icon, plug back in and start again.

1.3: Record

Record baseband I/Q stream toggle button

1.4: Stream sample rate

Baseband I/Q sample rate in kS/s. This is the device sample rate (4) divided by the decimation factor (6).

2: Local Oscillator correction

This is the correction to be applied to the local oscillator in ppm.

3: Auto correction options

These buttons control the local DSP auto correction options:

  • DC: auto remove DC component
  • IQ: auto make I/Q balance

4: Baseband center frequency position relative the the BladeRF Rx center frequency

Possible values are:

  • Cen: the decimation operation takes place around the BladeRF Rx center frequency
  • Inf: the decimation operation takes place around the center of the lower half of the BladeRF Rx passband.
  • Sup: the decimation operation takes place around the center of the upper half of the BladeRF Rx passband.

5: Toggle low/high sample rate range

When button is on the sample rate can vary from 230 kS/s to 300 kS/s When button is off the sample rate can vary from 950 kS/s to 2400 kS/s

6: Device sample rate

This is the device sample rate in samples per second (S/s).

Use the wheels to adjust the sample rate. Left click on a digit sets the cursor position at this digit. Right click on a digit sets all digits on the right to zero. This effectively floors value at the digit position. Wheels are moved with the mousewheel while pointing at the wheel or by selecting the wheel with the left mouse click and using the keyboard arroews. Pressing shift simultanoeusly moves digit by 5 and pressing control moves it by 2.

7: Decimation factor

The I/Q stream from the RTLSDR ADC is doensampled by a power of two before being sent to the passband. Possible values are increasing powers of two: 1 (no decimation), 2, 4, 8, 16, 32.

8: Direct sampling mode

Use this checkbox to activate the special RTLSDR direct sampling. This can be used to tune to HF frequencies.

9: RF gain and AGC

The slider sets RF gain in dB. The values are defined in the RTLSDR device and generally are: 0.0, 0.9, 1.4, 2.7, 3.7, 7.7, 8.7, 12.5, 14.4, 15.7, 16.6, 19.7, 20.7, 22.9, 25.4, 28.0, 29.7, 32.8, 33.8, 36.4, 37.2, 38.6, 40.2, 42.1, 43.4, 43.9, 44.5, 48.0, 49.6

The AGC checkbox can be used to switch on or off the RTL2838 AGC. This is independent of the gain setting as this AGC acts after the gain block.