Blog Home

Hack a cheap remote light switch with an Arduino Leonardo

Arduino TeamNovember 27th, 2018

Chris Lovett used a cheap remote plug to control his Christmas lights; however, when the fob’s A53G 12V battery died, he decided to go a different direction. Rather than just replace the battery, he hooked up an Arduino Leonardo for complete lighting automation.

For this hack, he bypassed the onboard IC and instead sent a simulated signal produced by the Leonardo through the wireless transmitter. The appropriate signals were decoded by a logic analyzer, then sent using one output pin to power the transmitter and a second to output the correct pulses. Full automation was accomplished via a Python Script running on a computer to activate the Leonardo at sunset and sunrise. 

Arduino code can be found here, along with the Python script, if you’d like to try something similar.

Boards:Leonardo
Categories:ArduinoFeatured

Leave a Reply

You must be logged in with your Arduino account to post a comment.