Using X10 Hardware: Computer-Controlled Home Automation
- Posted: Oct 31, 2006 at 3:33 PM
- 8,809 Views
- 5 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
| This article showcases usage of X10 technology to interact with hardware devices. It is first article in Computer Controller Home Automation series. | |
|
Difficulty: Intermediate
Time Required:
1-3 hours
Cost: $50-$100
Hardware:
Download: Download
|
|
What is X10
X10 is a home automation technology that anyone can use to do some pretty amazing things:
X10 is Programmable
You can also combine X10 technologies with your computer and custom applications written with Microsoft Visual Basic Express or Microsoft Visual C# Express. With logic provided by your custom application, you can make some stunning upgrades to your home:
How X10 Works
X10 works by sending communication signals through your home's power lines, much like the way computers communicate across a network. X10 is a very simple network, though, and signals consist mostly of messages like, “Device A1: turn on” or “Device N5: turn off.” X10 is also capable of a few other commands, including dimming lights, or controlling all the lights in your house.
When you connect a light switch, lamp module, or other X10 device, you have to assign it a house code (A-P) and unit code (1-16). Typically, you will choose a single house code for all of the X10 devices in your house. While the default is A, it's a good idea to change the default, because X10 signals sometimes cross from one house to the next—and you don't want your neighbor to accidentally turn your lights off.
If you assign X10 devices the same house and unit codes, all the devices will respond simultaneously to a signal. For example, I have two lamps in my bedroom that I always want to turn on or off at the same time. So, I assigned them both the N1 house and unit code. When I push a switch to turn N1 on or off, they both respond.
There's a wireless version of X10 that allows you to send X10 signals from wireless motion detectors, keychain remotes, and wireless wall switches. As shown in Figure 1, an X10 wireless transceiver receives wireless X10 signals and sends them across your power lines so that wired X10 devices can respond to the commands.
Figure 1: Wireless X10 devices require a wireless transceiver.
The video shows me tackling two very common problems in my 1950's era home. First, in my bedroom (Figure 2), I use two lamps to light the room. It's annoying to have to walk across the room in the dark to turn them on, and then to reach across the bed to turn them off at night. I fixed this in about ten minutes with about $100 in X10 hardware. Now, I can turn both lights on and off from a wall switch, or control them from my bedside table. As an added bonus, I can now dim the lights.
Figure 2: In the first project, I add remote switches to control two bedside lamps.
The second problem is in my office. I have a light switch, but the light it controls is too dim. So, when I go into my office, I flip the light switch on, and then walk across my office to turn on a floor lamp. With another $100 investment in X10 hardware and about 30 minutes time, I replaced my wall switch with an X10 switch capable of controlling both the built-in light and my floor lamp, as shown in Figure 3. Now, with a single flick, I can control all the lights in my office.
Figure 3: In the second project, I replace an existing light switch so it can control an additional lamp.
This video provides an important background in X10 technology and shows you how easy it is to hook everything up. I'm really just getting started, though, because in future videos I'll connect the whole X10 system to my computer. I've got several projects in mind, and I might even use that new wall switch in my office to have my computer start automatically downloading my e-mail for me in the morning, and backing up my computer in the evening.
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?
Hi Tony
For my final year project at University I am creating a speech enabled home automation application using voicexml. A user will be able to communicate to the PC via Bluetooth, in turn the pc will be attached to a cm12u (I believe you call it cm11a on your side of te pond). Feel free to check out my blog to check out my progress and things I learn along the way:
http://smarthomeguru.blogspot.com
Do you have any code samples from what you were using for X10 control? I'm looking at software and don't really know what to look for...
@Insteon software, I have no clue what happened to the source code for this article as it is over 4 years old. This means I guess we need to do a x10 article now
@marin click the "Email blog author" link in the upper right and we can chat about you doing an article!
I’m really interested. & I’d like to cooperate developing some fun applications.
Remove this comment
Remove this thread
close