[Top][All Lists]

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

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

From: Balazs GATI
Subject: Re: [Paparazzi-devel] External Voltage Sensor for Battery Warnings
Date: Thu, 19 Jan 2012 08:31:26 +0100
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20111105 Thunderbird/8.0

Dear Felix,

I'm very thankful for your effort to extend the code with this feature! I wish you and the whoole paparazzi team a fruitful 2012!

 Best regards,
 Balazs Gati

2012.01.18. 23:55 keltezéssel, Felix Ruess írta:
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
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

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

Thank you in advance

Budapest University of Technology and Economics
Department of Aircraft and Ships

Paparazzi-devel mailing list

Paparazzi-devel mailing list

Balazs GATI, PhD
     Department of Aircraft and Ships
     Budapest University of Technology and Economics

Address:   Budapest
          Stoczek u 6. J. ép. 423
Tel:       +(36)-1-463-1960
Fax:       +(36)-1-463-3080

reply via email to

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