paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Current Sensor


From: Felix Ruess
Subject: Re: [Paparazzi-devel] Current Sensor
Date: Mon, 21 May 2012 23:16:49 +0200

Thanks guys! With everyone helping out like that we can significantly improve the docs..
Balzas, welcome to the world of collaborative documentation :-)

On Mon, May 21, 2012 at 10:11 AM, Balazs GATI <address@hidden> wrote:
Hi,

I wrote some senteces about the Voltage Sensor on the wiki:
   http://paparazzi.enac.fr/wiki/Sensors/Current

This is my first contribution to a wiki, feel free to correct it.

Regards,
 Balazs


2012.05.18. 15:48 keltezéssel, Eduardo lavratti írta:
Wiki page updated Flix .
------------------------------------------------------------------------

Date: Fri, 18 May 2012 11:46:35 +0200
From: address@hidden
To: address@hidden
Subject: Re: [Paparazzi-devel] Current Sensor

Hi guys,

would be nice if you could update the
http://paparazzi.enac.fr/wiki/Sensors/Current wiki page....

Cheers, Felix

On Fri, May 18, 2012 at 7:00 AM, Romney, Jefferson S
<address@hidden <mailto:address@hidden>> wrote:

   Thanks! the <define name="USE_ADC"/> did it. thanky
   ________________________________________
   From: paparazzi-devel-bounces+romneyj=address@hidden
   <mailto:address@hidden>
   [paparazzi-devel-bounces+romneyj=address@hidden
   <mailto:address@hidden>] on behalf of address@hidden
   <mailto:address@hidden> [address@hidden <mailto:address@hidden>]

   Sent: Thursday, May 17, 2012 12:55 AM
   To: address@hidden <mailto:paparazzi-devel@nongnu.org>

   Subject: Re: [Paparazzi-devel] Current Sensor

   Hi,

   I am using a current and voltage sensor successful. First put the
   following lines in firmware section:

   <firmware name="fixedwing">
   .
   <define name="USE_ADC"/>
   <define name="USE_ADC_3"/> <!-- accu voltage--> <!-- *******-->
   <define name="USE_ADC_4"/> <!-- motor current-->
   <define name="ADC_CHANNEL_VSUPPLY" value="ADC_3"/> <!-- *******-->

   Then in Battery section:
   <section name="BAT">
   <define name="ADC_CHANNEL_CURRENT" value="ADC_4"/>
   <define name="MilliAmpereOfAdc(adc)" value="(100*adc)"/>
   <define name="VOLTAGE_ADC_A" value="0.05"/> <!-- *******-->
   <define name="VOLTAGE_ADC_B" value="1"/> <!-- *******-->
   <define name="VoltageOfAdc(adc)" value ="(VOLTAGE_ADC_A * adc +
   VOLTAGE_ADC_B)"/> <!-- *******-->


   Dont load the adc_generic module anymore.
   If you don't use the voltage measurement, skip the lines marked with
   <!--
   *******-->


   Balazs



    > I just put a current sensor in my Plane with my Yapa, I can read it
    > correctly with the adc_generic module, but the current reading in
   the BAT
    > or Energy messages do not change. This is the part of my airframe
   file I
    > have:
    >
    > <section name="BAT">
    > <define name="ADC_CHANNEL_CURRENT" value="ADC_6" />
    > <define name="MilliAmpereOfAdc(adc)" value="(36.6*adc)"/>
    > </section>
    >
    > Is there anything else I need to add to this to get it working?
    >
    > _______________________________________________
    > Paparazzi-devel mailing list
    > address@hidden <mailto:Paparazzi-devel@nongnu.org>

    > https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
    >



   _______________________________________________
   Paparazzi-devel mailing list
   address@hidden <mailto:Paparazzi-devel@nongnu.org>

   https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



   _______________________________________________
   Paparazzi-devel mailing list
   address@hidden <mailto:Paparazzi-devel@nongnu.org>

   https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



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


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

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

Address:   Budapest
         Stoczek u 6. J. ép. 423
         1111
Tel:       +(36)-1-463-1960
Fax:       +(36)-1-463-3080
Homepage: http://rht.bme.hu/~gatib/


_______________________________________________
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]