Slink-e / CDJ Discussion Archive #9
Re: Parsing and recognition of IR
Posted By: Barry Gordon <Barry@t...> In Response To: Parsing and recognition of IR (Brian Paulsen)
In Response To: Parsing and recognition of IR (Brian Paulsen)
Recognition of IR is essentially a pattern matching problem due to the presence of noice and timing issues of the carrier and the envelope.
There is at least one inexpensive dvice out there that will attach to a Com port (Rs232) and properly recognize IR patterns. It is alled the NEC2PCIR and sold by custom remotes. It returns the ascii equivalent of the device code and function code. The device costs about $40. The hitch is that the IR patterns must be in NEC protocol. That is not bad in that the protocol allows for 256 device with 256 codes per device. It is what I use with a Pronto Remote. I generate the IR timing directly for the Pronto in a manner similar to what you appear to be doing but based upon Windows and VB as opposed to Linux and perl. The PC then gets an ascii string of a fully decoded IR pattern. I then do my control stuff and issue out IR by addressing the Slink server at its low level interface.
Hope this helps