Im attempting to receive a signal from a TV remote through a 3-pin IR receiver. Im using CCP1 to capture these pulses. As some of you may know the TV remote transmits around 14 bits with only the last 6 or so being useful because they are the bits that change between buttons.
Im trying to skip through the first 8 bits and measure the time period of the last 6 bits, is this possible?
and another thing,
Will this method of capturing pulses be too accurate in order for me to consistently capture the same value at the last 6 bits, Im trying to use certain buttons to control my servo driven robot.
Check my PIC tutorials for an example of doing IR remote control - you don't want to ignore the earlier bits, all of them are really required. Essentially they consist of device ID bits (TV, VCR, Audio etc.) and data bits (ON/OFF, Volume Uo, CH1 etc.)
My tutorial is for the Sony SIRC's system, which is nice and easy to do.
It depends a LOT on which type of remote you choose.