RaspberryPi WSPR Beacon – WsprryPi

The inspiration to purchase a RaspberryPi originally came from reading an article about turning it into a simple HF WSPR beacon. The device will output around 10 milliwatts directly from the GPIO4 pin and once connected to antenna will transmit away!.

The first step was to build a simple band pass filter, i choose 30m/10Mhz as my WSPR band of choice as it should provide a good Australian coverage with the occasional overseas spot, if I’m lucky.

I ordered a filter form the US and once it arrived set about building the filter, it took a number of weeks of “spare time” as i really wasn’t in a rush, with focus, the process should take much less than 1hr!. Once I had the filter built, i realised i would need some way of connecting it, so another delay occurred while Mr eBay delivered some PCB mount SMA connectors.

The filter then sat on the desk for a while as i got distracted by other things with the Pi such as my weather station. However, on the weekend I finally managed to align all the ducks and made the WSPR beacon a reality.

IMG_2193 IMG_2195IMG_2159 IMG_2153

 I choose the code from https://github.com/JamesP6000/WsprryPi after having a read of the 3-4 versions that seem to exist, i liked the idea of the constantly recalibrating reference using the a NTP time reference mechanism and used a base install of Raspbian to generate the SD card to drive it. The install was straight forward, following the instructions provided at the Github link and once connected to the antenna, in no time at all I was transmitting away using the below command.

pi@raspberrypi ~ $ sudo wspr --self-calibration --repeat VK3BQ QF22 5 30m

the –self-calibration command Call’s ntp_adjtime() before every transmission to obtain the PPM error of the crystal to ensure you are transmitting on the correct (or near enough) frequency, the –repeat command transmits every 2 minute block forever, your call sign and grid reference for the spot, the “5” is the power in dBm, I’ve assumed ~5 Milliwatts based on my connection loss, its transmitting somewhere less than 10 Milliwatts, the 30m refers to 10Mhz, and uses the pre set frequency for 30m, you can enter a direct desired frequency instead of the generic 30m band (or your band of choice) all this is better explained in the github source page.

The application uses around 20% of the pi CPU, and is drawing around 800mAh@5v on transmit. The Pi is around 50 degrees with the application running, its been pretty stable, though sometimes does seem to need a power cycle to encourage it to transmit again.


So, how does it work, below is a table of my current spots, i have generic east coast australian coverage, no overseas stations yet, but ill let it run and maybe one day will manage a spot! Maybe as the season progresses and propagation improves. Im also contemplating purchasing a 14Mhz/20m filter to try that band. Im impressed with how well less than 10 Milliwatts into some wire performs.

Timestamp Call MHz SNR Drift Grid Pwr Reporter RGrid km az
 2014-08-09 22:38  VK3BQ  10.140185  -23  0  QF22nc  0.005  VK2FAK  QF56kc  682  51
 2014-08-08 23:30  VK3BQ  10.140240  -23  0  QF22nc  0.005  VK2DDI  QF55hf  603  56
 2014-08-07 23:28  VK3BQ  10.140246  -25  0  QF22nc  0.005  VK7ZL  QE37pd  581  162
 2014-08-07 23:22  VK3BQ  10.140172  -23  0  QF22nc  0.005  VK7TW  QE37pc  585  162
 2014-08-07 22:28  VK3BQ  10.140137  -23  0  QF22nc  0.005  VK4REX  QG63le  1434  33
 2014-08-07 22:06  VK3BQ  10.140190  -26  0  QF22nc  0.005  VK5ZEA  PF75wg  900  290
 2014-08-07 21:44  VK3BQ  10.140259  -27  0  QF22nc  0.005  VK2CCJ  QF56ma  688  52
 2014-08-07 13:52  VK3BQ  10.140106  -23  0  QF22nc  0.005  VK5MR  PF96lh  727  308

3 thoughts on “RaspberryPi WSPR Beacon – WsprryPi

  1. Pingback: Raspberry pi Zero used as a 30 metre Wspr Transmitter | Loughton & Epping Forest ARS

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.