Hi All, we've seen how an Arduno can drive radio control type servos, but has anyone written code such that Arduino connected to an R/C receiver can emulate a servo(s) ? To the point of increasing/decreasing an integer value when the transmitter controls are moved ?
Yeah - the basic way is to use the pulseIn() function:
There are other ways using timers and pin change interrupts, but the above is the basic way. Look also for the code for the Dagu Wild Thumper Motor controller:
It has a complete demonstration code set that uses pulseIn() for R/C PPM decoding.
Thanks for the replies guys - much appreciated. I checked your blog entry Duane, it looks interesting, so I'll give it a shot and I'll look forward to seeing part 2 !!