PDA

View Full Version : Hacking RC reciever


andyg
May 18, 2005, 03:51 PM
Does anyone know of any resources or projects that have hacked a rc reciever to get usable data from the reciever to a microcontroller?

bluesky123
May 18, 2005, 04:17 PM
It shouldn't involve too much hacking. A friend of mine, who designed from the scratch a USB TX-to-PC interface, said that you can read, basically, a PPM signal from one of the legs of the RX decoder. Then, you can feed this signal to another microchip, decode the PPM frame (like all TX-to-PC interfaces do) and do whatever you need with this data.
:)
Boris

Gary Warner
May 18, 2005, 04:48 PM
Does anyone know of any resources or projects that have hacked a rc reciever to get usable data from the reciever to a microcontroller?

Are you wanting to read a servo pulse into a micro?

Gary
--

Mr.RC-CAM
May 18, 2005, 05:30 PM
There has been some GWS hacking going on here: http://www.rcgroups.com/forums/showthread.php?t=298197

Bruce Abbot's project is fully published and has lots of fun info.

RC-CAM

andyg
May 18, 2005, 05:31 PM
yes gary I am for making a UAV

Gary Warner
May 18, 2005, 05:40 PM
andyg,

I've seen elsewhere where you are using a controller other than a PIC. The logic functions are going to be the same, but I can't help with exact code for this controller.

At what stage are you at in your experience with this controller? Are you where you can simply pass the servo pulse though the controller?

Gary
--

andyg
May 18, 2005, 05:54 PM
No I'm new but so I don't know many of the functions. But I have some experience with some other microcontrollers (BASIC stamp 2). I think I could pass the pulse through though with a little lag.

Gary Warner
May 18, 2005, 06:16 PM
andyg,

Start with a simple method of reading. Poll the input pin, use a counter to 'read' the value for the time period the pulse is present and then send the 'value' out, also using the timer on another pin. You can get to know about interupts later. Just get to know your hardare first with this simple function.

Gary
--

andyg
May 18, 2005, 06:18 PM
Thanks