Home Automation


Page 1 Page 2 Page 3 Page 4

Climbing up into the attic to run wires all over the place isn't something to look forward to doing. X-10 products use the house's electrical wiring to transmit commands during that brief part of the AC cycle when there's no voltage present. While it would seem much more elegant to transmit the feedback signals via the same electrical wiring or to use radio signals, I've opted to go with the least attractive attic method for a couple of reasons:

So we're going to bite the bullet and crawl around in the attic, taking great care to not damage the house we're trying to automate - no falling through the ceiling or electrical fires, ok? Any time you do deal with the 110, you're going to turn off the appropriate breakers and take any other appropriate precautions.

This is as good a spot as any to bring up the inevitable "you're responsible, I'm blameless" disclaimer. I am not responsible in any way for any damage you do to yourself, others, or property. The circuits presented here have been tested, but are "as-is" - use at your own risk. In and of themselves they can only, at worst, blow themselves up. However, once you hook them to bigger circuits, larger havoc can be wreaked. Since I can't look over your shoulder to supervise your work, I have no way of verifying your implementation of these circuits/projects. Have someone else look over your work before you apply electricity. And look carefully at the electricity you're about to apply - I've burned myself more than once on a really hot voltage regulator that was pissed because my target circuit was hooked up backward. Even small voltages can find ways to bite you - have you ever grabbed ahold of one of those little novelty shocker pens? One single 1.5 volt battery can actually be hooked up in a way that'll light up your eyes.

Microcontrollers

A dizzying array of microcontrollers is available on the market today. Selecting one, or a family, can actually be quite a time-consuming task. Motorola's 68HC11 family has long been a favorite among hobbyists, and I gave serious thought to using them for these projects. However, I finally settled on Microchip PICmicro controllers for several reasons:

I'm a hardcore C programmer but assembly language doesn't scare me and the PIC's instruction set is effective, geared toward embedded control (which is what we're doing here). You can purchase a C compiler for it, but I haven't tried that since I'm so happy with their assembly language. If you're adament about programming in C or BASIC and your wallet is itching to volunteer, you could easily implement any of these projects using Rabbit Semiconductor's rabbit modules or the BASIC stamp modules. You can also obtain C and BASIC compilers for the Motorola 68HC11 family.

To work with PICs, you need:

Continue