Giter Site home page Giter Site logo

lark-sw's Introduction

Lark Software Part

Description

Project Lark is a variometer sensor component for glider pilots. Lark is an affordable built-in device that measures climb/sink, airspeed and baro altitude and feeds these data to a glide computer running on external smart phone or tablet.

The Lark HW & SW forms a device that physically connects to pitot-static system and compensated Total Energy pressure tube, continuously measures pressure in two absolute and one differential channels, computes total energy, airspeed and baro altitude and feeds data to an external glide computer over a WiFi connection. Lark also synthesizes and produces audio output (vario beeping), using built-in speaker.

The software design, connectivity to XCSoar and computations are heavily inspired by OpenVario project (http://openvario.org/) and I am re-using certain portions of the code. Currently XCSoar (https://www.xcsoar.org/) with OpenVario protocol is supported with the code taken from OpenVario.

See Big Picture: lark-bigpic

Software internals are build on ESP32 framework ESP-IDF.

Existing & planned components:

  • MS5611 - taken from Crazyflie-Firmware, more rigorous rewrite pending.
  • Audio Synthesis - inspired by OpenVario, but rewritten for ESP32 that has lower FPU performance and could not support the original waveshape synthesis computation.
  • Network connectivity - works with TE, airspeed & baro altitude TBD.
  • TE vario computation - Taken from OpenVario, ported for FreeRTOS timing with ESP32 hi-res timer.
  • Airspeed computation - TBD
  • Controls - currently the HW prototype has one button for mute/unmute.
  • Glider settings for STF - TBD.
  • STF commander - TBD :-)

Connecting XCSoar to Lark

  • Turn off "Smart WiFi" on your phone
  • Connect your smart phone / tablet to Lark AP, SSID: lark-vario, no password
  • Accept the warning about a connection without Internet (and stay connected)
  • Go to Config -> Devices
  • Add a new device: Port: TCP client, IP address: 192.168.4.1, TCP port: 4353, Driver: OpenVario
  • The OpenVario Lark device has to be in the first position in the device list
  • The Lark should connect at this point & monitoring shows NMEA sentences flowing from Lark

Hardware

lark-sw's People

Contributors

tmshlvck avatar

Watchers

 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.