decoder for radiosonde RS41, RS92, DFM06/09/17, M10/M20, and MP3H based on a TTGO LoRa ESP32 board.
 
 
 
 
 
 
Go to file
Hans P. Reiser ca3fa52a3b v0.5: merging modifications from devel branch
- DL2MF's commits
 - WiFi connection in background

Squashed commit of the following:

commit 5c37b3f0fa
Author: Hans P. Reiser <hr@sec.uni-passau.de>
Date:   Sun Apr 28 14:17:52 2019 +0200

    version from config.h also for html page; minor polishing

commit 9fea636d20
Author: Hans P. Reiser <hr@sec.uni-passau.de>
Date:   Sun Apr 28 14:17:37 2019 +0200

    version from config.h also for html page; minor polishing

commit 75eb15cc24
Author: Hans P. Reiser <hr@sec.uni-passau.de>
Date:   Sun Apr 28 13:29:58 2019 +0200

    version info in version.h, some code formatting (arduino style)

commit 8da577a313
Author: Hans P. Reiser <hr@sec.uni-passau.de>
Date:   Sun Apr 28 13:29:53 2019 +0200

    version info in version.h, some code formatting (arduino style)

commit b68ffee8b0
Author: Mike <mail@dl2mf.de>
Date:   Sat Apr 27 20:54:20 2019 +0200

    merging DL2MF's 71cc86cff0

commit c67a4fc734
Author: DL2MF <meinhard.guenther@gmail.com>
Date:   Sat Apr 27 00:10:11 2019 +0200

    merging DL2MF's e2161c57d1

commit 6e665cb6ab
Author: DL2MF <meinhard.guenther@gmail.com>
Date:   Fri Apr 26 19:21:11 2019 +0200

    merging DL2MF's 25b438db84 to current devel branch

commit b467f25c05
Author: Hans P. Reiser <hr@sec.uni-passau.de>
Date:   Fri Apr 26 23:54:36 2019 +0200

    working new Wifi support

commit 2959dfad4f
Author: Hans P. Reiser <hr@sec.uni-passau.de>
Date:   Fri Apr 26 23:09:09 2019 +0200

    background wifi scan/connected/reconnect. partial code, incomplete, for testing station mode only (wifi=1)
2019-04-28 14:33:53 +02:00
Licenses
RX_FSK
libraries
.gitignore
README.md
Setup.md

README.md

RDZ_TTGO_SONDE

This a simple, experimental, not (well) tested, and incomplete decoder for radiosonde RS41 and DFM06/09 on a TTGO LoRa ESP32 with OLED display board.

There have been made some additions for TTGO LoRa ESP32 with only RST button. Please check also your OLED port settings, both versions use different ports. You can setup the depending ports in config.txt, OLED Setup is depending on hardware of LoRa board

  • TTGO v1: SDA=4 SCL=15, RST=16
  • TTGO v2: SDA=21 SCL=22, RST=16

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)

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 for RS41, a bit less for DMF06/09. 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 (.) A DOUBLE press will switch to scanning mode. A SHORT press will switch to the next channel in channels.txt

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