sdr-examples
sdr-examples copied to clipboard
Examples of software defined radio code. [RTLSDR]
sdr-examples
Examples of software defined radio code. Stuff I write while I mess around with rtl-sdr.
I have some limited experience with audio-range DSP, but this is pretty much a new area for me. I've had trouble finding examples of SDR code that is accessible to someone who's just starting to understand the relevant theory. In fact, finding which theoretical concepts I should read about has been more difficult than it should be. This is my attempt at improving things. The software is intended to be as simple as possible, which probably means its performance will be lacking. The 80-20 rule applies.
A note on GNU Radio
I've found GNU Radio (with GR Companion) most helpful to understand high level theory (eg. how do I receive analog FM?). However, just linking ready-made blocks doesn't really allow you to understand how DSP actually works. As such, software in this repository doesn't use GNU Radio.
Repository structure
The top level directory contains a library providing common DSP functionality (eg. filters). This document contains some pointers to theory relevant for SDR development. Specific example applications reside in subdirectories. Each example comes with some data dumps that can be used instead of rtl-sdr hardware.
Relevant theory
- DSP page on Wikipedia - read up on sampling, time and frequency domains
- Some stuff on Fourier analysis(PDF) - focused on audio applications, but I've found it more accessible than the stuff on Wikipedia.
- Quadrature signals(PDF) - thorough explanation of quadrature signals
- NI page on I/Q data - the data we get from SDRs is in the form of I/Q samples
- Wikipedia page on digital filters
You don't need to remember everything, but at the very least you should have some idea about this stuff before you try to understand the software.