Coder Social home page Coder Social logo

rdz_ttgo_sonde's Introduction

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.

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)

Setup

Download https://github.com/me-no-dev/ESPAsyncWebServer/archive/master.zip and move to your Arduino IDE's libraries directory Rename to (name without "-master")

Download https://github.com/me-no-dev/AsyncTCP/archive/master.zip and move to your Arduino IDE's libraries directory Rename to (name without "-master")

Install Arduino ESP32 file system uploader https://randomnerdtutorials.com/install-esp32-filesystem-uploader-arduino-ide/ Download https://github.com/me-no-dev/arduino-esp32fs-plugin/releases/download/1.0/ESP32FS-1.0.zip Move to your Arduino IDE's tools directory

rdz_ttgo_sonde's People

Contributors

hr-upa avatar dl9rdz avatar dl2mf avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.