The Basic Components

The following 2 tables highlight the basic hardware components necessary to get started and software libraries that need to be installed on a clean Raspberry Pi OS. Hardware and Software components marked with an asterisk only need to be installed if synchronization with optional hardware components such as the WR-LEN is desired. Note that the antenna selection depends on the the specific frequency to be monitored.

HARDWARE DESCRIPTION
Raspberry-pi-4 Model-b-8gb Computer for RFNS subsystem
SD cards R-Pi storage
USRP B200-mini Software defined radio (SMA)
VERT 2450 / 900 Antenna
Power Bank Battery to power individual R-Pis
SMA male to female connector To protect the SDR’s antenna port
WR-LEN* White Rabbit Lite Embedded Node - used for sensor synchronization and network connectivity
SOFTWARE DESCRIPTION
Raspberry Pi OS RPi operating system
Raspberry Pi Imager Creates bootable USB media for RPi OS setup
UHD USRP drivers and Python API
msmtp and msmtp-mta SMTP client
mailutils General Purpose Mail Package
watchdog Python API to monitor file system events
logging Python utility to track events
tkinter Python interface to the Tcl/Tk GUI toolkit
pexpect Python module for spawning child applications (Linux only)
python-dateutil Extension to the standard datetime module
python-crontab Crontab API for Python
numpy Python support for large arrays
python-crontab Python module for reading and writing crontab files
py7slib* Python 2 library to connect to WR-LENs
wr_c_m* Code used to control and monitor WR-LENs

The Testbed Setup

Following the steps outlined below will create a single RF survey node and only needs to be run once for the initial setup and base configuration. Subsequent nodes can be created by following these instructions to copy the base configuration and recreate it with Docker and Ansible.

Building the Raspberry Pi

Assemble the Raspberry Pi 4 (RPi) hardware. Due to known heat issues in this series, make sure to use an appropriate heat sink. While passive heat sinks can be sufficient, active heat sinks have shown to lower operating temperatures considerably.

Download the Raspberry Pi OS from here. Some minimal performance gains can be achieved by choosing a headless system (Lite version), but it is not essential and up to the specific use case whether the headless or GUI version is selected.

The RF survey software was developed using Raspberry Pi OS version 10, buster from 04/04/22, but has also been tested with version 11, bullseye from 02/21/23. While the guide for version 11 works on version 10 as well, the guide for version 10 does not work on version 11.

<aside> 💡 The 32 bit Raspberry Pi OS will limit individual processes to using 3 GB of RAM while the OS has access to the full 8 GB.

</aside>

Raspberry Pi Imager

Raspberry Pi Imager