I got it to read one value off of the adc at startup, but it doesn't update. the value in
adc_generic does update though. adding<define name="USE_ADC_6" doesn't seem to
change anything.
I use an Attopilot current sensor from sparkfun.com.
________________________________________
From: address@hidden address@hidden on behalf of Eduardo lavratti address@hidden
Sent: Wednesday, May 16, 2012 11:55 AM
To: Paparazzi developer forum
Subject: Re: [Paparazzi-devel] Current Sensor
You need put
USE_ADC_6 in your airframe file
________________________________
From: address@hidden
To: address@hidden
Date: Wed, 16 May 2012 17:42:05 +0000
Subject: Re: [Paparazzi-devel] Current Sensor
Romney, i am very interested in put current sensor in my planes.
What sensor you used ?
may be i can help you with code and configurations
From: address@hidden
To: address@hidden
Date: Wed, 16 May 2012 17:34:55 +0000
Subject: [Paparazzi-devel] Current Sensor
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
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