paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Configuration of a distance based autoshoot functi


From: Christophe De Wagter
Subject: Re: [Paparazzi-devel] Configuration of a distance based autoshoot function with Yapa2
Date: Wed, 19 Sep 2012 13:30:04 +0200

Sorry. That is indeed not obvious. The hardware header to - bank and pin number as mapped inside the LPC21 are only shown in the schematics: wiki -> yapa -> docs -> http://paparazzi.enac.fr/w/images/Yapa2.pdf -> page 4 -> U3: LPC2148

there you can find the LPC-bank and pin numbers. 

e.g: IRV = P0.21, IRH1 = 0.22 and IRH2 = 0.25

<define name="DC_SHUTTER_LED" value="6"/>    <!-- any still unused number -->

// For IRV

<define name="LED_6_BANK" value="0"/>
<define name="LED_6_PIN" value="21"/>


-Christophe 



On Wed, Sep 19, 2012 at 12:40 AM, Jorn Anke <address@hidden> wrote:
Thanks for clarifying. My adc channels are not in use, so I can use one of them. I can however not find any reference to their pin_nr or pin_bank on the Yapa2 wiki for, for setting:

    <define name="DC_SHUTTER_LED" value="#"/>
    <define name="LED_6_BANK" value="#"/>
    <define name="LED_6_PIN" value="#"/>

During testing, I also found out adc1 -or 2 (the one closest to the usb) was constantly high +3.3V. Is this as it should be?

Balazs,I did try to follow your advice to: "test the hardware on the ground in periodic mode (you can start it 
manualy in the GCS)". 
In the "Modules" tab on the gcs, there is a module named "led_cam_ctrl_p" which can be started or stopped.
Can I use this switch to start/stop e.g. the periodic/time based trigger?

Cheers,

Jorn

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