rblilja
Dec 12, 2008, 03:02 PM
Hi, a question..
Which method is the safest way to detect the loss of transmitter signal, when reading a PPM output from a RC receiver? My reading function extracts the corresponding servo pulses, and detects the sync pulse. What I need is an algorithm telling weather the PPM signal is ok or not.
My only check is the lengths of the pulses; if they are out of bound I skip them.
My platform is an ATMega168, using C. Reading the PPM with the input capture unit.
Thanks for any advice.
// Robin Lilja
Which method is the safest way to detect the loss of transmitter signal, when reading a PPM output from a RC receiver? My reading function extracts the corresponding servo pulses, and detects the sync pulse. What I need is an algorithm telling weather the PPM signal is ok or not.
My only check is the lengths of the pulses; if they are out of bound I skip them.
My platform is an ATMega168, using C. Reading the PPM with the input capture unit.
Thanks for any advice.
// Robin Lilja