Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

Spectrogram (80MHz bandwidth) accelerator for LimeSDR

Project description

# Spectrogram (80MHz bandwidth) with LimeSDR and GQRX

![Bluetooth GIF]( "Demo")

![Block diagram]( "Diagram")

## Install

This application comes in a docker image (Linux PC/ARM architectures).
Bootstrapping the image is handled by the ``spectrogram`` executable (```pip install spectrogram```).

_**Note:** Use pip3 on Rasbian. Also, Rasbian fails to add the executable to PATH, use ```/home/pi/.local/bin/spectrogram```_

## Local usage

Invoking ```spectrogram``` does following:
1. If needed, programs the local LimeSDR-Mini with proper FPGA image ( restore with ``spectogram --fpga_restore``)
2. Starts the local 'SoapySDR-Remote' server
3. Starts GQRX for spectrogram display

_**Warning:** You should cool your LimeSDR-Mini, especially the FPGA. It takes 2.5 minutes for FPGA temperature to rise from 30C to 80C, after which you risk damage!_

_**Note:** Works on RaspberryPi!

## Remote usage

You want to pair your LimeSDR-Mini with RaspberryPi. On the Pi, execute ```spectrogram --server_only```.
Now, on the monitoring device, execute ```spectrogram```. GQRX will start, if the Pi is visible to the monitoring device.

_**Note:** Network bandwidth is around 1 MB/s._

_**Note:** [LimeNet-Micro]( is ideal for remote applications - it has LimeSDR, RaspberryPi and power-over-ethernet on single board. Work in progress ([#9](

### Accuracy vs floating-point model

This is a fixed-point accelerator, accuracy against the floating-point model has been verified.

![fix vs float accuracy](


### How is 512 point FFT comparable to 131k FFT??
It's about how many samples are averaged. 131k FFT averages 131k samples - same can be achieved with 512 point FFT and averaging 256 results i.e. 512*256 = 131k.

![132k FFT vs 512 + averaging](

In general you lose ~3dB dynamic range. Also, 512 point FFT is much worse at detecting narrow spectral peaks - this could be considered a feature or a bug, depending on the application.

### Cooling solutions

#### No cooling

![No cooling](

Took 5 minutes to go from cold to critical FPGA temperature. You will risk damaging your board!

#### Heat-sink on FPGA

![FPGA sinked](

Temperature is stable at ~65C after 10 minutes.

#### Heat-sink everything

![Massive sink](

Temperature is stable at ~54C after 20 minutes.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for spectrogram, version 1.0.5
Filename, size File type Python version Upload date Hashes
Filename, size spectrogram-1.0.5.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page