minimodem es un módem de audio FSK por software de propósito general para sistemas GNU/Linux, trabaja tanto como codificador o emisor como decodificador o receptor.
Minimodem es un programa de línea de comandos que decodifica (o genera) tonos de módem de audio a cualquier velocidad de transmisión especificada, utilizando diversos protocolos de trama. Funciona como un módem FSK de software de propósito general e incluye soporte para varios protocolos FSK estándar, como:
- Bell103
- Bell202
- RTTY
- TTY/TDD
- NOAA SAME
- identificador de llamadas.
Minimodem puede reproducir y capturar tonos de módem de audio en tiempo real a través del dispositivo de audio del sistema, o en modo por lotes mediante archivos de audio.
Lo vamos a utilizar para decodificar las transmisiones del sistema Tren-Tierra (UIC 751-3)
Instalacion
sudo apt update
sudo apt install rtl-sdr minimodem -y
Arrancar
Parar servicios y/o dockers
sudo docker stop ultrafeeder
Lanzar el programa
rtl_fm -f 447.750M -M fm -s 22050 -g 450 | minimodem --rx -M 1500 -S 2300 600
0: Realtek, RTL2838UHIDIR, SN: 00000001
Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Tuner gain set to 49.60 dB.
Tuned to 448003575 Hz.
Oversampling input by: 46x.
Oversampling output by: 1x.
Buffer size: 8.08ms
Exact sample rate is: 1014300.020041 Hz
Allocating 15 zero-copy buffers
Sampling at 1014300 S/s.
Output at 22050 Hz.
...
Errores
- No supported devices found.
- No está enchufado el SDR
- usb_claim_interface error -6 Failed to open rtlsdr device #0.
- bloquear posibles competidores del SDR
- echo "blacklist rtl28xxu" | sudo tee /etc/modprobe.d/blacklist-rtl.conf
- SDR ocupado, hay que matar procesos
- sudo killall -9 rtl_fm rtl_sdr kismet kismet_cap_rtl sdr_server 2>/dev/null
- usb_open error -4 Failed to open rtlsdr device #0.
- desConectar y conectar el SDR
- cb transfer status: 5, canceling..
- Bajar el muestreo y perfilarlo
- sudo rtl_fm -f 447.750M -M fm -s 22050 -r 24k -g 450 | minimodem --rx -M 1500 -S 2300 600
- sudo rtl_fm -f 447.750M -M fm -s 22050 -r 24k | minimodem --rx -M 1500 -S 2300 600
- sudo rtl_fm -f 447.750M -M fm -s 250k -r 22050 | minimodem --rx -M 1500 -S 2300 600
- sudo rtl_fm -s 250k -r 22050 -f 447.750M -M fm | minimodem --rx -M 1500 -S 2300 600
Ayuda
-t, --tx, --transmit, --write
-r, --rx, --receive, --read (default)
[options]
-a, --auto-carrier
-i, --inverted
-c, --confidence {min-confidence-threshold}
-l, --limit {max-confidence-search-limit}
-8, --ascii ASCII 8-N-1
-7, ASCII 7-N-1
-5, --baudot Baudot 5-N-1
-f, --file {filename.flac}
-b, --bandwidth {rx_bandwidth}
-v, --volume {amplitude or 'E'}
-M, --mark {mark_freq}
-S, --space {space_freq}
--startbits {n}
--stopbits {n.n}
--invert-start-stop
--sync-byte {0xXX}
-q, --quiet
-R, --samplerate {rate}
-V, --version
-A, --alsa[=plughw:X,Y]
--lut={tx_sin_table_len}
--float-samples
--rx-one
--benchmarks
--binary-output
--binary-raw {nbits}
--print-filter
--tx-carrier
{baudmode}
any_number_N Bell-like N bps --ascii
1200 Bell202 1200 bps --ascii
300 Bell103 300 bps --ascii
rtty RTTY 45.45 bps --baudot --stopbits=1.5
tdd TTY/TDD 45.45 bps --baudot --stopbits=2.0
same NOAA SAME 520.83 bps --sync-byte=0xAB ...
callerid Bell202 CID 1200 bps
uic{-train,-ground} UIC-751-3 Train/Ground 600 bps
No hay comentarios:
Publicar un comentario