[Muris] is pumping out the home lighting hacks. He developed this motion sensing module as an add-on to the IR switch we saw last week. There’s some kind of fuse box above his entry door and its white cover, which you see above, is where he mounted an IR distance sensor to detect movement and switch on the lights. The RC5 infrared protocol is used to transmit the necessary signal to turn the lights on, then when a set amount of time has passed it will turn them back off again.
Alright class, quiet down and open your books to the chapter on Manchester Encoding. [Brian J Hoskins] did just that when building this RC5 decoder. This protocol is commonly used in television remote controls. You use them on a daily basis, don’t you think it’s time you understood what’s going on? Check out his writeup and learn the dark art of invisible light communication. Or just skip the learning and follow our how-to.