Multiband WSPR transceiver
Some interesting links on the Weak Signal Propagation Reporter (WSPR) protocol:
This project implements a standalone multiband WSPR transceiver with all the WSPR signal processing done by STEMlab SDR in the following way:
- simultaneously record WPSR signals from sixteen bands
- use FPGA for all the conversions needed to produce .c2 files (complex 32-bit floating-point data at 375 samples per second)
- use on-board CPU to process the .c2 files with the WSPR decoder
- upload decoded data to wsprnet.org
With this configuration, it is enough to connect STEMlab SDR to an antenna and to a network. After switching STEMlab SDR on, it will automatically start operating as a WSPR receiver.
The transmitter part is disabled by default and should be enabled manually.
The FPGA configuration consists of sixteen identical digital down-converters (DDC). Their structure is shown on the following diagram:
The DDC output contains complex 32-bit floating-point data at 375 samples per second and is directly compatible with the WSPR decoder.
The projects/sdr_transceiver_wspr_122_88 directory contains three Tcl files: block_design.tcl, rx.tcl and tx.tcl. The code in these files instantiates, configures and interconnects all the needed IP cores.
The write-c2-files.c program accumulates 42000 samples at 375 samples per second for each of the sixteen bands and saves the samples to sixteen .c2 files.
The recorded .c2 files are processed with the WSPR decoder.
The transmit-wspr-message.c program transmits WSPR messages.
A GPS module can be used for the time synchronization and for the automatic measurement and correction of the frequency deviation.
The measurement and correction of the frequency deviation is disabled by default and should be enabled by uncommenting the following line in wspr.cron:
- Download SD card image zip file (more details about the SD card image can be found at this link).
- Copy the contents of the SD card image zip file to a micro SD card.
- Optionally, to start the application automatically at boot time, copy its
apps/sdr_transceiver_wspr_122_88to the topmost directory on the SD card.
- Install the micro SD card in the STEMlab SDR board and connect the power.
Configuring WSPR receiver
By default, the uploads to wsprnet.org are disabled and all the decoded data are accumulated in
All the configuration files and scripts can be found in the
apps/sdr_transceiver_wspr_122_88 directory on the SD card.
To enable uploads, the
GRID variables should be specified in decode-wspr.sh. These variables should be set to the call sign of the receiving station and its 6-character Maidenhead grid locator.
The frequency correction ppm value can be adjusted by editing the corr parameter in write-c2-files.cfg.
The bands list in write-c2-files.cfg contains all the WSPR frequencies. They can be enabled or disabled by uncommenting or by commenting the corresponding lines.
Configuring WSPR transmitter
The WSPR message, transmit frequency and frequency ppm value can be adjusted by editing transmit-wspr-message.cfg.
Building from source
The installation of the development machine is described at this link.
The structure of the source code and of the development chain is described at this link.
Setting up the Vitis and Vivado environment:
Cloning the source code repository:
Building SD card image zip file: