ok, here is a simple idea:
I always have the problem, that I forget the flight time, I mostly use my phone to set a countdown to remind me to land in order to NOT kill the LIPO.
The Low Voltage warning is useless for that.
The Powermeter needs to be calibrated to each and every Lipo.
My idea is to implement a timer that sums up the time the system is armed (motors are spinning), so after a given time (maybe a config.h parameter) the buzzer will beep while the system is armed.
This helps people with cheap TX Systems like me
I already coded it:
Code: Select all
static uint8_t warn_runtime = 0,runTimeOfMotors = 0;
static long millis_old = 0;
Code: Select all
if ( millis_old <= millis() ){
millis_old = millis()+1000; //+1 second
if(armed == 1){
runTimeOfMotors++;
} }
if (runTimeOfMotors >300){ //5min of flight =300s (could be a parameter or a gui variable too)
warn_runtime = 1; //activate buzzer
}
instead of "armed" ore could think of using a throttle threshold (idle+2ß% or something)
I implemented it in buzzer.ino
as usual, this seems to be a good idea for ME but what do you guys think?
Especially with the current memory discussion raging on?
Is this a usefull feature that deserves to be in the shared trunk?