Hi,
I have put together some detailed information on reading from RC Receivers, interfacing with servos and interrupts.
Its Arduino based but the principles would apply across most controllers.
While my RC Cars may not be robots, the code that runs inside them needs to keep working smoothly 200 meters away at 40Km/h.
How to read an RC Receiver using interrupts
http://rcarduino.blogspot.com/2012/01/how-to-read-rc-receiver-with.html
A detailed look at the pinchangeint library to access upto 20 interrupts on an Arduino UNO
http://rcarduino.blogspot.com/2012/03/need-more-interrupts-to-read-more.html
A look at servo problems and solutions
http://rcarduino.blogspot.com/2012/04/servo-problems-with-arduino-part-1.html
A demonstration of a common servo problem
http://rcarduino.blogspot.com/2012/04/servo-problems-part-2-demonstration.html
An example of reading and generating 3 RC Channels with an Arduino UNO
http://rcarduino.blogspot.com/2012/04/how-to-read-multiple-rc-channels-draft.html
Hope you find some of these interesting and useful
Regards
Duane B
http://rcarduino.blogspot.com
The primer on the interrupts
The primer on the interrupts is very interesting. Since you are aware that you face a shared memory problem you explain very well on what to take extra care when using shared variables. Good work, Duane. Thank you for sharing this. Collected!
Robot On The Way
Hi,
At the same time as finishing my Arduino RC/Kart/Race car laptimer I have now started to work on two robots. I have started to build the first which will be RC using the code here http://rcarduino.blogspot.com/2012/04/how-to-read-multiple-rc-channels-draft.html
The second will be autonomous, I have a half baked idea of one hunting the other which should make for a more interesting first project than a line follower
Duane B