rtlsdr-wsprd/README.md

86 wiersze
3.4 KiB
Markdown
Czysty Zwykły widok Historia

2016-06-11 21:34:36 +00:00
# rtlsdr-wsprd -- WSPR daemon for RTL receivers
2021-12-05 00:04:53 +00:00
![rtlsdr-wsprd](art/rtlsdr-wsprd-web.jpg)
2021-12-04 23:59:34 +00:00
![Workflow Status](https://img.shields.io/github/workflow/status/Guenael/rtlsdr-wsprd/CI)
![Last commit](https://img.shields.io/github/last-commit/Guenael/rtlsdr-wsprd)
![Commit activity](https://img.shields.io/github/commit-activity/m/Guenael/rtlsdr-wsprd)
2021-12-05 00:04:53 +00:00
![Repo stars](https://img.shields.io/github/stars/Guenael/rtlsdr-wsprd?style=social)
2021-12-04 23:59:34 +00:00
2021-12-04 21:40:49 +00:00
## TL;DR
2021-12-05 02:36:16 +00:00
This project aim at decoding WSPR signals using an RTL device, usually connected to a Raspberry Pi.
To install and use your dongle on a Raspberry Pi with a Rasberian OS:
2021-12-04 21:40:49 +00:00
```
2021-12-05 01:01:03 +00:00
sudo apt-get -y install build-essential clang cmake libfftw3-dev libusb-1.0-0-dev librtlsdr-dev libcurl4-gnutls-dev
2021-12-04 21:40:49 +00:00
git clone https://github.com/Guenael/rtlsdr-wsprd
cd rtlsdr-wsprd
make
make install
rtlsdr_wsprd -f 2m -c A1XYZ -l AB12cd -g 29
```
2021-12-04 21:40:49 +00:00
## Overview
2016-06-11 21:34:36 +00:00
2021-12-04 22:47:07 +00:00
This non-interactive application allows automatic reporting of WSPR spots on WSPRnet. The initial idea was to allow a small computer like a Raspberry Pi and a RTL-SDR device to send WSPR reports for VHF/UHF bands. This kind of lightweight setup could run continuously without maintenance and help to get additional propagation reports. The code is massively based on Steven Franke (K9AN) implementation of Joe Taylor (K1JT) publication and work.
2016-06-11 21:34:36 +00:00
2021-12-04 21:40:49 +00:00
This application written in C does:
2021-12-04 21:40:49 +00:00
- A time alignment (2 mins, required NTPd to run on the OS)
2016-06-11 21:34:36 +00:00
- Start the reception using the RTL lib
- Decimate the IQ data (2.4Msps to 375 sps)
- Decode WSPR signal
- Push the spots on WSPRnet
2021-12-04 21:40:49 +00:00
- Repeat, again and again...
2016-06-11 21:34:36 +00:00
## Installation
2021-12-04 21:40:49 +00:00
2021-11-30 23:46:40 +00:00
1. Install a Linux compatible distro on your device (ex. Raspbian for RaspberryPi)
2021-12-04 21:40:49 +00:00
1. Install dependencies & useful tools (for example, NTP for time synchronization). Example with a Debian based like Raspbian:
```
2021-12-05 01:01:03 +00:00
sudo apt-get -y install build-essential clang cmake libfftw3-dev libusb-1.0-0-dev librtlsdr-dev libcurl4-gnutls-dev
2021-12-04 21:40:49 +00:00
```
1. Clone this repository:
```
git clone https://github.com/Guenael/rtlsdr-wsprd
```
1. Build the application:
```
cd rtlsdr-wsprd
make
make install
```
1. Start the application with your right parameters, ex. for the 2m band, with a fake callsign (A1XYZ):
```
2021-12-04 21:40:49 +00:00
rtlsdr_wsprd -f 2m -c A1XYZ -l AB12cd -g 29
```
## Tips (for your Raspberry Pi and SDR dongles)
2021-12-04 21:40:49 +00:00
- Use ferrite bead on the USB cable to limit the QRN
- Use an external clean power supply
- Cut off the display (could help to reduce QRN)
```
/opt/vc/bin/tvservice -o
2021-12-04 21:40:49 +00:00
```
- Remove unused modules (for example, /etc/modules: #snd-bcm2835)
2021-12-04 22:47:07 +00:00
- Use an enclosure, and ground it
2021-12-04 21:40:49 +00:00
2021-12-04 21:40:49 +00:00
## Crystal stability
2021-12-04 21:40:49 +00:00
Most of RTL dongles use a cheap crystal, and frequency drift can effect the decoding & performance. The use of no-name RTL dongle for VHF/UHF bands usually require crystal modification, for a better one. External clock could be also used, like GPSDO or rubidium reference clock, aligned on 28.8MHz.
Some manufacturers intergrate a 0.5ppm TCXO. It's the best second option, after an external clock. Based on my personal experience:
2021-12-04 21:40:49 +00:00
- NooElec NESDR SMART : Works fine out of the box
- RTL-SDR Blog 1PPM TCXO : Works with some drift, require additional mass, or a better enclosure
- Other no-name like : RT820, E4000, FC0012, FC0013, can work, but require modification and drift a lot
Ex: NooElec NESDR SMArt - Premium RTL-SDR w/ Aluminum Enclosure, 0.5PPM TCXO
2021-12-05 01:01:03 +00:00
2021-12-04 21:40:49 +00:00
https://www.nooelec.com/store/nesdr-smart.html