Arduino Controllable Lightswitch
Intro: 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.
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.
8 Comments
f0rc3 10 years ago
AdopteUnRoux 7 years ago
This switch is a great idea !
I would also love to have some info about powering the arduino !
pborges475 7 years ago
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
wolf68_at_gmail_com 10 years ago
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.
snander 10 years ago
pborges475 10 years ago
bfarm 10 years ago
audreyobscura 10 years ago