Table des matières


RTL-SDR

Clef USB (DAB/DVB-T) basée sur le chip RTL2832U utilisée comme récepteur SDR.

DOCUMENTATION

Linux

Dépendances

Réception & Décodage ADS-B

OSMOCOM - Open Source MObile COMmunication

rtl_test

Permet de corriger la dérive en fréquence propre à chaque clef RTL-SDR.

$ rtl_test -p

Laisser tourner un certain temps jusqu'à ce que la valeur indiquée se stabilise. Ça sera le facteur de correction pour les applications utilisées avec la clef.

« RTL_433 » réception & décodage appareils sans fils bande ISM

COMMANDES

# EXAMPLES
$rtl_433 -p 76 -f 433.92M -f 434.1M -H 15 -C si
$rtl_433 -p 76 -f 433.9M -f 433.92M -f 433.94M -f 433.96M -f 433.98M -f 434M -f 434.02M -H 15 -C si -v

rtl_sdr



rtl_tcp

Serveur

$rtl_tcp -d 0 -a 127.0.0.1 -p 7355

Client

# Exemples de lecture du flux UDP
# Avec DSD : 
$ socat UDP-RECV:7355 - | ./dsd -i /dev/stdin

rtl_fm

Décoder les trames APRS

rtl_fm -f 144.8M -s 22050 -p 33 -g 43.9 [-l 125] -o 4 - | ./multimon-ng -t raw -A -a AFSK1200 -

Scanner le PMR446

rtl_fm -M fm -p 77 -f 446.00625M -f 446.01875M -f 446.03125M -f 446.04375M -f 446.05625M -f 446.06875M -f 446.08125M -f 446.09375M -f 446.10625M -f 446.11875M -f 446.13125M -f 446.14375M -f 446.15625M -f 446.16875M -f 446.18125M -f 446.19375M -s 12k -l 70 - | play -r 12k -t raw -e signed-integer -b 16 -c 1 -V1 -

Scanner la bande aviation

rtl_fm -f 118M:125M:25k -M am -l 350 | play -t raw -r 24k -es -b 16 -c 1 -V1 -

Radio FM (broadcast)

rtl_fm -W -f 89.1M | play -r 32k -t raw -e signed-integer -b 16 -c 1 -V1 -

Scanner

rtl_fm -N -E -f 144.0M:146.0:12.5k -s 12k -o 4 -g 49.2 -l 70 | play -r 12k -t raw -e signed-integer -b 16 -c 1 -V1 -

Décoder le POCSAG

Fréquences POCSAG en France :

rtl_fm -f 466.025M -M fm -s 22050 -g 11.5 -l 350 | multimon -t raw -a POCSAG1200 /dev/stdin

Enregistreurs audio avec VOX en console

SVAR https://github.com/Arkq/svar

Libs de développement à installer avant compilation :

  • libdssialsacompat-dev
  • libasound2-dev
  • libsndfile1-dev

REC

rec -c 1 recording.wav silence 1 5 2% 1 0:00:02 2%
rtl_fm -M fm -p 78 -f 145.5M -f 433.5M -l 500 -s 12k | sox -t raw -r 12k -e signed-integer -b 16 -c 1 - -p sinc 300-3k /tmp/recording.ogg silence -l 1 0.1 0.1% -1 2.0 0.1%

rtl_power

Outil de surveillance de bandes de fréquences. http://kmkeen.com/rtl-power/



rtl-GoPow

Créer des « heatmap » à partir des données CSV de rtl_power


rtl_eeprom



rtl_acars



➭ rtl_udp



➭ rtl-ais

SOURCE

https://github.com/dgiardini/rtl-ais

# Dependencies
sudo apt install -y librtlsdr-dev libusb-dev libpthread-workqueue-dev
# Get the source code:
$ git clone https://github.com/dgiardini/rtl-ais
$ # Change to the source dir
$ cd rtl-ais
$ make
$ # Test running the command
$ ./rtl_ais

Décodage Audio Numérique

P25, DMR, NXDN, D-STAR, MOTOTRBO

DSD : https://github.com/szechyjs/dsd

Créer un fichier fifo pour le flux rtl_fmdsd

mkfifo /tmp/rtl_to_dsd

Créer un fichier fifo pour le flux dsdaplay

mkfifo /tmp/dsd_to_aplay

Diriger le flux de rtl_fm vers le fichier fifo

rtl_sdr -f FREQ -s 48000 - > /tmp/rtl_to_dsd

Lire le fichier fifo avec dsd et écrire le résultat dans le fifo pour aplay

dsd -i /tmp/rtl_to_dsd -w /tmp/dsd_to_aplay

Lire le flux décodé

aplay -r 8000 -f S16_LE -t raw -c 1 < /tmp/dsd_to_aplay

Tout ça est un peu tordu. On peut essayer de sortir le flux audio de dsd sur un device PulseAudio.
Lister les ports PulseAudio :

dsd -a

Utiliser le port PulseAudio kivabien :

dsd -i /tmp/rtl_to_dsd -o pa:XX
# XX = numéro du « port » PulseAudio

GQRX + UDP STREAMING

DMR / APCO25 / C4FM

$ socat stdout udp-listen:7355 | padsp ./dsd -i-o /dev/dsp

POCSAG

nc -l -u 7355 | sox -t raw -esigned-integer -b16 -r 48000 - -esigned-integer -b16 -r 22050 -t raw - | multimon-ng -t raw -f auto -a SCOPE -a POCSAG512 -a POCSAG1200 -a POCSAG2400 -

KALIBRATE-RTL

Installation B, from source The software have not been maintained for some time but there are several forks and hayguen is used here.

Install some dependencies Bullseye/Buster/Stretch OS

$ sudo apt install librtlsdr-dev libtool libfftw3-dev

Stretch also add

$ sudo apt install m4 automake

then download

$ wget https://github.com/hayguen/kalibrate-rtl/archive/master.zip

and unzip the actual software

$ unzip master.zip && mv kalibrate-rtl-master kalibrate-rtl

Install/compile with (For Buster please check remark below !)

$ cd kalibrate-rtl
$ bash bootstrap
$ bash configure
$ make
$ sudo make install

Détails techniques

Sur le web...