1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/examples/spectrum-scanner/tools
2022-09-20 11:49:33 +02:00
..
example.png Move RIOT-applications into examples 2022-09-20 11:49:33 +02:00
plot_rssi.py Move RIOT-applications into examples 2022-09-20 11:49:33 +02:00
README.md Move RIOT-applications into examples 2022-09-20 11:49:33 +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