- Wed Oct 27, 2010 7:46 am
#112261
So I have a RC controller but would like to intercept the signals from the reciever to the servo and be able to either pass them through or over ride them with my arduino (breadboarded ATmega328) The output from the reciever are the appropriate servo control signals that you would expect. 1-2ms pulse at 50Hz or so.
My initial thought was to time each pulse and output the the signal that i wanted, I'm not sure if i can do that because of potential overlap of each of the pulses (there's 4 channels from the reciever) My second thought was to turn the pulses into some sort of DC level that i could measure on the analog inputs then play with the value that way.
There is sample code to output to a servo but to read the incoming signals especially 4 at a time is more challenging.
My initial thought was to time each pulse and output the the signal that i wanted, I'm not sure if i can do that because of potential overlap of each of the pulses (there's 4 channels from the reciever) My second thought was to turn the pulses into some sort of DC level that i could measure on the analog inputs then play with the value that way.
There is sample code to output to a servo but to read the incoming signals especially 4 at a time is more challenging.