paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Current Sensor


From: Balazs GATI
Subject: Re: [Paparazzi-devel] Current Sensor
Date: Mon, 21 May 2012 10:11:20 +0200
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20120428 Thunderbird/12.0.1

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: address@hidden
    <mailto:address@hidden>
    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:address@hidden>
    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:address@hidden>
     > https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
     >



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



    _______________________________________________
    Paparazzi-devel mailing list
    address@hidden <mailto:address@hidden>
    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/



reply via email to

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