loading
Picture of Laser Pointer Switch
IMG_2076.JPG
laser_switch.png

This instructable will detail how to make a switch that uses an arduino to sample light. When the light sample reaches a threshold it will trigger a relay that can be used to turn on/off a small appliance (light, radio, fan, etc...) The parts for this instructable can be ordered as a kit:

Jameco Kit

http://www.jameco.com/webapp/wcs/stores/servlet/Product_10001_10001_2209967_-1

Step 1: Review relay and prep wire

Picture of Review relay and prep wire

unpackage the relay and stretch out the cable. this cable is used to activate the relay but will also be used to power the arduino. cut the wire in about two equal parts. the part with the white clip end will plug into the relay and be soldered into the arduino. the wire with the black clip end will be spliced into the usb cable to supply power to the arduino. this is also a good time to review the relay tutorial for safety information: http://www.dfrobot.com/wiki/index.php?title=Tutorial:_DFR0017_V2_Relay

 

You can use LEDs as sensors - the high power ones have a large sensitive surface.

There is something ironic about using a light sensative switch to turn a lamp on and off. lol

Nice Instructable!

nodcah1 year ago
Nice instructable! Now all I need to do is integrate it into the light switch itself!

Nice, I want to build this so I can turn off my lights without getting out of bed!