Is there any RC5 implementation?
Jacky2k
Posts: 4
Hello,
I have to interprete RC5 Codes from a TV remote control but I have no idea how to implement it.
So, does someone have a working code I could use or any idea how to implement it?
Jacky2k
I have to interprete RC5 Codes from a TV remote control but I have no idea how to implement it.
So, does someone have a working code I could use or any idea how to implement it?
Jacky2k
Comments
I think I know why my implementation isn't running. Is the normal Spin code very slow? In a small test I found out that he needs some thousand clocks to do a litte loop from 0 to 27... is that normal???
So, do I have to implement it in assembly?
If you are trying to decode the 36kHz carrier then that has a bit time of around 30us so you would need to use assembly.
Spin isn't blindingly fast but neither is it incredibly slow. It's certainly capable of handling 9600 baud bit-banged serial at 80MHz. RC5 has an equivalent rate of around 500 bps so Spin should be able to easily handle it.
make a search on the obex
obex.parallax.com/
with keywords like rc5, remote etc.
I remember there is something there around IR-remote-control
best regards
Stefan
For thers: Be carefull, RC5 is not from Sony, it's from Phillips!