Coder Social home page Coder Social logo

openppg / eppg-controller Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zjwhitehead/eppg-controller

21.0 21.0 11.0 498 KB

Firmware for SP140 paramotor handheld controller

Home Page: https://openppg.com

License: Other

C++ 52.48% C 47.35% Python 0.17%
arduino drone esc flying paramotor rp2040 samd21

eppg-controller's People

Contributors

glydrfreak avatar zjwhitehead avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

eppg-controller's Issues

Add basic altitude logging

Would be nice to have an average flight altitude shown after landing.
Also store a running average "all time" average altitude to get a good idea of how you normally fly. Could reset it in the config tool.
Only log altitude if flight time counter is going, dont want to start until takeoff.

[CI] Add uf2 auto building

the .bin artifact is already saved in Github Actions but the .uf2 file is what the bootloader works easiest with.
May need to pull in uf2 repo and leverage python image for build

Add better fail safes for non-critical components

Sometimes chips get damaged (water etc) and can fail.
In order to continue operating as long as possible the controller firmware should gracefully fail and continue operating (ie. outputting PWM based on pot level, and arm/disarm) even when the following are giving bad/no data:

  • Barometer (BMP3XX)
  • Vibration IC (DRV2605)
  • EEPROM
  • Screen (ST773)
  • Telemetry (implemented)

Battery SOC improvements

As of v5.8 we still are relying solely on battery voltage for state of charge (SOC) estimation.
This results in inaccuracies, especially since the voltage to SOC relationship is not linear and batteries sag under load.
We need to get to a more accurate estimator by factoring in at least

  • voltage
  • current
  • battery size (2.2kwh vs 4kwh)
  • battery chemistry/characteristics
    Potentially also factoring in
  • ambient temperature
  • altitude
  • motor RPM

We can only get things like battery cycles/health from the BMS (bluetooth interface) but all of the above are presently available to the controller.

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.