paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Incorrect Battery Reading - TWOG


From: David Conger
Subject: Re: [Paparazzi-devel] Incorrect Battery Reading - TWOG
Date: Tue, 9 Jun 2009 07:27:36 -0700

Hello,

The first line in the makefile section is the autopilot header file. Be sure you have the correct one.

From the given funjet1.xml:
<makefile>
CONFIG = \"tiny_2_1.h\"

If you have a Tiny2.1 this is appropriate. If you have a TWOG or Tiny2.11 it is not. You will have incorrect voltages reported. There is no flaw in the board or design and is simple to correct.

I think the easiest is use this instead in the makefile:
<makefile>
CONFIG = \"tiny_2_1_1.h\"

Then re-run GCS and check the voltages reported.

HINT:
This comes up very often and likely a search of the list archives would return several email much like this one. :)

-David Conger

On Jun 9, 2009, at 6:27 AM, Mohit Mundhra wrote:

When I connected a 3S battery measuring 12.5 V, TWOG was showing 8.9
V; while when a 7.9 V battery was connected it showed 5.7 V. I just
now realized that it could be a problem of some resistor since the
ratio coming out is same in both case (12.5/8.9 = 7.9/5.7 = 1.4
approx). Are there any other reasons that may be there for this
incorrect reading?

--
Mohit Mundhra

On Tue, Jun 9, 2009 at 2:24 PM, Mohit Mundhra<address@hidden> wrote:
I connected a 2S Lipo battery to TWOG Board, but it keeps on showing
5.7 V on the GCS. I checked using a multimeter and found that the
voltage actually is 7.9 V. I tried changing few battery configuration
values but nothing actually worked out. Below mentioned is the battery
section from my configuration file.

 <section name="BAT">
   <define name="MILLIAMP_PER_PERCENT" value="0.86"/>
   <define name="VOLTAGE_ADC_A" value="0.0177531"/>
   <define name="VOLTAGE_ADC_B" value="0.173626"/>
   <define name="VoltageOfAdc(adc)" value ="(VOLTAGE_ADC_A * adc +
VOLTAGE_ADC_B)"/>
   <define name="CATASTROPHIC_BAT_LEVEL" value="6.0" unit="V"/>
   <define name="CRITIC_BAT_LEVEL" value="6.5" unit="V"/>
   <define name="LOW_BAT_LEVEL" value="7.0" unit="V"/>
   <define name="MAX_BAT_LEVEL" value="8.4" unit="V"/>
 </section>

--
Mohit Mundhra



_______________________________________________
Paparazzi-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel





reply via email to

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