Developing Your Own SDR Applications With Python
[Max-Felix Müller] wanted to develop his own SDR application with the goal of learning python and a bit about signals processing. To accomplish this goal he’s using [pyrtlsdr] a library which wraps many of the functions from the [rtlsdr-dev] library into a Pythonic set of functions that you can use to develop SDR applications for an RTL based SDR in python. Over on Hackaday.io Max-Felix has been writing about his Python RTL-SDR experiments and has been uploading sample code for anyone to take a look at and learn from.
Using the library is pretty simple as it handles the basics of setting up the frequency and PPM settings as well as gain and proceeds to tunnel samples into your application. Max-Felix’s examples take us from the very first steps of setting up the dongle and gathering samples, to plotting the spectrum and creating a waterfall. This generally entails the use of another python library known as [matplotlib] and [numpy], which together you can use to create your own FFT.
It is nearly limitless what you can do with a little bit of Python and a few libraries given enough development time and you don’t need to be a software developing master to get started. You may be interested in taking a look at [PLSDR] which we covered in a previous article where [P. Lutus] developed his own SDR application completely in Python. It’s open-source so feel free to take a look and learn more about how you can implement amazing things with just a little bit of code.