paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] External Voltage Sensor for Battery Warnings


From: Felix Ruess
Subject: Re: [Paparazzi-devel] External Voltage Sensor for Battery Warnings
Date: Wed, 18 Jan 2012 23:55:13 +0100

Hi Balazs,

you can add <define name="VoltageOfAdc(adc)" value="(0.0246*adc)"/>
(with the ratio you need of course to your airframe file (e.g. BAT
section).
Then you also need to change the ADC channel that is used to read the
voltage, e.g. <define name="ADC_CHANNEL_VSUPPLY" value="ADC_4"/>. You
have to add that to the ap firmware section, so it will be a global
define and just one in the generated airframe file.

To not get errors because ADC_CHANNEL_VSUPPLY gets redefined, pull
again from master...

Cheers, Felix

On Sun, Jan 15, 2012 at 7:52 PM,  <address@hidden> wrote:
> Dear Developer,
>
> we are using a TWOG in an EasyGlider for two years, and we are very
> satisfied with it and very pleased that you make it accessible for all the
> world.
>
> We would ask you for some support now. We changed the airframe to a
> Trainer 60 with a 6cell 5000mAh LiPo. Because of the higher accu voltage
> (22.2V) we had to apply a switching power supply to provide power for
> TWOG. We installed a Sparkfun Current Sensor to the ESC, too. We
> configured successfully the ADC channels, and now we are able to display
> the actual motor current and battery voltage on the GCS with a papget.
> Unfortunately we didn't find the way, how to use the ADC channel of
> battery voltage for generating the warnings (LOW, CRITICAL, CATASTROPHIC
> BATT. LEVEL). Is there any way to do it without to change the code
> directly?
>
> Thank you in advance
>  Balazs
>
> Budapest University of Technology and Economics
> Department of Aircraft and Ships
>
>
> _______________________________________________
> Paparazzi-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]