This a simple, experimental decoder for radiosonde RS41, RS92, DFM06/09/17 and M10/M20 on a TTGO LoRa ESP32 board with either a OLED or extern TFT display.
Please consult the Wiki at https://github.com/dl9rdz/rdz_ttgo_sonde/wiki/Supported-boards for details on supported boardsi, and additional setup instructions.
You can use the button on the board (not the reset button, the second one) to issue some commands. The software distinguishes between several inputs:
- SHORT Short button press (<1.5 seconds)
- DOUBLE Short button press, followed by another button press within 0.5 seconds
- MID Medium-length button press (2-4 seconds)
- LONG Long button press (>5 seconds)
You can optionally use a second button, which you have to add manually to your board. See https://github.com/dl9rdz/rdz_ttgo_sonde/wiki/Hardware-configuration for details.
On startup, as well as after a LONG button press, the WiFI configuration will be started. The board will scan available WiFi networks, if the scan results contains a WiFi network configured with ID and Password in networks.txt, it will connect to that network in station mode. If no known network is found, or the connection does not suceed after 5 seconds, it instead starts in access point mode. In both cases, the ESP32's IP address will be shown in tiny letters in the bottom line. Then the board will switch to scanning mode.
In the scanning mode, the board will iterate over all channels configured in channels.txt, trying to decode a radio sonde on each channel for about 1 second. If a valid signal is found, the board switches to receiving mode on that channel. A SHORT buttong press will also switch to receiving mode.
In receiving mode, a single frequency will be decoded, and sonde info (ID, GPS coordinates, RSSI) will be displayed. The bar above the IP address indicates, for the last 18 frames, if reception was successfull (|) or failed (.), or had some errors (E), e.g., CRC check failed.
A DOUBLE press will switch to scanning mode.
A SHORT press will switch to the next channel in channels.txt
A SHORT press on the second button will switch to a different display screen.
A medium press will active scan the whole band (400..406 MHz) and display a spectrum diagram (each line == 50 kHz) For TTGO boards without configurable button there are some new parameter in config.txt:
- spectrum=10 // 0=off / 1-99 number of seconds to show spectrum after restart
- timer=1 // 0=off / 1= show spectrum countdown timer in spectrum display
- marker=1 // 0=off / 1= show channel edge freq in spectrum display
see Setup.md