Cheap, Easy, Internet Controlled Home Automation System

Cheap, Easy, Internet Controlled Home Automation System
If you have pets/children and need to feed them or spank them via the internet this system may be of use to you. It's a very easy and cheap way to control motors, LEDs, etc. at home from any computer connected to the web.

All that's needed is a Webcam, Flashlight, Free Software, and about $15 worth of analog electronics that you can get from radio shack.

Project Overview:
This system allows remote control (via the internet) of actuators (motors, etc) at your home. It works by sensing changes in brightness at particular locations on your home computer screen (locations at which the sensors are taped). These changes in brightness are remotely controlled by you via a yahoo messenger webcam video feed between your work computer and your home computer.
For example: you're at work with a computer, a webcam, and yahoo messenger's video broadcasting activated. Your home computer is also running yahoo messenger and has a full screen view of your work computer's webcam video feed. At work you shine a flashlight into your webcam's field of view at specific locations. By varying where you shine the flashlight into your work computer's webcam you will be activating different sensors/motors at your home computer.
If this is confusing make sure to watch the video.

Advantages of this system over much more complicated systems:
= Optical isolation of PC from actuators (motors, etc)
= Uses only cheap analog components available from radioshack
= Allows control of as many actuators as desired.
= Does not require knowledge of computer programming, or server administration (i.e. PHP and Apache)
= More secure than remote desktop access software such as VNC, etc because yahoo messenger does not allow access to control your entire computer. (as far as I know,.....this last advantage might not be totally true :)

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Video:

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
Remove these adsRemove these ads by Signing Up
 

Step 1Supplies

Supplies
---What you'll need:---

either
soldering iron $8
http://www.radioshack.com/product/index.jsp?productId=2062758
OR
wire wrapping tool $7
http://www.radioshack.com/product/index.jsp?productId=2103243
(you can wire wrap directly onto component leads instead of soldering. it's less permanent but ok for prototyping)

30 gauge wire wrap wire: $4
http://www.radioshack.com/product/index.jsp?productId=2062642
needed as a flexible wire between screen mounted photoresistors and the breadboard.

photoresistor 5 pack: $3
http://www.radioshack.com/product/index.jsp?productId=2062590

2n222 transistors or relays $3
http://www.radioshack.com/product/index.jsp?productId=2062586

DC power supply (you probably have this): $20
http://www.radioshack.com/product/index.jsp?productId=2552559
you can find these in the garbage, or you probably have spare ones from appliances you don't use any more. the voltage output you need depends on the size of the motors you use. many medium sized motors need between 9 and 12 volts.

breadboard for testing $8
http://www.radioshack.com/product/index.jsp?productId=2734155
« Previous StepDownload PDFView All StepsNext Step »
31 comments
Jun 30, 2011. 4:22 PMshinea_xx says:
hey lee, - didn´t know that you are doing such crazy things... ;o)
nice greetings from good old germany, your cousin a*****
Feb 18, 2009. 5:35 PMReCreate says:
did you photoshop the cat to frown?
Mar 18, 2011. 12:57 PMDrWilson says:
This cat wasn't made by the author its all over the internet!

http://www.google.com/images?hl=en&rlz=1C1GGGE_enGB373GB373&biw=1600&bih=799&q=internet+cat+serious+business+was+made+by&bav=on.2,or.r_gc.r_pw.&um=1&ie=UTF-8&source=og&sa=N&tab=wi

Dillon
Mar 18, 2011. 2:15 PMReCreate says:
Yep, i found that out about a year ago.
Aug 19, 2009. 8:02 AMColonel88 says:
first, waste of energy. second, the screen is already really bright so it doesnt have much point. Third, and most important, when you "call" your home computer the home computer has to press a button named "Answer" how can you do that?
Aug 20, 2009. 6:03 AMColonel88 says:
No i mean that since the screen is really bright, it might set off the CDS sensor without the flashlight. and also when you put your Messenger on "Answer to everyone" you are risking your computer because someone could call you and see that noone is home
Feb 5, 2009. 6:48 AMamando96 says:
thats pretty cool! tha cat made me lol
Jan 3, 2009. 2:39 PMvince086 says:
realy good idea!! only problem is the practicality issue, sacrificing a computer, weeb cam needs to look at darkness and the computer screen in constanly on witch must use alot of power !
Jan 3, 2009. 6:42 AMDuctTapeRules! says:
The cat is not amused...
Sorry, I had to...
Jan 1, 2009. 8:11 PMekim says:
Very nice. I'm trying to think up some good applications! What if you marked the black cloth at work into a grid, so you knew which sections activated which photoresitor, then simply placed a white index card on the section when you wanted to activate it? Of course, this assumes you don't work in the dark...
Jan 1, 2009. 9:22 AMMixMasterM says:
The light sensor reading the intensity of a box on the screen is how the "teledildonics" that were released a few years ago worked. The brighter the light detected by the sensor, the faster a motor in a "marital assistance aid" would turn, thus allowing a sort of tele-presence.
Dec 31, 2008. 8:45 PMeranox says:
Great instructable! Really inventive, and I like that you did it without all the complex programming. This is something you could build in an afternoon, without reading a library's worth of books first. One suggestion, you could draw a grid on the black camera background and label each square to help you align the sensors on the home computer and to help you remember what does what when you're at work.
Dec 31, 2008. 3:53 PMReCreate says:
That cat is...unusual
Dec 30, 2008. 3:58 PMPS118 says:
That's pretty cool. Instead of messing with webcams and flashlights tho, it seems you could write a very quick Python server that adjusts the brigntness of given squares in response to CGI strings.

Just type in firefox...
"http://myhouse/automation?lamp:255" Viola! Lamp sensor square goes white, lamp goes on.
Dec 31, 2008. 9:35 AMPS118 says:
A CGI app is dirt simple. It gets the address bar parameters passed in on the command line. Whatever you print gets sent back as the "webpage".
http://en.wikipedia.org/wiki/Common_Gateway_Interface

I guess technically you also need a cgi "web server" to run it, but don't let that scare you. It's also quite simple and free source abounds. Here's a good, solid python one in only about 200 lines of code:
http://code.activestate.com/recipes/511454/
Dec 30, 2008. 5:36 PMBatryn says:
I was wondering if you put a solar panel in a box with a slit in it, then will the sun hit the panel during a specific time and activate some motor?
Dec 30, 2008. 1:29 PMmicromuffin says:
lol
Dec 30, 2008. 11:03 AMOmegas says:
Heh, there was an article in a Finnish computer mag called MikroBitti that described a similar setup in 1986. I built it and controlled things like a stereo set using my Spectravideo SVI-328 and a simple BASIC program. Good ol' times...
Dec 29, 2008. 5:05 PMAlexizupinhea says:
Good concept; circuit seems a little complicated to me. Anyway, I think it would be simpler to use LogMeIn.com and then control which USB ports to turn on and off. You can then relay those USB ports to do something else. I like your concept, just thought I'd give you some new ideas. I never actually used LogMeIn for home automation, but I'm sure you would be creative and think of some cool uses of it. :)
Dec 30, 2008. 8:04 AMgeeklord says:
logmein is AWESOME at school!! Even though its deleted as soon as the computer is restarted....
Dec 29, 2008. 5:09 PMAlexizupinhea says:
Oops, I forgot to say, the best part about LogMeIn is that all you'd really need are some relays - so its REALLY cheap.
Dec 30, 2008. 4:18 AMPazzerz says:
The best part of this is that you don't need a specific software in order to make it work. Its a better hack than using someone's software already made for remote control. This leaves open the possibility to control more devices that can be untethered from the USB ports.
Dec 29, 2008. 5:08 PMAlexizupinhea says:
Actually, I have this whole week off from school!!!!, mabye I'll try to think of some useful home automation things and use LogMeIn, then post an instructable. I'll say your instructable inspired me to do mine.
Dec 29, 2008. 1:16 PMfwjs28 says:
pretty sweet.....4/5
Dec 29, 2008. 1:09 PMcyrozap says:
Quite a workaround way to do that, but it looks like it will get the job done. This Instructable confused me at first, but when I saw the video I understood it. Nice
Dec 29, 2008. 11:45 AMjasonT says:
I remember doing this with my Commodore 64 about 20 year ago! Of course mine wasn't controlled from the internet, I just used it for running a little robot through a few preprogrammed actions.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
74
Followers
39
Author:leevonk
www.leevonk.com