I'm making a small mega8-based system for controlling stuff through I2C. The input is 3 signals from an RC receiver. Those signals are, as you might know, pulses repeated at approximately 30-50 Hz. The pulse width is between 1000 and 2000 microseconds. Now, I have to capture all 3 pulses with the mega8. The microcontroller has ONE input capture unit.
So I guess you figured out the question... what is the best way of doing this?
The resolution/accuracy is not critical, but I'm aiming at 1 microsecond or better. I'd prefer interrupt-driven capture - it's much nicer to use in C. I have an idea of XORing all 3 signals and connecting the result to the capture unit, but of course in the event of 2 signals changing state at the same time, this it wouldn't work. Any other ideas?
BTW I'm not sure how RC receivers in general emit signals - in sync or interchanged?