Turn on and off your things with a laser! by XicoMBD
Contest Winner
There are already some great projects around here about hacking home automation systems, but what I wanted to do was to control my plugs creatively.

Thats why I decided to do this. To have the most functionalities possible I put a arduino inside the plug switch. 

This way it was possible to add a light sensor to the plug and program it to turn on and off what is connected to it using a laser.

It just compares the last three reads and, if the second value is bigger than the first and the third one, it turns on/off the plug.


Here is a demonstration:
  

WARNING:
In this project it is required to open a device which has 220V in some parts, so be careful!
I'm not liable for anything stupid you do.
 
Remove these adsRemove these ads by Signing Up

Step 1: Gather the materials

20101108_104037 .JPG
20101109_080737 .JPG
LaserControlledPlugSwitch_bb.png
Materials needed:
  • Home Automation System Switch
  • Arduino - I decided to make one, but you can use any other
  • 4N25 optocoupler
  • 220 Ohm resistor
  • LDR
  • 10k Ohm resistor
  • LED
  • 220 Ohm resistor
  • Wires
     
TheBookworm says: Feb 22, 2013. 9:21 PM
Awesome! I had a mini rocket launcher that you pointed a 'ray gun' at a target to launch. I think I will see if I can find it now.
_ryan_ says: Jul 26, 2012. 7:31 AM
Can u pls tell me how to build an arduino microcontroller used on your project with cheap materials? im from PH thanks by the way and more power
dylhraiders says: Apr 25, 2011. 6:42 PM
Do you think this switch could work?
http://www.amazon.com/AmerTac-RFK100LC-Mounted-Switch-Receiver/dp/B000HJBE68/ref=sr_1_15?ie=UTF8&qid=1303759300&sr=8-15
XicoMBD (author) says: Apr 26, 2011. 1:02 PM
I would say yes.
You should be able to simulate what the RF receiver does ;)
dylhraiders says: Apr 27, 2011. 3:25 PM
Thanks
dylhraiders says: Apr 25, 2011. 12:26 PM
Looks like a cool project. Can you provide a link for a home automation system switch? Oh and I live in America so I need a home automation switch with an american outlet (as opposed to your European one).
XicoMBD (author) says: Apr 25, 2011. 1:12 PM
I guess that any switch can be used.
I bought my kit in a local shop, so I find it quite hard to give you a link...

The only one I feel comfortable to give is this, which shows you how to build one: http://www.sparkfun.com/tutorials/119
dylhraiders says: Apr 25, 2011. 6:39 PM
Ok, thanks. I'll try to look around for one.
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!