Arduino Controllable Lightswitch

Introduction: Arduino Controllable Lightswitch

Please see version 2 on my personal blog!

When starting my quest for an automated household I learned a few things.

Off the shelve solutions are expensive,
DIY solutions are typically ugly.

and since i cant change the first thing,
i took it upon myself to try and fix the second thing.


this Instructable involves 
high voltage
sharp things
and other potential sources of bodily harm
do not attempt if you are not trained in such techniques
and etc.

this is my first instructable, so be kind.
also its not meant to be a complete instructable,
just a way for me to show you an idea i had that i thought was cool, it is in no means a finished project.

on the code side,
after you have dialed in what degrees are the max for on and off with the servo,
remember to call detach() about 300ms after telling the servo to turn your lightswitch "on"
or you will not be able to manually change the lightswitches state!

and a diode probably wouldn't hurt on the signal line so your not feeding back into your micro controller.




    • Tiny Home Contest

      Tiny Home Contest
    • Metalworking Contest

      Metalworking Contest
    • Creative Misuse Contest

      Creative Misuse Contest

    8 Discussions

    It would be nice if you say a little bit more regarding the wiring / power source or even post a circuit sketch. Neat idea though.

    2 replies

    This switch is a great idea !
    I would also love to have some info about powering the arduino !

    This is what I wanted to use, but theres not a ton of room in the box :(,searchweb201602_5_10065_10068_10000009_10084_10083_10080_10082_10081_10060_10062_10056_10055_10037_10054_10059_10032_10099_10078_10079_10077_426_10103_10073_10102_10096_10052_10053_10050_10107_10106_10051,searchweb201603_9,afswitch_5,single_sort_0_default&btsid=e0813ebf-196e-4ca5-9e22-1a2590f9c966

    Awesome, and intuitive solution. I would buy one of these. I cant seam to find this exact type of solution for sale. Please Post better instructions. This is exactly what I need for my new house. I have an outside light that I want this kind of switch for.

    Nice instructable for the mechanical side of things. I can see this as being very useful. Great idea! A schematic, associated code, and identifying the remote would complete it.

    1 reply

    thanks, as for the code, i only have the demo code, i am working on a whole house automation system, for this demo i used for the wireless and standard arduino servo code.

    Its great in concept but wouldn't pass an electrical inspection. You don't meet the NEC if you modify devices.

    You can use pixlr to rotate some of your images if you need to - that way they are easier to understand. Thanks for the share!