Mohit,
I thought I was clear enough when I stated that a 2 cell battery would read out just like a 3 cell on paparazzi. Your Mayday message probably has nothing to do with your battery voltage anyways, its probably reading Mayday Kill Mode, which if you are using a flightplan with the block "Holding Point" is by design. Holding Point puts a lock on the throttle, so it doesnt turn on by accident on the ground. An alert message is also generated just to remind the user that the throttle wont come on in auto2 until kill_throttle is set to 0.
AJ
-------- Original Message --------
Subject: Re: [Paparazzi-devel] 2S battery
From: David Buzz Carlson <address@hidden>
Date: Tue, September 02, 2008 1:53 am
To: address@hidden
Look at your messages and see why you are getting mayday messages. Does
it say something about battery critical? Something else? More
information is needed for troubleshooting.
And yes, by default the input voltage is monitored with a resistor
bridge connected to an ADC (at least I can say this for sure in a tiny
2.11). There was a lengthy discussion about this on David's paparazzi
thread on rcgroups.com. It's very long, but I highly recommend you take
a couple of hours and read up. There's quite a bit of good information
in there.
Buzz
Mohit Mundhra wrote:
> I was getting Mayday during simulations also, may i know what could be
> the reason for that?
>
> On Tue, Sep 2, 2008 at 1:30 PM, <address@hidden> wrote:
>
>> You will find that the battery settings are in the airframe
>> configuration file.
>> This part of the website explains it:
>> http://paparazzi.enac.fr/wiki/index.php/Airframe_Configuration#Bat
>>
>> -----Original Message-----
>> From: address@hidden
>> [mailto:paparazzi-devel-bounces+mark.griffin=itu.ch@nongnu.org] On
>> Behalf Of Mohit Mundhra
>> Sent: Tuesday, 2 September 2008 9:07 AM
>> To: address@hidden
>> Subject: Re: [Paparazzi-devel] 2S battery
>>
>> I actually don't know if there is such a provision by default in the
>> tiny board. And if there is then what are the required changes to be
>> done in the code/config files for 2S battery. Also, I am getting Mayday
>> messages :(
>>
>> On Tue, Sep 2, 2008 at 12:25 PM, David Carlson <address@hidden>
>> wrote:
>>
>>> But there is already this divider by default in the Tiny. Correct me
>>> if I'm wrong somebody in the know, but the main power supply is
>>> already connected to a voltage divider supplying an ADC port. So
>>> unless you wanted an _additional_ monitor (though I've no idea why),
>>> there is nothing additional you need to do.
>>>
>>> Buzz
>>>
>>> address@hidden wrote:
>>>
>>>> You would need to make the ADC see something less than 3.3Volts. I
>>>> would suggest a voltage dividing circuit. Then you would just need
>>>> to write code to monitor that ADC(not unlike the infrared.c code),
>>>> and create the scale so when say the ADC reads 3.3V you show a value
>>>> in your messages of 8.4. AJ
>>>>
>>>> -------- Original Message --------
>>>> Subject: Re: [Paparazzi-devel] 2S battery
>>>> From: "Mohit Mundhra" <address@hidden>
>>>> Date: Mon, September 01, 2008 2:14 pm
>>>> To: address@hidden
>>>>
>>>> then how is that to be connected to the ADC port for monitoring ?
>>>>
>>>> On Tue, Sep 2, 2008 at 1:23 AM, <address@hidden> wrote:
>>>> > Definitely not!
>>>> >
>>>> >
>>>> > -------- Original Message --------
>>>> > Subject: Re: [Paparazzi-devel] 2S battery
>>>> > From: "Mohit Mundhra" <address@hidden>
>>>> > Date: Mon, September 01, 2008 9:34 am
>>>> > To: address@hidden
>>>> >
>>>> > Can I connect the V+ from the battery directly to the ADC port
>>>>
>> on
>>
>>>> the Tiny ?
>>>> >
>>>> > On Mon, Sep 1, 2008 at 9:54 PM, <address@hidden> wrote:
>>>> >> just change your CATASTROPHIC battery detect in your airframe
>>>>
>> to
>>
>>>> something
>>>> >> like 6.5V and it wont cut the throttle, then you shouldnt need
>>>> to add
>>>> >> anything. I fly with a 2 cell battery with no issues.
>>>> >>
>>>> >> AJ
>>>> >>
>>>> >> -------- Original Message --------
>>>> >> Subject: [Paparazzi-devel] 2S battery
>>>> >> From: "Mohit Mundhra" <address@hidden>
>>>> >> Date: Mon, September 01, 2008 2:56 am
>>>> >> To: address@hidden
>>>> >>
>>>> >> I need to connect the 2S battery for monitoring in the tiny 1.1
>>>> . Can
>>>> >> i straightaway connect one wire from the V+ of the battery to
>>>>
>> one of
>>
>>>> >> the ADC points on tiny board? Which ADC_ should I connect it
>>>>
>> to?
>>
>>>> What
>>>> >> other settings do I need to make in the configuration files for
>>>> it to
>>>> >> correctly monitor the battery status?
>>>> >>
>>>> >> Currently I havent connected the battery to the board and when
>>>>
>> I
>>
>>>> >> switch it to Auto 2, it cuts the throttle which is OK as it is
>>>> >> detecting it as low battery. Do let me know what all I have to
>>>>
>> do.
>>
>>>> >>
>>>> >>
>>>> >> --
>>>> >> Mohit Mundhra
>>>> >>
>>>> >>
>>>> >> _______________________________________________
>>>> >> Paparazzi-devel mailing list
>>>> >> address@hidden
>>>> >> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>> >>
>>>> >> _______________________________________________
>>>> >> Paparazzi-devel mailing list
>>>> >> address@hidden
>>>> >> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>> >>
>>>> >>
>>>> >
>>>> >
>>>> >
>>>> > --
>>>> > Mohit Mundhra
>>>> > --~--~---------~--~----~------------~-------~--~----~
>>>> > Aurora Integrated Systems
>>>> > -~----------~----~----~----~------~----~------~--~---
>>>> >
>>>> >
>>>> > _______________________________________________
>>>> > Paparazzi-devel mailing list
>>>> > address@hidden
>>>> > http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>> >
>>>> > _______________________________________________
>>>> > Paparazzi-devel mailing list
>>>> > address@hidden
>>>> > http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>> >
>>>> >
>>>>
>>>>
>>>>
>>>> -- Mohit Mundhra
>>>> --~--~---------~--~----~------------~-------~--~----~
>>>> Aurora Integrated Systems
>>>> -~----------~----~----~----~------~----~------~--~---
>>>>
>>>>
>>>> _______________________________________________
>>>> Paparazzi-devel mailing list
>>>> address@hidden
>>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>>
>>>> ---------------------------------------------------------------------
>>>> ---
>>>>
>>>> _______________________________________________
>>>> Paparazzi-devel mailing list
>>>> address@hidden
>>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Paparazzi-devel mailing list
>>> address@hidden
>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>
>>>
>>
>> --
>> Mohit Mundhra
>> --~--~---------~--~----~------------~-------~--~----~
>> Aurora Integrated Systems
>> -~----------~----~----~----~------~----~------~--~---
>>
>>
>> _______________________________________________
>> Paparazzi-devel mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>
>>
>> _______________________________________________
>> Paparazzi-devel mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>
>>
>
>
>
>
_______________________________________________
Paparazzi-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel