| ??? 09/19/02 14:44 Read: times |
#29378 - RE: measuring low pulses from an IR demo |
Hi Jeff,
for such a task I would use a timer interrupt only. And inside the interrupt I check, if the input has changed or not and a byte count the duration. E.g. on using an interrupt every 100µsec for the times of 0.8 / 1.3 / 2.6msec you get values of 8 or 13 or 26, which can easy be tested. E.g. a comparison if >20 and <30 will give you the start detection and then if <10 or >10 you can decide if low or high bit. I can give you an example for the RC5 code which has no extra start bit length. Peter |
| Topic | Author | Date |
| measuring low pulses from an IR demodula | 01/01/70 00:00 | |
| RE: measuring low pulses from an IR demodula | 01/01/70 00:00 | |
| RE: measuring low pulses from an IR demodula | 01/01/70 00:00 | |
| RE: measuring low pulses from an IR demodula | 01/01/70 00:00 | |
| RE: measuring low pulses from an IR demodula | 01/01/70 00:00 | |
| RE: measuring low pulses from an IR demodula | 01/01/70 00:00 | |
| RE: measuring low pulses from an IR demodula | 01/01/70 00:00 | |
| RE: measuring low pulses from an IR demodula | 01/01/70 00:00 | |
| RE: measuring low pulses from an IR demo | 01/01/70 00:00 | |
| RE: measuring low pulses from an IR demo | 01/01/70 00:00 | |
| RC5: Philips or Sony? - Charles | 01/01/70 00:00 | |
| RE: measuring low pulses from an IR demodula | 01/01/70 00:00 | |
| RE: measuring low pulses from an IR demodula | 01/01/70 00:00 | |
RE: measuring low pulses from an IR demodula | 01/01/70 00:00 |



