RS-tracker/rs41
Zilog80 966599197a rs41: rel. hum. v0.2 2019-04-09 21:52:26 +02:00
..
wav rs41 preamble 2015-08-03 15:45:10 +02:00
README.md rs41: readme update 2018-01-18 10:19:25 +01:00
rs41.c RS41: multiple aux data 2017-01-18 22:31:49 +01:00
rs41.txt GPS/UTC time 2018-07-19 13:40:23 +02:00
rs41ecc.c rs41: sample_count wrap-around 2017-06-05 13:32:38 +02:00
rs41iq.c rs41iq: freq offset sign 2019-01-30 23:45:15 +01:00
rs41ptu.c rs41: rel. hum. v0.2 2019-04-09 21:52:26 +02:00
rs41sg.c wav_header parameter global 2014-12-28 20:50:38 +01:00

README.md

Radiosonde RS41

Files

  • rs41ptu.c, RS/ecc/bch_ecc.c

Compile

(copy bch_ecc.c)
gcc rs41ptu.c -lm -o rs41ptu

Usage

./rs41ptu [options] <audio.wav>

  • <audio.wav>: FM-demodulated signal, recorded as wav audio file
  • options:
    -i: invert signal/polarity
    -b: alternative demod
    -r: output raw data
    -v, -vx, -vv: additional data/aux/info
    --ecc: Reed-Solomon error correction
    --crc: CRC blocks: 0-OK, 1-NO
    --sat: additional Sat data
    --ptu: temperature

./rs41ptu -h: list more options

Examples

FSK-demodulation is kept very simple. If the signal quality is low and (default) zero-crossing-demod is used, a lowpass filter is recommended:

  • sox 20170116_12Z.wav -t wav - lowpass 2800 2>/dev/null | ./rs41ptu --ecc --crc -vx

If timing/sync is not an issue, integrating the bit-samples (option -b) is better for error correction:

  • ./rs41ptu -b --ecc --crc -vx 20170116_12Z.wav

If the signal is inverted (depends on sdr-software and/or audio-card/settings), try option -i.

(cf. /RS/rs92)

older versions

  • rs41sg.c, rs41.c, rs41ecc.c