Pages

Ads 468x60px

mardi 27 novembre 2018

Hack a cheap remote light switch with an Arduino Leonardo

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 that 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.



from Arduino Blog http://bit.ly/2KAeXpz

0 commentaires:

Enregistrer un commentaire