paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Using PPM Encoder board with Spektrum AR6200


From: Todd Sandercock
Subject: Re: [Paparazzi-devel] Using PPM Encoder board with Spektrum AR6200
Date: Mon, 12 Oct 2009 15:58:52 -0700 (PDT)

Hi adrian

Using the PPM Encoder board is as straight forward as running any normal receiver.

you should have these lines in your airframe file:
ap.CFLAGS += -DRADIO_CONTROL -DRADIO_CONTROL_AUTO1
ap.srcs += radio_control.c $(SRC_ARCH)/ppm_hw.c

and a suitable radio file for a AR6200 would be something like this:
<!DOCTYPE radio SYSTEM "radio.dtd">
<radio name="AR6200" data_min="900" data_max="2100" sync_min ="5000" sync_max ="15000" pulse_type="POSITIVE">
 <channel ctl="THRO" function="THROTTLE"  min="1000" neutral="1000" max="2000" average="0"/>
 <channel ctl="AIL" function="ROLL"       min="1000" neutral="1500" max="2000" average="0"/>
 <channel ctl="ELE" function="PITCH"      max="1000" neutral="1500" min="2000" average="0"/>
 <channel ctl="RUD" function="YAW"        min="1000" neutral="1500" max="2000" average="0"/>
 <channel ctl="GEAR" function="HATCH"     min="1000" neutral="1500" max="2000" average="1"/>
 <channel ctl="AUX1" function="MODE"      min="1000" neutral="1500" max="2000" average="1"/>
</radio>

i can't help you out with the radio thing but i am pretty sure if you search this mailing list you will find it

Todd



From: Adrian Lauf <address@hidden>
To: address@hidden
Sent: Tue, 13 October, 2009 4:48:46 AM
Subject: [Paparazzi-devel] Using PPM Encoder board with Spektrum AR6200

Dear Paparazzi users,

My name is Adrian Lauf, and I am a graduate student that is very new to PPZ. I am currently using a Hangar 9 Alpha 40 as my workhorse, that I've retrofitted with an AR6200 2.4GHz receiver from Spektrum. I have the Tiny 2.11 board with a PPM Encoder board (purchased from Chebuzz). I'm having a minor difficulty understanding how to set the compile flags in the airframe configuration file to take advantage of the PPM encoder board. 

Do I need to specify a radio control file, since the PPM encoder will be reading in PWM values? I would assume I need to specify something that is related to the PPM encoder itself. What radio config file should I specify? This wasn't clear to me in the wiki, so that's why I'm asking. If someone has a sample configuration file, and associated flags that they could e-mail me, I would be very, very grateful. I would be happy to update the wiki with a section relating to using a PPM encoder board in the compiler flags section of the airframe config once I get it working.

Secondly, if anyone has experience with PPZ on the Alpha 40, I'd love to talk to you, as I have much to learn about making a good airframe configuration file. 

Lastly, I am meaning to operate the system without the radio modems/telemetry, at least for the very short term. I'm having difficulty seeing if this is possible, there seems to be no information on whether the system can fly without the radios. Can anyone tell me if it's possible?

Thank you in advance for all your help, it is much appreciated.

-Adrian


Get more done like never before with Yahoo!7 Mail. Learn more.
reply via email to

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