I am trying to make an universal infrared receiver using a general pin on PIC12F675.I use a TSOP1738 reciever.
I measure every high and low signals timings and stores them on GP registers.ex:if a low pulse 600uS in Byte1, 1200uS in Byte2 etc...Like wise I store 30 GP registers.
The problem is when the remote is focusing in far (4m) the signals are weaker.so the stored values are mismatch.I check a range with some offset like this.
(StoredValue- 32uS) < Recieved Time < (32uS +StoredValue)
I think the 32uS offset is not enough...!! Any idea?
I measure every high and low signals timings and stores them on GP registers.ex:if a low pulse 600uS in Byte1, 1200uS in Byte2 etc...Like wise I store 30 GP registers.
The problem is when the remote is focusing in far (4m) the signals are weaker.so the stored values are mismatch.I check a range with some offset like this.
(StoredValue- 32uS) < Recieved Time < (32uS +StoredValue)
I think the 32uS offset is not enough...!! Any idea?