Making An RF Controlled Light Switch Work With IR

ir-rf-light-switch

[Gary] had an RF triggered light switch kicking around, and wanted to find a way to control his lights using a home theater remote. The switch, which he bought from RadioShack years ago, came with a simple remote that uses two buttons to toggle the lights on and off. While you might think that switching from RF to IR control would be a step backwards, [Gary] really just wanted to consolidate remotes more than anything else.

He designed a circuit board specifically for interacting with the remote half of his RF controller. It sports a PIC16F628A micro controller, which is tasked with processing IR commands from his home theater remote and triggering the lights when requested.

The code he developed for the project is relatively simple, but very useful all the same. When his board is powered on, it stores the first IR code it receives, then retains it as long as it stays powered on. This lets [Gary] use any button on his remote to turn the lights on and off, without any IR codes permanently defined in software.

As you can see in the video below, the modified switch works just as intended, saving [Gary] from having to walk all the way to the light switch when it’s time to fire up a movie.

[youtube=http://www.youtube.com/watch?v=d6Q5vuHbI_4&feature=player_embedded&w=470]

6 thoughts on “Making An RF Controlled Light Switch Work With IR

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.