I'm integrating current estimation in the Rushduino OSD
I was thinking that PowerMeterSum was representing a mAh estimation based on usage of motors and a coeficient calibrated after a flight ( consumed mAH, coef and estimated mAh )
But now, as i understand, its not that at all. the value go way too fast to represent mAH.
Anybody can explain me how to make it represent mAh....or...just tell me " hey stupid, its simple...blablabla"
thanks
need help with PowerMeterSum
Re: need help with PowerMeterSum
yes, PowerMeterSum does represent mAh.
cannot help without more info:
hard or soft powermeter?
setup as described in config.h?
When Alex had to move code around, an error got introduced into powermeter handling. I did correct it some time ago.
cannot help without more info:
hard or soft powermeter?
setup as described in config.h?
When Alex had to move code around, an error got introduced into powermeter handling. I did correct it some time ago.
Re: need help with PowerMeterSum
Soft, all by default, quadX
I just arm motor, and value climb at about 200count by second.(gradualy)
I just arm motor, and value climb at about 200count by second.(gradualy)
Re: need help with PowerMeterSum
when that happens, is voltage reading working at the same time? If not, that is prime cause.
Defaults? So did you do the configuration steps I described in config.h?
Defaults? So did you do the configuration steps I described in config.h?
Re: need help with PowerMeterSum
I'm not using voltage monitoring, Should I ?
Re: need help with PowerMeterSum
JohnyGab wrote:I'm not using voltage monitoring, Should I ?
yes, for soft powermeter you must have voltage reading setup and working correctly.
Quoting from config.h:
/* 1 - soft: - (good results +-5% for plush and mystery ESCs @ 2S and 3S, not good with SuperSimple ESC */
/* 00. relies on your combo of battery type (Voltage, cpacity), ESC, ESC settings, motors, props and multiwii cycle time */
/* 01. set POWERMETER soft. Uses PLEVELSCALE = 50, PLEVELDIV = PLEVELDIVSOFT = 5000 */
/* 0. output is a value that linearily scales to power (mAh) */
/* 1. get voltage reading right first */
/* 2. start with freshly charged battery */
/* 3. go fly your typical flight (routine and duration) */
/* 4. at end connect to GUI or LCD and read the power value; write it down (example 4711)*/
/* 5. charge battery, write down amount of energy needed (example 722 mAh) */
/* 6. compute alarm value for desired power threshold (example 750 mAh : alarm = 4711 / 722 * 750) */
/* 7. set alarm value in GUI or LCD */
/* 8. enjoy your new battery alarm - possibly repeat steps 2 .. 7 */
/* 9. if you want the numbers to represent your mAh value, you must change PLEVELDIV */
Please, as this obviously is not clear enough - what should we write in the description instead of what is there under 1. ?
Re: need help with PowerMeterSum
Lol, I love the way you turned your question to make me feel bad
I know, I should read more
Its a problem, because voltage in my setup is pluged and processed by the OSD, not the mutlwii.
I will put the voltage on the Flight controller side, and share it via serial link..and try again
I know, I should read more
Its a problem, because voltage in my setup is pluged and processed by the OSD, not the mutlwii.
I will put the voltage on the Flight controller side, and share it via serial link..and try again
Re: need help with PowerMeterSum
Actually it was meant as an honest question. I know I am not good at writing documentation.
Re: need help with PowerMeterSum
...but then I did not expect you to not read the documentation
Why do you not run two voltage reading inputs, one on each cpu? These could even share the same voltage divider.
Why do you not run two voltage reading inputs, one on each cpu? These could even share the same voltage divider.