BasicMicroUK - Forums
http://forums.basicmicro.co.uk/

Use R/C PPM (composite) signal for 'bot control
http://forums.basicmicro.co.uk/wireless-f499/use-r-c-ppm-composite-signal-for-bot-control-t9722.html
Page 1 of 1

Author:  KM6VV [ Thu Nov 17, 2011 12:58 am ]
Post subject:  Use R/C PPM (composite) signal for 'bot control

Is there a "Servo Decode function" for decoding the R/C PPM signal available in an R/C receiver?

The R/C PPM (composite) signal available inside R/C receivers like the Futaba 7C R617FS and similar receivers could be decoded by using a single interrupt line on an AtomPro. This requires a slight mod (adding a wire) to the XCVR, or a very simple out-board PCB can be used to re-combine up to 7 or 8 output channels of a typical receiver.

This has already been done by the Helicopter builders (quadcopters) for their flight controllers. Several little combiner PCBs are available:

http://www.fpvuk.org/forum/index.php/topic,2786.0.html
http://www.nobugs.org/engineer/uav/futaba-rx.html
http://paparazzi.enac.fr/wiki/ATmega168_PPM_Encoder_Board
http://store.diydrones.com/product_p/br-ppme.htm

And basically explained here:
http://arduino.cc/forum/index.php/topic,22140.0.html

A similar "ServoDecode" function could be added to AtomBasic, and would be very useful.

Kurt has already played with this idea (see LM forum). I'm just getting started.

Alan KM6VV

Author:  Acidtech [ Thu Nov 17, 2011 2:36 am ]
Post subject:  Re: Use R/C PPM (composite) signal for 'bot control

Kurt already got this working(as you said). We've not thought of adding it as a command mainly because we don't know how standard this functionality is. A more generic mpulsin(eg multiple pulse in) or somthing like that may be more appropriate. But an inline command isn't really the way to go with this I think. Because you don't know when the pulses will be coming in you have to wait for them. An interrupt driven system(I think Kurt was working on this) would be more appropriate. At the moment we are really busy working on several projects so I can't say when or if this functionality will be added.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/