Gayan Soyza
Active Member
Hi IR Experts!
I’m researching a method to detect an Unknown IR pulse stream (Protocol).
All the time I was doing Sony (SIRC) & RC5 protocols individually. So it can detect only a particular protocol which stored inside the PIC.
I was thinking hardly how to capture an unknown protocol & store the data so it can work with only that remote.(Ex: If I have a remote at home I can use that.So it doesn't need to be a sony or phillips remote)
This must do with a general I/O pin without using CCP modules.
Those ideas came to my mind & like to know what is the best way to do this. I like to hear your ideas on how to capture an unknown pulse stream.
Method1
After detecting start pulse, store only the mark time of the pulses using a timer (TMR0) & update the data (mark times) in many registers.
Method2
After detecting start pulse, turn on a fix timer (1000ms) & after timer expires check the pulse is high or low update the data registers & again start the fix timer likewise check the whole pulse stream.
I have attached a timing diagram of RC5 & SIRC for easy view.
Thanks
I’m researching a method to detect an Unknown IR pulse stream (Protocol).
All the time I was doing Sony (SIRC) & RC5 protocols individually. So it can detect only a particular protocol which stored inside the PIC.
I was thinking hardly how to capture an unknown protocol & store the data so it can work with only that remote.(Ex: If I have a remote at home I can use that.So it doesn't need to be a sony or phillips remote)
This must do with a general I/O pin without using CCP modules.
Those ideas came to my mind & like to know what is the best way to do this. I like to hear your ideas on how to capture an unknown pulse stream.
Method1
After detecting start pulse, store only the mark time of the pulses using a timer (TMR0) & update the data (mark times) in many registers.
Method2
After detecting start pulse, turn on a fix timer (1000ms) & after timer expires check the pulse is high or low update the data registers & again start the fix timer likewise check the whole pulse stream.
I have attached a timing diagram of RC5 & SIRC for easy view.
Thanks
Attachments
Last edited: