mip
Member level 2
![Member level 2](/styles/images/ranks/dlevel2.gif)
transceiver ir code for 2051
Hi @ll,
I would like to build a universal infrared remote control receiver into a hobby grade project based on Atmel 89c2051.
There are many projects based on PIC controllers as UIR (12c509 and 16f84), UIRt, IRMan and others.
These devices receive IR and calculate a 6byte value which is unique to every key beeing sent.
There are no sources available for these projects
, but as there's also a project based on PIC12c509, it can't be too hard.
I tried metering the time between pulses, identifying them as hi/lo, but I don't know how to limit received values with different lengths to a fixed unique value (kind of checksumming or simply shift bits into a circular buffer?). Additionally, some remotes have a bit that gets toggled on every send.
I don't want to decode (which would be limited to a few remotes talking know protocols like RC5, RECS80, Sony), I want to keep it as universal as possible.
Can somebody please tell me a good algorithm or show me sources?
Hi @ll,
I would like to build a universal infrared remote control receiver into a hobby grade project based on Atmel 89c2051.
There are many projects based on PIC controllers as UIR (12c509 and 16f84), UIRt, IRMan and others.
These devices receive IR and calculate a 6byte value which is unique to every key beeing sent.
There are no sources available for these projects
I tried metering the time between pulses, identifying them as hi/lo, but I don't know how to limit received values with different lengths to a fixed unique value (kind of checksumming or simply shift bits into a circular buffer?). Additionally, some remotes have a bit that gets toggled on every send.
I don't want to decode (which would be limited to a few remotes talking know protocols like RC5, RECS80, Sony), I want to keep it as universal as possible.
Can somebody please tell me a good algorithm or show me sources?