Arduino Controllable Lightswitch

Please see version 2 on my personal blog! 
http://echotwek.com/wp/2014/03/20/arduino-controlled-light-switch-v2/

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.

DISCLAIMER.

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.






 

Share

    Recommendations

    • Make it Glow Contest 2018

      Make it Glow Contest 2018
    • Optics Contest

      Optics Contest
    • Plastics Contest

      Plastics Contest

    8 Discussions

    0
    None
    f0rc3

    5 years ago on Introduction

    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
    0
    None
    AdopteUnRouxf0rc3

    Reply 1 year ago

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

    0
    None
    pborges475AdopteUnRoux

    Reply 1 year ago

    This is what I wanted to use, but theres not a ton of room in the box :(

    https://www.aliexpress.com/item/Q17332-Hi-link-HLK-PM03-AC-DC-220V-to-3-3V-Step-Down-Buck-Isolated-Power/32634545400.html?spm=2114.01010208.3.10.8Fd9Bm&ws_ab_test=searchweb0_0,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.

    0
    None
    snander

    5 years ago on Introduction

    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
    0
    None
    pborges475snander

    Reply 5 years ago on Introduction

    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 https://code.google.com/p/rc-switch/ for the wireless and standard arduino servo code.

    0
    None
    bfarm

    5 years ago on Introduction

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

    0
    None

    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!