decoder for radiosonde RS41, RS92, DFM06/09/17, M10/M20, and MP3H based on a TTGO LoRa ESP32 board.
 
 
 
 
 
 
Go to file
Hansi, dl9rdz c03683efa2 Squashed commit of the following:
commit 925f066093
Author: Hansi, dl9rdz <dl9rdz@darc.de>
Date:   Sun Jan 23 23:30:59 2022 +0000

    sticking to 3.3.2 for now, as 3.4 causes some issues

commit f08bb2a032
Merge: 9140b52 d2e8631
Author: Hansi, dl9rdz <dl9rdz@darc.de>
Date:   Fri Jan 21 13:15:26 2022 +0000

    Merge remote-tracking branch 'refs/remotes/origin/devel' into devel

commit 9140b52b43
Author: Hansi, dl9rdz <dl9rdz@darc.de>
Date:   Fri Jan 21 13:15:07 2022 +0000

    reset DFM id after 30 minutes or >.25 lat/lon change

commit f7dc810f94
Author: Hansi, dl9rdz <dl9rdz@darc.de>
Date:   Fri Jan 21 11:59:39 2022 +0000

    RS41: send real type if available

commit d2e8631696
Author: Luke Prior <22492406+LukePrior@users.noreply.github.com>
Date:   Tue Jan 11 23:05:55 2022 +1100

    Remove RS92-NGP Support Note (#266)

commit 8d4ddd2fa4
Author: Luclu7 <luclu7@luclu7.fr>
Date:   Sat Dec 11 01:24:01 2021 +0100

    simply typo (#249)

commit 8ddf8fa595
Author: Hansi, dl9rdz <dl9rdz@darc.de>
Date:   Mon Nov 1 17:31:27 2021 +0100

    sh import last interval as double (for <1h)

commit e4df63e264
Author: Hansi, dl9rdz <dl9rdz@darc.de>
Date:   Mon Nov 1 14:22:49 2021 +0100

    fix sh import

commit 07859d7f70
Author: Hansi, dl9rdz <dl9rdz@darc.de>
Date:   Sat Oct 30 23:37:44 2021 +0200

    remove updated Setup.mp, better instructions are now in the wiki

commit f7b87b6ba5
Author: Hansi, dl9rdz <dl9rdz@darc.de>
Date:   Sat Oct 30 23:27:28 2021 +0200

    scan display for ILI934x

commit cf612659e1
Author: Hansi, dl9rdz <dl9rdz@darc.de>
Date:   Sat Oct 30 23:27:07 2021 +0200

    don't charge the battery using the battery :)

commit af32d576d6
Author: Hansi, dl9rdz <dl9rdz@darc.de>
Date:   Sat Oct 30 18:13:07 2021 +0200

    back to normal beacon frequency

commit 4279875358
Author: Hansi, dl9rdz <dl9rdz@darc.de>
Date:   Sat Oct 30 17:45:52 2021 +0200

    simplification

commit baec8fb8ea
Author: Hansi, dl9rdz <dl9rdz@darc.de>
Date:   Sat Oct 30 17:36:48 2021 +0200

    some better APRS for wettersonde.net support

commit 327bbca6e6
Author: Hansi, dl9rdz <dl9rdz@darc.de>
Date:   Sat Oct 30 17:14:42 2021 +0200

    some APRS for wettersonde.net support

commit beea3a7047
Author: Hansi, dl9rdz <dl9rdz@darc.de>
Date:   Sat Oct 30 13:50:32 2021 +0200

    test

commit 8a0c37e792
Author: Hansi, dl9rdz <dl9rdz@darc.de>
Date:   Sat Oct 30 12:02:51 2021 +0200

    version update

commit 87ea465123
Author: Hansi, dl9rdz <dl9rdz@darc.de>
Date:   Sat Oct 30 12:02:29 2021 +0200

    unused code lines removal

commit 0556b5ab1d
Author: Hansi, dl9rdz <dl9rdz@darc.de>
Date:   Sat Oct 30 11:59:33 2021 +0200

    arduino ide autoformat

commit a3b24a885d
Author: Hansi, dl9rdz <dl9rdz@darc.de>
Date:   Sat Oct 30 11:58:40 2021 +0200

    bugfix

commit c932c90910
Author: Hansi, dl9rdz <dl9rdz@darc.de>
Date:   Sat Oct 30 11:57:18 2021 +0200

    remove no longer used idformat config

commit 949ac6f75f
Author: Hansi, dl9rdz <dl9rdz@darc.de>
Date:   Sat Oct 30 11:51:12 2021 +0200

    ax25 aprs beacon; irq-less pmu button for m5stack

commit 7eb4291408
Author: Hansi, dl9rdz <dl9rdz@darc.de>
Date:   Sat Oct 30 11:26:19 2021 +0200

    make use of tx_frequency (issue #238)

commit c90381791d
Author: Hansi, dl9rdz <dl9rdz@darc.de>
Date:   Sun Oct 24 21:09:16 2021 +0200

    typo fix

commit ad96dd6023
Author: Luke Prior <22492406+LukePrior@users.noreply.github.com>
Date:   Sun Oct 24 08:32:33 2021 +1100

    Support dark mode fully in live map (#225)

    * Update style.css

    * dark mode map

    Co-authored-by: Uskompuf <22492406+Uskompuf@users.noreply.github.com>

commit 391135ba9d
Author: Hansi, dl9rdz <dl9rdz@darc.de>
Date:   Sat Oct 23 23:27:56 2021 +0200

    update screens5.txt

commit b5cbe1b676
Author: Hansi, dl9rdz <dl9rdz@darc.de>
Date:   Sat Oct 16 16:52:46 2021 +0200

    fix #224

commit ff5f4bfa24
Author: Hansi, dl9rdz <dl9rdz@darc.de>
Date:   Wed Oct 13 19:20:34 2021 +0200

    no sh location report without enabling sh reporting

commit 4e773944b1
Author: Luke Prior <22492406+LukePrior@users.noreply.github.com>
Date:   Mon Oct 11 07:00:34 2021 +1100

    Few more changes (#217)

commit e6a764b650
Author: Hansi, dl9rdz <dl9rdz@darc.de>
Date:   Sun Oct 10 21:39:21 2021 +0200

    correct launchsite display on oled

commit b4c0179ee6
Author: Hansi, dl9rdz <dl9rdz@darc.de>
Date:   Sun Oct 10 12:02:07 2021 +0200

    fix correct M20 id (missing terminator)

commit 97b3abc38f
Author: Hansi, dl9rdz <dl9rdz@darc.de>
Date:   Sat Oct 9 10:11:03 2021 +0200

    version update for dark mode enhancements

commit 6661da7f72
Merge: 4036214 04b95ef
Author: Hansi, dl9rdz <dl9rdz@darc.de>
Date:   Sat Oct 9 10:10:43 2021 +0200

    Merge branch 'LukePrior-patch-7' into devel

commit 04b95effba
Author: Luke Prior <22492406+LukePrior@users.noreply.github.com>
Date:   Sat Oct 9 19:07:15 2021 +1100

    CSS Dark Mode Improvements

commit 4036214ecd
Merge: 1dc548d 1a148b6
Author: Hansi, dl9rdz <dl9rdz@darc.de>
Date:   Thu Oct 7 21:53:07 2021 +0200

    Merge branch 'master' into devel
2022-01-23 23:33:36 +00:00
.github/ISSUE_TEMPLATE Squashed commit of the following: 2021-10-07 21:52:34 +02:00
.travis Squashed commit of the following: 2021-10-07 21:52:34 +02:00
Licenses Finally, a new master version v0.8 with a lots of changes in the devel version over several months, 2020-11-11 08:43:10 +01:00
RX_FSK Squashed commit of the following: 2022-01-23 23:33:36 +00:00
docs Squashed commit of the following: 2021-10-07 21:52:34 +02:00
scripts Squashed commit of the following: 2021-10-07 21:52:34 +02:00
.gitignore Squashed commit of the following: 2021-10-07 21:52:34 +02:00
.travis.yml Squashed commit of the following: 2021-10-07 21:52:34 +02:00
Notes-on-Using-WiFiClient.txt Squashed commit of the following: 2021-10-07 21:52:34 +02:00
README.md Squashed commit of the following: 2022-01-23 23:33:36 +00:00
_config.yml Set theme jekyll-theme-minimal 2019-04-28 15:05:13 +02:00
fontconverter Squashed commit of the following: 2021-10-07 21:52:34 +02:00
fontlink.ld Squashed commit of the following: 2021-10-07 21:52:34 +02:00
platformio.ini Squashed commit of the following: 2022-01-23 23:33:36 +00:00

README.md

rdzTTGOsonde

This a decoder for radiosonde RS41, RS92, DFM06/09/17, M10/M20, and MP3H based on a TTGO LoRa ESP32 board.

It supports OLED displays (SSD1306, SH1106) and TFT displays (ILI9225, ILI9341/9342).

It also supports feeding data to external applications using WiFi (NOT bluetooth):

  • Android app by dl9rdz (see https://github.com/dl9rdz/rdzwx-go for apk download)
  • AXUDP (for aprsmap application by oe5dxl, among others)
  • KISS TNC (aprs format, mainly useful for APRSdroid app)
  • MQTT
  • SondeHub tracker
  • Chasemapper UDP (experimental)

Please consult the Wiki at https://github.com/dl9rdz/rdz_ttgo_sonde/wiki/Supported-boards for details on supported boards, and additional setup instructions.

Radiosonde Support Matrix

Manufacturer Model Position Temperature Humidity Pressure
Vaisala RS92-SGP ✔️ ✔️
Vaisala RS41-SG/SGP/SGM ✔️ ✔️ ✔️ ✔️ (for -SGP)
Graw DFM06/09/17 ✔️ ✔️
Meteomodem M10 ✔️ ✔️ ✔️ Not Sent
Meteomodem M20 ✔️ Not Sent
Meteo-Radiy MP3-H1 (MRZ-H1) ✔️

SondeHub integration has mainly been tested with RS41 and DFM.

Support for other radiosondes that use AFSK modulation is not feasible with the TTGO hardware. In particular, decoding iMet-1/iMet-4 radiosondes is not practical (iMet-5x seems to use FSK, so should be feasible to implement).

Adding support for LMS6 (see issue #48) and ims100 (see branch ims100) could be feasible, but currently I don't have plans to do add this myself. Well-tested pull requests will of course be considered for inclusion :-).

Installation

You can download the latest binary automated build for the development and testing branches here, the binary includes everything including configuration files so any existing settings will be reset.

To update an existing installation to the latest development or master version you can use the OTA update feature.

The downloaded .bin file can be flashed to your ESP32 board using esptool or ESP32 Download Tool

esptool

You can run the following command replacing <filename.bin> with the path to the downloaded .bin file.

If you encounter errors with the device COM not automatically being detected replace /dev/cu.SLAB_USBtoUART with COM<X>.

esptool --chip esp32 --port /dev/cu.SLAB_USBtoUART --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0x1000 <filename.bin>

ESP32 Download Tool

The binary file can also be installed using the GUI application with the following settings.

Button commands

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.

Wireless configuration

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.

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.

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.

Spectrum mode

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

Setup

see Setup.md