1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/spectrum-scanner/tools
smlng b1cfc4844c spektrum-scanner: fix plot_rssi.py script
Adapt python script to comply with python coding conventions, i.e.
fixing error reported by flake8.
2018-10-08 16:30:26 +02:00
..
example.png spectrum-scanner: Application for radio ED scanning 2017-10-23 10:06:19 +02:00
plot_rssi.py spektrum-scanner: fix plot_rssi.py script 2018-10-08 16:30:26 +02:00
README.md spectrum-scanner: Application for radio ED scanning 2017-10-23 10:06:19 +02:00

RIOT Spectrum Scanner Application

About

This script can be used to plot the radio signal spectrum when a connected node is running the spectrum-scanner application application located in the parent directory. This node scans over the available radio channels performing CCA measurements and outputting the measured ED level via a serial port. This output is then parsed by the plot_rssi.py script included in this folder run on a host computer.

Dependencies

The plot_rssi.py script requires pyserial for the serial port access, and matplotlib and numpy for the plotting functionality.

Installing the dependencies:

Debian/Ubuntu

apt-get install python-serial python-matplotlib python-numpy

PIP

pip install pyserial matplotlib numpy

Usage

General usage:

  1. Flash a RIOT node with the spectrum-scanner application from (https://github.com/RIOT-OS/applications/tree/master/spectrum-scanner)

  2. Run the plot_rssi.py script

$ ./plot_rssi.py <tty> -b <baudrate>

Examples

Example screenshot