I was reading throughout the forum and I found some interesting information on how to read the RC signal output from a receiver using the pulsein command.
I have a slight problem, which is mostly about the generation of the signal. I would appreciate help from any RC expert out there. Assuming that one channel corresponds to the upward and downward movement of the stick on the RC transmitter, will a downward motion result in a 0 ms pulse and an upward motion result in an x ms pulse (where x is the maximum pulse width).
Thanks
No, you won't get a 0mS pulse, because you wouldn't be able to detect it!
Pulses are usually in the range of about 1mS to 2mS, though it may go as short as 800uS.
Have a look at the source of the servo libraries.
Useful background reading:
http://www.compilots.com/news/article1354.html
Thats correct what I wanted to check whether a downward motion results in a very short pulse and an upward motion results in a relatively larger pulse?
Or vice versa, depending on whether you've got a reverse switch on your Tx.
But yes, stick centre should be around 1.5mS, and the extremes at 1mS and 2mS (depends on manufacturer).