With a certain degree of irony, today's 'nothing on TV' project turned into the start of designing a remote control which can control the TV and various units which each need their own remotes.
Uses a PICAXE-20X2 and the trick of placing the IR LED + R between PWM and another pin to modulate the IR signal so not a great deal of range as I played safe with a 220R and not sure if the IR LED is designed for 36kHz but it does work so far to control a Sky Satellite Receiver's channel up and down.
Lots of tweaking, much more to do and not sure when I'll be working on that, but thought the code might be useful to someone.
No comments as happens with proof of concept. The main principle is specifying the time periods between toggling the bits. The list of bit times is placed in scratchpad and spooled out. The 'SendIr' routine is at the top of the program so it never changes and nor does its timing.
Uses a PICAXE-20X2 and the trick of placing the IR LED + R between PWM and another pin to modulate the IR signal so not a great deal of range as I played safe with a 220R and not sure if the IR LED is designed for 36kHz but it does work so far to control a Sky Satellite Receiver's channel up and down.
Lots of tweaking, much more to do and not sure when I'll be working on that, but thought the code might be useful to someone.
No comments as happens with proof of concept. The main principle is specifying the time periods between toggling the bits. The list of bit times is placed in scratchpad and spooled out. The 'SendIr' routine is at the top of the program so it never changes and nor does its timing.
Attachments
-
2 KB Views: 134