You are on page 1of 196

1936 TM

COMMODORE
MICRO MANSION
64
USING YOUR COMPUTER TO HAVE A
SAFER MORE CONVENIENT HOME
DAVID B. BONYNGE

SWIMMING
POOL
CONTROLS

HEATING, COOLING AND


HOT WATER SYSTEMS

SMOKE DETECTION &


SECURITY SYSTEMS
COMMODORE 64 1M

MICRO MANSION
USING YOUR COMPUTER TO HAVE A
SAFER MORE CONVENIENT HOME
DAVID B. BONYNGE
Commodore is a registered trademark of Commodore Business Systems, Inc.
HomeBrain is a trademark of HyperTek, Inc.
HomeMinder is a trademark of General Electric.

FIRST EDITION

FIRST PRINTING

Copyright © 1985 by David B. Bonynge


Printed in the United States of America

Reproduction or publication of the content in any manner, without express


permission of the publisher, is prohibited. No liability is assumed with respect to
the use of the information herein.

Library of Congress Cataloging in Publication Data

Bonynge, David B.
Commodore 64 micro mansion.

Includes index.
1. Dwellings-Automation-Data processing.
2. Commodore 64 (Computer)-Programming. I. Title.
TH4812.B662 1985 643 '.028'54 84-26757
ISBN 0-8306-1936-4 (pbk.)
Cover illustration by AI Cozzi
Contents
Acknowledgments v

Introduction vi

1 Controlling Your Home with the Commodore 64 1


Is It Difficult?-Can I Save Money?-Can I Improve Safety and Security?-Can I Increase
Convenience and Comfort?-Concerns

2 How It Works 6
The Theory-The Basics-Availability

3 You Can Save Money 14


Tax Incentives-Figuring the Finances-Central Heating and Cooling-Attic Fans-Room Heaters and
Room Air Conditioners-Electric Hot Water Heaters

4 What's Right for You 25


Steps to Success-Tour Your Home-Product Overview

5 Setting Up Home Base 34


RS-232-to-BSR X-10 Interface-Home Security System-HomeBrain-Master System-Product Summary

6 Lights, Appliances, Room Heaters, and Room Air Conditioners 44


How Does It Work?-What Must I Buy?-What Must I Do?-How Long Will It Take?

7 Central Heating and Cooling 49


How Does It Work?-What Must I Buy?-What Must I Do?-How Long Will It Take?
8 Electric Hot Water Heater 57
How Does It Work?-What Must I Buy?-What Must I Do?-How Long Will It Take?

9 Basement Flood Sensing 60


How Does It Work?-What Must I Buy?-What Must I Do?-How Long Will It Take?

10 Burglar Alarm System 63


How Does It Work?- What Must I Buy?-What Must I Do?-How Long Will It Take?

11 Smoke and Heat Detection 73


How Does It Work?-What Must I Buy?-What Must I Do?-How Long Will It Take?

12 Notifying the Outside World 79


How Does It Work?-Features to Consider-How Long Will It Take?

13 Sensing Light and Temperature 84


How Does It Work?-What Must I Buy?-What Must I Do?-How Long Will It Take?

14 Lawn and Garden Watering 90


How Does It Work?-What Must I Buy?-What Must I Do?-How Long Will It Take?

15 Controlling Your Swimming Pool 95


Swimming Pool Filter Timer-Water Level Sensor-Robot Pool Cleaner

16 Audio/Video Control 98
Computer Link Up-Features to Control-Tips for the Media Room

17 Getting It All Together 108


Setup Notes-Data Backup-Battery Backup

18 A Case Study: The Preston Home 112


The Preston Home Control Design-The Finances--Installation-Setting Up the Software-The Preston
Software Logic

19 Gazing into the Crystal Ball 147


Conversing with Your House-Man's Best Mechanical Friend-The Home of the Future-Your Home of the
Future-A Final Note

Appendix A Home Control Product Directory 154

Appendix B Other Methods for Controlling 172


Central Heating and Cooling

Appendix C Utility Monitoring Program 176

Appendix D Optional Reading 181

Index 182
Acknowledgments
I wish to express my thanks to Hannah Blank for Cheryl Clark, for her artwork; and most of all, my
encouraging the creation of this book; my sister, wife, Kathleen, for her support and editorial efforts.

v
-- -- ---~--~-------------.---------------- --------
.....

Introduction
Would you like a powerful yet easy way to reduce computer hobbyist to gain computer control over
your heating and cooling costs, an inexpensive your home's operations. With it, however, you need
method to make your home safer, and a way to give know little more than how to read and follow this
yourself and your family greater convenience, com- step-by-step guide!
fort and enjoyment? The guide to help you do so Controlling the operations of a home by com-
is in your hands! It will explain how you can raise puter for economy and efficiency is not new, but
your home's IQ and make it come alive to work for what is new-using this book-is the ease with
you. Even if you've never changed a fuse or which you can take advantage of this technology.
touched a computer before, the step-by-step in- There are a number of books available for the
structions in this book will enable you to set up a technical-minded (and you'll find mention of some
highly sophisticated control system for your home. of them in the Optional Reading Appendix), but you
This book will show you how to transform a home need not concern yourself with theory and detail
computer and a few inexpensive gadgets into a in order to enjoy the benefits of Computer Home
Computer Home (CHC) system that will provide Control. The "techy" talk has been translated into
cost-savings, convenience, comfort, and enhanced plain English, the steps that need to be taken have
safety for you and your family. Yet it will be easy been streamlined, and they are described simply
for you to install and operate and reasonably inex- and completely. Now regardless of your level of
pensive to acquire. knowledge and experience with computers in
Controlling your home by computer may sound general, or specifically your Commodore 64, you
far-out, complicated, and expensive. It can be, but can install useful, cost-saving Computer Home Con-
with this book it need not be. Without this book, trols. And they can be fun, too!
you might need to be an electronics wizard and Some of the controls described are as easy to

vi
install as plugging a lamp into a socket and book so that you can make the most of it. Some
switching it on. Some do require simple skills and of you will be most interested in the extensive cost-
you'll be guided in performing these, so don't be savings that are possible with CHC, while others
concerned if you've never done them before. If you are most concerned about home security and safe-
like to tinker and already have some experience ty. Still others just want to get going with a few
with computers, there are still complicated fun projects to entertain friends and family and pro-
challenging projects to do, and a few are provided. vide some luxurious conveniences. A few of you
But it's not necessary to get involved with these will want a complete CHC system that has it all:
unless you want to. control of heating and cooling for cost-savings; im-
Besides the enjoyment you and your family will proved security with burglar alarms, basement
get from Computer Home Control, the savings you flood sensing, and smoke and heat detection; con-
will obtain may be many times the size of your in- venience with control of lights and appliances; the
vestment. This book tells everything you need to luxury of letting your computer decide when and
know to get the benefits of Computer Home Con- how much to water your lawn, and more. So the
trol in the most economical, trouble-free way. The book is organized according to these interests.
general ideas of Computer Home Control are Chapter 1 gives you a bird's-eye view of Com-
described in simple language. puter Home Control: how you can save money; how
you can improve home safety, security, conve-
nience, etc.; what you need to know and do to select
o How and why it works, and what you need and install CHC; concerns you may have.
to know and do to get started.
Chapter 2 is a simple nontechnical overview of
o How to estimate your potential savings. how Computer Home Control works. It explains the
o How to decide what you need and how to basic concepts that will help you understand
select the best products to meet your needs.
whichever of the specific controls you decide to in-
o How to install the necessary gadgets in your stall in your home. It describes how the Commodore
home.
64 finds out what's going on around your house,
o What safety precautions you should take. how you can order it to perform various control
o How to manage and operate your system operations, how the computer affects what's hap-
once it is installed.
pening based on your orders, and how you or-
chestrate all the pieces which must work together.
The aim of this book is to reach as many peo- Chapter 3 surveys those controls that help you
ple as possible with the benefits of CHC, and not save money-controls for home heating and cool-
let lack of experience with wiring or computers or ing and electric hot water heating. By following the
both be a roadblock to installing or using these methods presented in this chapter you can discover
powerful systems. Therefore, each step is explained whether Home Control is worthwhile financially in
as if you had never done it before. your particular situation.
The few tools you will need for installing the By the time you reach Chapter 4, you will have
controls that are described are probably in your quite a good idea of the kind of controls that are
home already: screwdriver, hammer, pliers, and possible and that make the most sense for you and
wire-strippers. A drill, while not essential, is your family. You will be ready for the tour of your
handy for starting screw-holes. Supplies and parts home on which Chapter 4 takes you. As a result
needed for particular project are identified in the of this tour, you will have identified the types and
chapter describing the particular installation. locations of controls appropriate for your particular
Before you turn to the pages describing the con- home. This chapter also begins to provide you with
trols that particularly interest you, take a moment an overview of the Home Control products available
with the following overview of the contents of this commercially for your use.

vii
You are almost ready to seize control of your systems in Chapter 10, and smoke and heat detec-
house! Chapter 5 gives you the basics you need in tion in Chapter 11. Chapter 12 explains how you
order to hook up a Home Control system to your can connect any of your CHC safety systems to con-
Commodore 64. This is done by actually looking tact the outside world: yourself at work, a neighbor,
at how a few representative products work, and the police or fire department.
notes the differences between these products and And for comfort and convenience, Chapters 13,
others that are currently available. 14, 15, and 16 take you through the steps to install
Now you're ready to begin installation. For the necessary equipment for sensing light and
those of you with little computer experience or temperature, watering your lawn, controlling your
experience with home electrical wiring, Chapter 6 swimming pool, and controlling your audio/video
starts off with the easiest controls to install. Even system.
if these are not your main interest, you may want Finally, when it's time to fully integrate all the
to install one or two light or appliance controls just features of your system, Chapter 17 discusses get-
for some simple experience with CHC. ting it all together. Chapter 18 then explores a com-
If cost-savings are your primary interest, then plete Home Control case study-the Preston home.
follow the step-by-step instructions in Chapter 7 to Chapter 19 looks to the future of Computer
control your home heating and cooling, and in Home Control including some examples of ex-
Chapter 8, if you have an electric hot water heater, perimental futuristic houses.
to control another big energy-guzzler. An extensive product directory, with names
Safety of your family, yourself and your and addresses of manufacturers and distributors for
valuables is another important area where CHC each of the types of controls discussed in this book,
can, at low cost, provide valuable service. Although can be found in Appendix A. Alternative methods
surveys have shown that homeowners are most for controlling home heating and cooling, more
likely to install safety systems in their homes only complex than those which are described in Chapter
after misfortune has struck, hopefully the ease and 7, are found in Appendix B. A simple BASIC pro-
low cost of CHC will encourage you to install these gram you can enter into your Commodore 64 is
measures before anything happens. Each of the im- listed in Appendix C. It will help you monitor your
portant types of safety systems is explained step- home's energy consumption. Books and articles on
by-step in its own chapter. Basement flood detec- related subjects you might find helpful are listed
tion is explained in Chapter 9, burglar alarm in Appendix D.

viii
1. Controlling
Your Home with the
Commodore 64

01111
I

L fantasized about sophisticated control devices


ONG BEFORE THE COMPUTER AGE, PEOPLE ing, spreadsheets, etc.). But the computer can be
integrated into the basic functions of the home. A
which could provide them with greater power over new technology is unfolding today which makes
their environment. Science fiction books, movies, three important things possible:
and television programs abound with examples
where either magic or some future era's science has D Cost savings.
given man a god-like power to simplify, entertain, o Increased safety and security.
protect, or in some way improve the control over D Increased convenience and free time (and
life. But while the level of interest in such devices some fun, too!).
and capabilities is clear from the sheer volume of
the fantasy projections of the future, their prac- Before going any further, however, let's discuss
ticality has seemed remote. Today, except to a few a bit about how complex this book is going to be.
"techy" hobbyists, and a handful of tiny, unheard
of product manufacturers, actually having such con-
trols still appears unrealistic. IS IT DIFFICULT?
The problem, however, is not technology. The Many of you who have read this far may be get-
problem is that the average consumer is not aware ting anxious that this book is going to become very
of the availability of these products, their com- technical in just a few short chapters. Well, relax.
patibility with a Commodore 64, or the ease with It isn't. This book has been carefully structured
which they may be installed. with ideas and products so even the beginner can
Up until now, the home computer has been use it.
used for basically three things-entertainment, You may be thinking that since you don't have
education, and business applications (word process- the time to become an electrical engineer and a

1
computer programmer, Computer Home Control is fuel savings. CHC works much the same way,
not for you. Perhaps if you've already started us- though much more efficiently, and conveniently.
ing a personal computer, you may have had some CHC turns a "dumb" heating system into a
disappointing experiences. And no doubt you've "smart" one, while maintaining comfort levels
been told by someone that something was really similar to or better than you now have. CHC senses
simple, when it wasn't at all. And now this book the heat necessary, and only when necessary, and
comes along and tells you how easy this is to do. provides no more. Although Chapter 7 describes
But Computer Home Control sounds more complex more thoroughly how the Commodore 64 does
than most things. So which is right? this, the following is a preview explanation:
Both are correct! Overall, Computer Home Your thermostat controls the operation of your
Control (CHC) is a complex use of the computer. heating system and maintains the desired
However, to draw an analogy, this book won't be temperature by opening or temporarily disconnect-
describing how to do something like build a com- ing the circuit when the desired temperature and
ponent stereo system from transistors and circui:t the actual temperature of your house match. CHC
boards. Instead, it will tell you how to plug the com- uses the same principle, but works with the ther-
ponents together and then how to operate it. mostat to tell such things as the time of day, the
Everything in this book will be explained using sim- day of the week, whether someone is at home, what
ple, step by step guidelines and can be easily in- time someone is expected home, and even what
stalled with just a few common household tools. part of the house is occupied. Your Commodore 64,
Enough said about ease. What about the in effect, is able to interpret many pieces of infor-
benefits? mation, and automatically adjust the thermostat ac-
cordingly. It can control execution of your orders
whether you are at home or away from home. This,
CAN I SAVE MONEY? of course, is an oversimplification, but nonetheless
CHC saves you money by turning your energy- should help you understand just how useful your
consuming equipment off when it is not really need- CHC system can be.
ed and on only when it is needed. But, you ask, who Computer control of home cooling, if you have
needs a computer to do that? I can do it myself. And either central air or separate window units, can af-
besides, my thermostat does it for me. fect other significant savings and operates similar-
That is certainly true as far as it goes. You ly to the heating scenario described above. The
could turn your heating system off or down as you Commodore 64 can control the amount of cooling
wished, and you do control the level of heat in your provided for different periods of the week or day.
home by setting the thermostat at a selected And you can change your orders whenever you
temperature. But in your daily life, there are wish, as well as giving the Commodore different
doubtless times when the level of heat required is orders to follow on weekends from those followed
lower than the thermostat is actually set for, on weekdays. Once you tell it what to do, it will
because no one was around to turn it down. automatically follow those orders until they are
Proponents of Home Control claim that their changed. You can even make different schedules
system can make sound financial sense. Some users for different times of the year, or for extended times
of CHC claim up to a 35 percent reduction in their when no one will be occupying the house-such as
heating fuel usage. In areas with high heating costs, vacations.
it is estimated that CHC can pay for itself well The next biggest energy-guzzler in the home
within a year's time. is the hot water heater. (This book describes how
You may already obtain some savings by turn- to control an electric hot water heater only.) If you
ing down the thermostat at night when all are have an electric hot water heater, with CHC you
asleep. This alone can have a significant effect on can reduce its drain on your wallet, yet provide your

2
family with all the hot water it needs, when it is basement has ever flooded, you know what damage
needed. As with the other energy-saving (cost- water can do. Not only is it a huge mess to clean
reducing) areas, the basic principle is to turn it on out, but water can be very destructive and damage
when needed and off when not needed, and to do your furnishings, possessions, and even the struc-
so automatically. Obviously, you don't need hot ture of your home, itself. The pain and cost can be
water when no one is at home, and you probably enormous. While CHC may not be able to pump out
don't need it when you're asleep. You could have your basement, it can be used to make you aware
your heater started by the Commodore 64 in time of the situation before it gets out of hand.
to have adequate hot water for the day's routine, Burglar Protection. If your home is in an
such as showers in the morning, dishwashing and area where other homes have been broken into, you
baths in the evening, and hot water for the laun- may be concerned that it could happen to you.
dry on the particular day(s) that it's done. The rest Many previously safe neighborhoods are becoming
of the time the heater could be turned off by the more vulnerable to crime each year. Most people,
Commodore, ticking off savings for you with every of course, don't become interested in buying a
moment not in use. burglar system until they, a relative, or a neighbor
Heating, cooling, and hot water are the biggest have been victimized. But doesn't it make sense to
energy consumers in most private homes. By con- act with reasonable precautions before something
trolling these with your Commodore 64, you can happens rather than wishing you had in the after-
save substantially on energy costs. Chapter 3 will math? You may have even priced home burglar
delve into greater specifics in this area. You'll even systems and, because of the high cost, deferred a
be able to estimate your savings with the cost in- decision to have one installed. Well, CHC has some
volved in setting up your CHC system, and you may good news! A burglar alarm capability connected
be pleasantly surprised at how quickly your new to your Home Control system will be much less ex-
equipment will pay for itself. pensive than a stand-alone system, and again pro-
Also, having a CHC system can produce cost bably much more flexible.
savings in a number of other areas. These include Actually, this can be as simple or sophisticated
turning off your lights and appliances when not as you would like. A classic method to discourage
needed, protecting you from flood damage, burglars is to give your home the appearance that
discouraging a burglar, or preventing a fire in your it is occupied when no one is actually there. The
home from going beyond control. CHC can provide computer can be used to randomly turn on lights
the potential for savings (or loss reduction) in all (both indoors and outdoors) and a radio or televi-
these areas. sion and thereby provide a "lived in" look. This is
particularly useful if no one is home during the
weekdays, or when you're on vacation.
CAN I IMPROVE SAFETY AND SECURITY? A second type of burglar prevention system is
Safety and security controls are an extremely im- to have your CHC system actually able to sense a
portant use of CHe. You can set up a single kind variety of disturbances. This can range from sen-
of protection for your home, or a combination of sors to detect if a door or window is being tampered
security systems, and the total cost may be con- with, to more sophisticated devices that can sense
siderably less than a single purpose (noncom- motion or sound. The Commodore 64 can interpret
puterized) system. Also, your CHC system will like- these disturbances, and take action as necessary.
ly be much more flexible. The action could include sounding an alarm,
Three basic types of security systems will be flashing lights, broadcasting a recorded (or com-
covered: basement flood, burglar, and fire protec- puter synthesized) message, or even alerting the
tion systems. police. One action or many can be handled by your
Basement Flood Protection. If your home Home Control system, and all can be made to hap-

3
{ 1

pen in the appropriate order, or even o Turning on the front door light prior to your
simultaneously. arriving home on a cold winter's night. And once
Fire Protection. Certainly everyone is aware you open your front door, a path of lights can
of the advantages of smoke detectors in the house. automatically turn on your kitchen or den area.
CHC uses heat and/or smoke detectors similar to (Makes your computer seem kind of friendly,
those that you may already own. But CHC is more doesn't it?)
efficient for two reasons. First, it can warn the en- o Watering your lawn after sensing the
tire house that the hazard is present. This can be moisture content of the soil.
especially important if your basement detector o Allowing you to turn your morning coffee
senses a fire while you're sleeping on the second on from your bedroom (so it's ready by the time
floor. Just maybe you'll hear an ordinary smoke you drag yourself to the kitchen), and checking later
detector before any real damage is done! And to make sure the coffee pot is off.
second, suppose you have a fire and no one is home. o During the summer, sensing that the out-
With CHC you can have outdoor sirens attract at- door air is cooler than the indoor air, and in turn,
tention, or even notify the fire department via your having the attic fan take advantage of the situation.
Commodore 64 and the phone lines. o Monitoring the water level in your swim-
These three areas of safety and security (base- ming pool (if you have one), or having the pool filter
ment flood, burglar, and fire protection) can all be turn on and off at the appropriate hours of the day.
controlled with ease by your Computer Home Con- o Shutting down your stereo or television
trol system, and they can be yours with a modest after you have gone to bed and fallen asleep.
amount of time, money and attention.
This list can go on and on. Only you can deter-
CAN I INCREASE mine your specific needs and desires. Chapter 4 will
CONVENIENCE AND COMFORT? help guide you in planning your overall CHC
system. This list, however, should serve as a brief
Any light or appliance that plugs into an electrical
overview of the convenience and comfort items
outlet can be controlled by your computer.
which can be handled automatically for you.
However, it is recommended that a little common
sense be exercised in selecting the devices to be
CONCERNS
controlled by your computer and in how they are Safety precautions have been hinted at more than
controlled. For safety reasons, you may not wish once in just these few pages, and you may be con-
to have your Commodore 64 turn on items that heat cerned about something that requires so many safe-
up without making sure that the Commodore will ty reminders. Let's talk about that right now. Elec-
also turn them off at the appropriate time. As an tricity is a potent force, and, if approached im-
example, you may want to manually turn on your properly, can cause disaster. However, we use elec-
toaster oven for your morning Danish. If you are tricity in every aspect of our lives, and as long as
like me (at times a little forgetful!), you may wish a few simple rules are followed, there will be no
your Commodore to check and, if necessary, turn problems.
the toaster oven off. The first rule is to know your own limitations,
Bearing in mind such common sense safety and if you feel uncomfortable performing a given
precautions (and you'll be reminded more than task, by all means, call in appropriate help (an elec-
once), you can have your Commodore start and stop trician, etc.).
any number of devices around your home to pro· A second rule that should never be broken is:
vide a more pleasurable environment. These might always disconnect (shut off) the current
include: before performing any electrical work.

4
A third rule is: always follow manufac- Does Home Control with a Commodore 64
turers' safety precautions and recommen- mean that the computer is always going to be tied-
dations. Be sure to follow details such as plug- up to the Home Control system, or can it be used
ging grounded (three prong) plugs in appropriate- for other things as well? This depends on your par-
ly and not going beyond recommended wattage or ticular Home Control equipment. Most Home Con-
voltage levels (to be more fully explained later). trol systems rely on the Commodore 64 for the
The fourth rule is: make sure that electrici- brain of the system, while others (those with their
own microprocessors) only need to be pro-
ty and water do not mix. Always make certain
grammed by the computer, and afterwards can run
that you only use electrical items that are specifical-
independently. This means your computer is free
ly designed to be used around water when such
to do other tasks while your Home Control system
work is being done.
is up and running. The other type of Home Con-
Most of the electrical work to be done will be trol systems (those that need to be constantly tied
at 24 volts or less (normal house current is 120 to the computer) usually can only run other applica-
volts), and this should minimize your fears. Where tions when not being used for Home Control.
voltages are higher, it will be clear, and appropriate And what about power failures? You may
messages will be given. decide that you can handle the installation, but
You may be wondering how much wiring is you're worried about relying on an electrical system
necessary in order for your CHC system to work. that can fail at a critical time from a power outage.
Will your house become a mass of criss-crossing Be assured that this topic will be covered, and your
wires, and will this ruin its appearance? Well, it system, if so desired, can provide for such
turns out that the majority of items controlled by contingencies.
(or linked to) the Commodore 64 can be operated Once set up, the operation of your CHC system
by sending signals over the wiring that is already can be simple too, and you'll be guided through this
in your home. Therefore, most things will need no aspect. It will take very little time for you to give
wiring work at all. Other items connected to your your Commodore 64 its orders to control your house
computer will need some wiring, but this is general- exactly as you desire; and, once you provide the
ly at the low voltages noted above, and requires orders, you need not touch it again, unless you want
relatively thin wires that can easily be hidden from a change.
sight with very little effort. Actually, a very few By following this step-by-step guide to Com-
wires can perform most of the tasks discussed in puter Home Control, you should soon be the proud
this book. owner of the smartest home on your block!

5
~-------~-~ ---------------------------------

2. How It Works

01111
,

Y OU'RE CONVINCED! COMPUTER HOME CON-


trol is useful. Now this chapter gives an over-
THE THEORY

view of how it works. This is where you might ex- Just in case you are worried that Computer Home
pect to hear the nitty-gritty, the bits and bytes of Control means giving up the control of your house
machine language programming, the volts, ohms, to your Commodore 64-reminiscent of the way
and amps of electrical work, the redecoration of HAL (the computer in the movie 2001) took con-
your home in sensors and wires. NOT TRUE! Take trol over the spaceship-be assured this won't hap-
a deep breath and read on. You'll be pleasantly pen. It does mean, however, that you can delegate
surprised. some of your responsibility for Home Control. In
This chapter does not assume that you have many ways, the Commodore 64 can be a more effi-
had a great deal of prior experience with your Com- cient controller than we humans. Let's see why.
modore 64. (For those of you who are experts with First of all, the computer doesn't need to sleep.
the Commodore or computers in general, please be This immediately makes it available to perform
patient with a few definitions and explanations.) Be work while you cannot. The computer doesn't get
assured that this will not make you into a techni- tired or bored, it never needs a change of scenery
cian. It will merely explain the concepts of Com- or a coffee-break. So a computer can keep on
puter Home Control. The chapter is divided into working-sensing and doing all its other chores as
two parts. The first section explains Computer well-all day and all night, day in and day out,
Home Control "in theory" using an analogy to cur- month after month, year after year.
rent Home Control-you! The second half of this Second, a computer can keep track of a lot of
chapter overviews the basic components and diverse activities at once. You or I might get con-
defines the terms that will be used throughout the fused if we tried to pay attention to seven things
rest of the book. at once-someone talking, the temperature of

6
another room, the degree of light outside, whether dark in a room, or in other words, your eyes could
or not we turned off the coffee pot, all with one eye not sense enough light.
on the clock to see if it's time for our next chore, Just as a human control process begins with a
then checking the calendar to see if it's a work- perception, or a sensing of a particular condition,
day or the weekend, and making sure no one is so does a Computer Home Control system. Your
breaking in through any doors or windows. But a CHC system will use devices (sensors) which are
Computer Home Control system, if set up to do so, designed to sense a particular condition. Each sen-
can do all these things at once with the greatest of sor is placed where it can perceive whatever you
ease, and still have unused capabilities to do other want it to sense. For instance, if you want your
things we might dream up for it later. Commodore 64 to know when it gets dark outside
Third, a computer does not make mistakes. (so it can tum on a light), your sensor should be
Period. With human nature what it is, we are all placed near a window. In this way, the Commodore
guilty occasionally of blaming someone or will be able to see outside. Figure 2-1 illustrates this
something else when we goof, and blaming the com- idea.
puter for mistakes is a favorite. It may appear that For many of the human senses there is a cor-
a computer made a mistake, but a computer responding computer-controlled sensor.
mistake is always ultimately traceable to some
human error. Human Sense Sensor
Seeing Light sensor (senses degree of light
How the Commodore 64 Senses and dark).
Hearing Motion sensor (senses movement).
A computer controls the operations of your home
Sound sensor (senses volume or
much like you would do it yourself. Why do you
pitch).
tum on a light switch? Probably because it's too
Some can be sophisticated enough

Light Sensor

01111
Computer

Fig. 2-1. Computer sensing light.

7
that when coupled with a computer eyes, but from our ears, fingertips, nose, and other
they can understand spoken words. sensing spots), computer sensors must have a net-
Touch Heat sensor (senses temperature). work over which to send their messages to the com-
Moisture sensor (senses moisture puter. The network might be composed of visible
or liquids). wires, such as those you use to connect your table
Smell Smoke sensor (smoke detector). lamp to an electrical outlet (although usually a much
smaller gauge of wire), or the network might be in-
visible, such as messages sent as radio frequencies.
As you can see, while there is at least one
(sometimes more than one) sensor for most human
How the Commodore 64 Thinks
senses, the man-made version cannot do as much
as the human sense can do (fortunately!). It can do You made the decision to turn on the light switch
enough, however, to be very useful in the home. based on information beyond the fact that it was
In computer terminology, the sensor is an in- too dark-the information provided by your eyes.
put device to your Commodore, and the data which You already knew, for instance, that by flipping the
the sensor is gathering and sending is input just as light switch you could make the light go on. This
surely as is the data you might key in at the information had to be learned. Another piece of in-
keyboard or load from a tape cassette or from a formation was the actual location of the light switch.
diskette. In a dark, unfamiliar hotel room you may have dif-
A special case of computer sensing is that of ficulty locating the switch. In your house, it's usual-
telling time. In CHC this is a very important func- ly second nature.
tion which your Commodore 64 must be able to per- The computer processor also needs a certain
form, since many control requirements are tied to amount of information in order to decide to take
a specific time of day, or day of the week, or both. a specific action. Later, you'll learn what the Com-
There are two types of clocks which a computer modore 64 needs to know, and how it can obtain
can refer. One is a hardware clock that is provided (or at times, how you can provide) the necessary
as part of the computer or as an add-on computer information. Just remember that part of the infor-
board. The other is a software clock-a program you mation the computer needs is what your wishes are.
can load into your computer which simulates the It doesn't decide things for itself!
time keeping of a clock. For now all you need to
know is that a computer, once given a hardware or How the Commodore 64 Takes Action
software clock, will be able to execute your orders When your brain determined that it was too dark,
(by sensing time) at a given time of day, or (depen- it decided some sort of reaction was appropriate.
ding on sophistication) day of the week, etc. In this case, the reaction was to move to the light
The next step in the Home Control process is switch, raise your hand, and manipulate your
to get the needed information to the brain. When fingers in such a way that the switch was turned
your eyes sensed the darkness, a message trav- to the on position.
eled from your eyes to your brain. 'When your brain Similarly, the Commodore can be pro-
received the message that it was too dark to see grammed to decide to take a particular action when
comfortably, it could begin to make the decision to and only when certain conditions are sensed. It can
switch on the light. also be programmed to take into consideration
Having sensed something, a computer con- many different conditions, and to have a plan of ac-
trolled sensor must be able to communicate its find- tion for each. This is a rather abstract way of say-
ings to the computer brain, or processor. Just as ing that you could control, for example, your lights,
each of us has a network of nerves through which heating system, and burglar alarm, each with its
messages travel to our brain (not only from our own set of rules. Or you could have one dependent

8
Light Sensor

B:J IIII
L \0

Fig. 2-2. Computer signaling lamp according to sensor input.

upon another. For instance, you might have your will see) often require no additional wiring to run
outside lights go on at sunset and go off at throughout the house.
midnight-except when the burglar alarm system
is triggered, where you may want all the lights in THE BASICS
your house to go on at once.
The basic components necessary for Computer
The program can be as simple or as complex
Home Control are displayed in Fig. 2-3. The com-
as you like. If you like to write programs, you can
ponents shown in the figure are listed below in
write your own. But you need not. Many of prod-
order of discussion:
ucts described in this book can be easily con-
trolled with off-the-shelf programs that are often 1. The Commodore 64.
provided by the manufacturer of the control 2. The sensors.
equipment. 3. The sensor interface.
Once the Commodore 64 has decided that 4. The software.
something should happen, based on your instruc- 5. The control system.
tions and the conditions(s) it has sensed, it has to
For your reference a product directory is pro-
execute that action. It does so by transmitting the
vided towards the end of this book (Appendix A)
message (or output) to the device that will perform
to help you match components to your particular
the action. In our light switch example, the com-
situation.
puter must be able to signal (send a message) to
a control device that can in effect operate the light
switch, as illustrated in Fig. 2-2. The Commodore 64
The computer can be made to signal a wide The Commodore 64 computer is the basic brain that
variety of actions by sending the appropriate will be used in this book for Home Control. The
messages to various types of control devices. These Commodore is particularly nice because of the wide
control devices can be simple to install and (as we variety of Home Control Products available to

9
which it can be linked and the very reasonable price commonly referred to as a digital message to the
of the computer itself. Your Commodore can con- computer.
trol all of the functions described in each of the com- The second kind of message tells the degree
ponent or application chapters-Chapters 6 through to which something is happening. It might be used
16. for a temperature sensing purpose. The
temperature should be measured not in terms of on
The Sensors or off, (hot or cold), but in terms of how hot or cold
Prior to discussing the sensors, a few notes on com- it is. A whole array of possibilities exist, and you
puter sensing in general are appropriate. Computer may want to know anyone of them. This type of
sensing can be of two basic kinds. The first kind sensing is commonly called an analog message.
is being able to sense whether something is on or As shown in Fig. 2-3, the equipment for sens-
off. The second is being able to tell "to what ing usually requires some wires to be run
degree" something has happened. The on or off throughout the house. However, as you will see,
condition is the simplest and, as an example, is this can be handled with reasonably few wires, and
used for such a function as telling whether a door since all sensing described will be at low voltages,
is opened or closed (for possible use in a burglar the types of wires used can be small and hardly
alarm system). This on or off sensing method is noticeable.

r----.,
,House Wiring

E-Electrical Outlet

r:l Diskette
LLJ (Software)

01111
Sensor X-10
Interface Controller

Fig. 2-3. The basic components of Home Control.

10
The sensors themselves are usually quite small BASIC or machine language programming on your
(some literally not much bigger than the head of a part.
pin), and will be relatively unobtrusive when located In selecting your equipment, make sure you ful-
around the house. As noted previously in this ly understand what type of programming may be
chapter, different sensors can be used to detect required (none, BASIC, machine language, etc.). If
light, temperature, moisture or liquids, motion, you are not a programmer, buy equipment that in-
sound, smoke, etc. Actually, there are many more cludes fully documented and easy to run
sensors of various types than will be mentioned in preprogrammed software. Packages that are simply
this book. For the sake of brevity, only a selection hardware packages usually require a reasonable
of those that have been found useful in CRC will understanding of BASIC programming, and often
be described. You, of course, may wish to research at least a conceptual understanding of machine-
a bit further and discover some sensors that are of language programming. Choose your equip-
particular interest for you. ment according to your programming
capabilities and your interest in
The Sensor Interface programming.
Unfortunately, sensors are not very good at com- For those of you who are programmers, yet
municating directly to a computer. Nor do most wish to purchase a package with complete software,
computers come with the capability to directly in- most (if not all) of the packages which include soft-
terpret sensors. Therefore, some sort of interface ware described in Appendix A also allow for self
is necessary so that messages sent from the sen- programming of software, if so desired.
sors can be interpreted into something the Com- Also, be sure that if you are buying equipment
modore 64 will understand. For this purpose, a sen- from different vendors, that the software provided
sor interface is needed. These devices are called by can be used in conjunction with both the sensor in-
many different names, but usually they can be par- terface and controller equipment purchased.
tially identified by the terms interface or digital in-
terface or analog interface, etc. Some of the The Control System
projects described in this book will use analog sen- There are a number of types of computer control
sors, but most will use digital sensors. Since both (or signaling) methods available, some of which re-
are important depending on the particular project, quire wires to be running all over your house. This
it is recommended that your sensor interface have causes two problems: the added difficulty of wir-
both capabilities and enough separate connection ing, and the poor aesthetics of a jumble of wires
jacks (terminals) to interpret your various sensors. around the house. Therefore, it is highly recom-
This may sound a bit confusing at present, but mended for any extensive control signaling system
things will become clearer as we proceed. that you use an XlO Control System. Almost all of
the control applications in this book are han-
The Software dled using this method, because it is the easiest and
The software (computer instructions) is necessary most flexible, and because it is reasonably cost
to tell your particular system what to do, how to effective.
do it, and when. Software makes your Commodore As noted in Fig. 2-4, X-IO Systems transmit
understand what it is sensing (whether it senses signals from your Commodore 64 and X-IO Con-
time, heat, light, etc.), and converts that informa- troller via your existing house electrical system
tion into the appropriate signal (turning on a light, simply by connecting the X-IO Controller to your
signaling an alarm, etc.). Many of the sensor inter- computer and plugging it into a wall outlet. That's
faces or control systems (sometimes sold together all there is to it. The signals are sent as pulse
as one product) come with software, while a few messages through your house electrical system and
come with only basic explanations and may require are received by X-IO Modules. The modules, in

11
r -------,-----------

E-X-10 Module

E-House
Wiring

01111
i ,~

X-10
Controller

Fig. 2-4. In the X-l0 System, the X-l0 Controller sends pulse messages to X-10 Modules.

their most basic form, are usually small boxes a few outlets.
(roughly a cube measuring about 2 inches in each You may also want to consider equipment
direction) that contain both a plug (to be inserted which includes relays as part of the Control System.
into a wall outlet) and a socket which can receive Relays can be used where electrical items need to
the plug from a lamp, a radio, etc. The best part be switched on or off, similar to the X-10 System,
about using the X-10 System is its great ability to except that hard-wiring is necessary. Mechanical
control many, many household functions-up to 2:56 relays work by turning on or off an electro-magnet.
separately controlled items. Each module has 16 This magnet in turn is able to operate an electric
House Code settings from A-P, and 16 Unit Code set- switch that actually turns on or off the item (lamp,
tings from 1-16. The sixteen House Codes times the appliance, etc.) to which it is connected. A relay
16 Unit codes equals 256 separate messages that system can be particularly helpful for applications
can e understood, and therefore, 256 items can be (such as a burglar alarm system) where a Home
controlled independently. That's a lot of control! Control function is desired to operate during a
Another advantage of the X-10 System is that power outage of normal house current. Unfor-
the modules are widely available from AT&T tunately, the X-10 System will not work at such
Phone Stores, Sears, and Radio Shack to name just times.

12
AVAILABILITY distributors are sources for peripheral devices, and
This book tries to present only readily available they will sell those that are readily adaptable to
types of equipment and will suggest retailers where their specific systems. Many devices are also
these items can be obtained. Also, some of the Sen- available locally. Refer to the Product Directory in
sor Interface and X-lO manufacturers and Appendix A.

13
3. You Can Save Money

01111
, \0

A LITTLE OVER A DECADE AGO, BETWEEN 1973


and 1974, a barrel of oil rose from about
Keep in mind that in this chapter only the
money savings related to saving energy will be
$3.50 to over $11.00. And the nation's awareness discussed. However, as was stated in Chapter I,
of energy costs and consumption rose according· CHC can also be a money saver by helping to pro-
ly. Since then, many books have been written on tect your home from the disaster of a fire, burglary,
how to handle energy costs more efficiently. Com- or flood. CHC also saves on the smaller energy
puter Home Control can be a significant step users by turning off lights, TVs, radios, and other
towards helping you better control these costs over appliances when not needed.
time.
This chapter will show you just how CHC can TAX INCENTIVES
assist as one of a number of potential steps to help If your main interest in CHC is financial, here are
you keep your energy costs down. Other valuable the facts and figures needed to convince you. For
steps might include sealing and insulation, main- many energy conservation projects for the home,
taining your furnace and water heater to work ef- federal and state governments offer tax incentives
ficiently, and alternative energy sources such as that may cut your costs significantly. Some utility
solar, wind, and wood-burning stoves. Computer companies offer loans at low rates for such projects,
Home Control is one step, taken alone or with so you may wish to contact them, as well.
others, that offers better comfort, pays for itself and The laws which affect these tax incentives vary
saves money for years to come. CHC saves money from state to state and tend to change at a fairly
by using energy only when it is needed. At all other rapid pace. Therefore, it's recommended that you
times, when energy is normally wasted, CHC shuts contact the appropriate agencies (see Fig. 3-1) to
down or lowers energy consumption according to get the most up to date information. Incentives are
your wishes-automatically. varied, and include the following:

14
Federal Florida Maine New Hampshire
National Solar Heating State Energy Office of Florida Office of Energy Resources Governor's Council on Energy
and Cooling Infolmation 301 Bryant Building 55 Capitol Street 26 Pleasant Street
Center: Tallhassee, FL 3:2301 Augusta, ME 04330 Concord, NH 03301
800-523-2929 (904) 488-6764 (207) 289-3811 (603) 271-2711

IRS Information Georgia Maryland New Jersey


800-772-2345 Office of Energy Resources Maryland Energy Policy Office New Jersey Department of Energy
270 Washington Street, SW. Room 1302, State Office Building 101 Commerce Street
Alabama Atlanta, GA 30334 301 West Preston Street Newark, NJ 07102
Development Office (404) 656-5176 Baltimore, MD 21201 (201) 648-3290
Office of Governor (301) 383-6810
State Office Building Hawaii New Mexico
Montgomery, AL 36104 Energy Management and Massachusetts Energy and Minerals Department
(205) 832-6960 Conservation Office State Energy Office P.O. Box 2770
Department of Planning and 73 Tremont Street Santa Fe, NM 87501
Alaska Economic Development Room 700 (505) 827-2471
Division of Energy and Power 1164 Bishop Street, Suite 1515 Boston, MA 02108
Development Honolulu, HI 96813 (617) 727-1250 New York
Department of Commerce (808) 548-4090 New York State Energy Office
338 Denali Street Idaho Michigan Agency Building 2
Anchorage, AK 99501 Office of Energy Michigan Energy Administration Empire State Plaza
(907) 276-0508 State House Department of Commerce Albany, NY 12223
Boise, 10 83720 P.O. Box 30004 (513) 474-2121
Arizona (208) 334-3800 Lansing, MI 48909
Energy Programs Office (517) 373-0480 North Carolina
Office of Economic Planning Illinois Department of Commerce
and Development Minnesota Energy Division
Institute for Environmental
1700 W. Washington Quality Minnesota Energy Agency 215 East Lane Street
Phoenix, AZ 85007 222 South College American Center Building Raleigh, NC 27611
(602) 255-3303 Springfield, IL 62706 150 E. Kellog Blvd. (919) 733-2230
(217) 785-2800 SI. Paul, MN 55101
Arkansas (612) 296-6720 North Dakota
Arkansas Energy Conservation Indiana North Dakota Office of Energy
Indiana Energy Office Mississippi
and Pol icy Office Management and Conservation
Department of Commerce. Mississippi Fuel and Energy
960 Plaza West Building 1533 North 12 Street
Seventh Floor Management Commission
Lee & McKinley Streets Bismarck, NO 58501
Consolidated Building Suite 228, Barefield Complex
Little Rock, AR 72205 (701) 224-2250
Indianapolis, IN 46204 455 North Lamar Street
(501) 371-1379
(317) 232-8940 Jackson, MS 39201
Ohio
(601) 961-5099
California Ohio Department of Energy
Energy Resources Iowa Missouri 30 E. Broad Street, 14th Floor
Conservation and Iowa Energy Policy Council Missouri Energy Program Columbus, OH 43215
Development Commission 215 East 7th Street Department of Natural (614) 466-8476
Resources Agency Des Moines, IA 50309 Resources
704 11th & L Building (515) 281-6679 Box 176 Oklahoma
Sacramento, CA 95814 Jefferson City, MO 65102 Oklahoma Department of Energy
(916) 920-6811 Kansas (314) 751-4000 4400 N. Lincoln Blvd.
Kansas Energy Office Oklahoma City, OK 73105
Colorado 503 Kansas Avenue Montana (405) 521-2995
Office of Energy Conservation Topeka, KS 66603 Energy Division, Department of
1600 Downing (913) 296-2910 Natural Resources and Oregon
Denver, CO 80218 Conservation Department of Energy, Room 111
(303) 839-2507 Kentucky 32 South Ewing Labor and Industry Building
Kentucky Department of Helena, MT 59601 Salem, OR 97310
Connecticut Energy (406) 449-3780 (503) 378-4128
Office of Planning and P.O. Box 11888
Management Iron Works Pike Nebraska Pennsylvania
Energy Division Lexington, KY 40578 Nebraska State Energy Office Governor's Energy Council
20 Grand Street (606) 252-5535 State Office Building 1625 North Front Street
Hartford, CT 06115 1-800-432-9014 P.O. Box 94841 Harrisburg, PA 17102
(203) 566-2800 Lincoln, NE 68509 (717) 783-8610
Louisiana (402) 471-2867
Delaware Office of Conservation Rhode Island
Delaware Energy Office Department of Natural Nevada Rhode Island Energy Office
P,O, Box 1401 Resources Department of Energy 80 Dean Street
56 The Green P,O, Box 44275 1050 East Williams Street Providence, RI 02903
Dover, DE 19901 Baton Rouge, LA 70804 Carson City, NE 89701 (401) 277-3370, or
(302) 736-5647 (504) 342-5540 (702) 885-4840 (401) 277-3773, Collect

Fig, 3-1. Federal and State energy information addresses. (Continued to page 16.)

15
South Carolina Texas Virginia Wisconsin
Office of Energy Resources Texas Railroad Commission Office of Emergency and Office of State Planning
S.C.N. Building P.O. Box 12967, Capitol Station Energy Services and Energy
1122 Lady Street Houston, TX 78711 310 Turner Road 1 West Wilson, Room B 130
Columbia, SC 29201 (512) 475-0510 Richmond, VA 23219 P.O. Box 511
(803) 758-8110 (804) 745-3245 Madison, WI 53701
(608) 266-8234
Washington
South Dakota Utah State Energy Office
Office of Energy Policy Energy Office Department of Natural Wyoming
400 East Union Energy Conservation Office
Department of Executive Resources Olympia, WA 98504
Management 231 East 200 South Capitol Hill Office Bldg.
(206) 753-4409
Foss Building Salt Lake City, UT 84111 320 West 25 Street
Pierre, SD 57501 (801) 533-5424 West Virginia Cheyenne, WY 82002
(605) 773-3603 Fuel and Energy Division (307) 777-7131
West Virginia Office of
Tennessee Vermont Economic and Community
Tennessee Energy Authority Vermont State Energy Office Development
250 Capitol Hill Bldg. State Office Building 1262'12 Greenbrier Street
Nashville, TN 37219 Montpelier, VT 05602 Charleston, WV 25311
(615) 741-3023 (802) 828-2393 (304) 348-8860

o Credits: Amount you may be allowed to mostat, or to control an active solar system) is to
deduct directly from tax owed (state credit often make sure that you include any appropriate tax in-
related to federal). centives when figuring the financial feasibility of
o Deductions: Amount you may be allowed your project.
to deduct from your income prior to being taxed_
o Loans: Usually from utility companies or
related state agencies that offer low interest rates. FIGURING THE FINANCES
o Property Tax Exemptions: Adding energy The following example is a method to calculate the
saving systems to the home, in some states, can- portion of your CRe system used for saving energy
not add to the assessed value of your home for pro- and thereby saving money. It can easily be applied
perty tax purposes. to your specific situation. This section is meant to
o Sales Tax Exemptions: Some states do not show how CRC can potentially cost justify itself.
add sales tax on equipment for energy conservation. Though related, it is not a complete methodology
for doing an overall cost justification of energy
Federal tax incentives (credits) include dollars projects in the home; it is merely a method to cost
spent for insulation (storm windows, insulating justify the CRC portion of an energy project.
materials, caulking, weather-stripping), flue
dampers, pilotless ignitions added to the furnace, 1. First, decide which energy saving and CRC
and set back thermostats. The credit is 15 percent related projects may be appropriate for your par-
of the cost for the first $2000 spent (up to $300 max- ticular situation_ (Chapter 4 will be helpful in this
imum). There is also a 40 percent on amounts up process.)
to $10,000 for the cost of any eligible active solar 2. List the cost of each project. As an exam-
system or wind or geothermal installations pur- ple, suppose your house has two heat zones that you
chased between January 1, 1980 to January 1, 1986. wish to control. Let's assume the cost for each ther-
For more detail on these tax incentives, check mostat control will be $60_00, and that since a por-
Federal Publication #903_ "Energy Credits for In- tion of your Commodore (and equipment) is also
dividuals. "The important thing to remember if you involved in this project, $100.00 of computer costs
are deciding whether or not to do an energy sav- are allocated to this project. The total cost is as
ing project (i.e., using CRC to set back your ther- follows:

16
2 Thermostat Controllers @$60. $120 pIe to provide you with a method to think about sav-
Computer Allocation 100 ing money with CHC. It is not specific to anyone
TotaL........................ $220 household's situation. However, it should be useful
as a roadmap for you to use. Also, remember that
If you have your equipment installed, such costs CHC has many other advantages and benefits that
should also be added to your figures above. cannot be dealt with directly in terms of dollars and
cents.
3. If your project is sizable, you may wish to
check for low cost loans for which you may qualify.
CENTRAL HEATING AND COOLING
(Such loans will not be used in this example.)
4. Check any federal or state tax incentive Saving money on energy costs with Computer
programs for which you may qualify. In this exam- Home Control is based on the simple concept that
ple, the federal incentive would be 15 percent of energy consuming equipment should be turned
the first $2000 spent or .15 times $220 or $31.50. off-or down-when it is not needed. If you are will-
Since states vary widely, for simplicity let's assume ing to turn down your central heating system's ther-
an equal state tax credit would be allowed. mostat a few degrees during the night while you
are sleeping-and most people find they sleep more
Federal Incentive $31.50 comfortably that way-you may be able to save up
State Incentive 31.50 to 15 percent or more on your heating costs. With
Total Incentive $63.00 CHC, this can be accomplished with no discomfort,
since the Commodore 64 will turn the thermostat
down only after you're all in bed, and turn it back
5. Figure your actual costs. In this example, up in the morning before anyone gets up.
I will keep it simple by not using a loan nor figur- Remember that, except in extreme cases, there is
ing any time costs of money. A simple payback additional savings from each additional degree that
method will be used for the following few steps. you turn down the thermostat.
Based on this example, your actual cost would be Further, if your house is empty for a stretch
$220 less $63 or $157. of a few hours or more at a time during the day,
6. Determine the expected savings from the you can use CHC to conserve a greater amount of
improvements you will make. For example, let's energy and cut your costs even more. If some
assume your heating bill is $1500 per year, and by members of your house are at work, and the others
having your thermostats controlled independently are at school, take a look at how many hours the
and religiously every day you are able to save 22.7 house is unoccupied. Do things vary on the
percent of your fuel bill. That savings is equal to weekends? When you provide your computer with
$341. That's $341 you will save year after year for a rough schedule of the times the house is usually
a (one time) actual cost outlay of $157. You can occupied, your CHC system can do the rest to en-
begin to see the dollar advantages of CHC. This one sure the right amount of heat with no fuel waste.
aspect of CHC may pay for all the other advantages In some houses, a second floor is predominately
and projects that you would like to incorporate in- used for sleeping hours. If your's is one of these,
to your system. you may want to put this floor on a separate heating
7. Last, but not least, once you've done your zone (if not already separate), and control this area
calculations, review them and examine all according to a different schedule than the first floor.
worthwhile alternatives. Some projects and some If both parts of your house are rarely used at the
methods of performing those projects may make same time, then the heat in at least one section can
better sense than others. usually be lowered. This type of scheduling would
This calculation is meant purely as an exam- be a nuisance if you tried to remember to handle

17
it manually. Moreover, the house would always be ther thought. It will be done correctly and without
too cold when you came home, or got up, or even reminders from you.
went to a different part of the house. It would also Instructions can be set for each day's schedule.
stay warmer longer than needed after you left or CHC will remember that it's Sunday morning and
moved to a different location. But for CHC, these you don't usually get up until 10 AM., and there-
problems can be taken care of as easily as schedul- fore, not crank up the heat until 9:30. Of course,
ing the Commodore and forgetting about it! on Monday it will start the furnaces at 5:30 AM.
You will be able to get better control over your since you must get up at 6:00. If you have a
energy consuming equipment by controlling it with weekend house which you travel to on Friday even-
a computer because the computer can switch things ings, wouldn't it be nice to have the heat ready at
on or off when you cannot-for example, when 72 degrees just before you arrive? And with CHC,
you're sleeping or away from home. And unlike you don't have to worry after you leave on Sunday
some of us, the computer doesn't forget, get tired, afternoon that you may not have turned the heat
or put tasks off until another time. If you have set back down.
your computer to do a certain task, such as turn- The savings on central air conditioning systems
ing your thermostat up before the kids are due are just like those from central heating, except, of
home from school, then turning it back down again course, in reverse. The computer will keep things
at midnight, you can rest easy and give it no fur- cool only when the coolness is really needed. Other-

Heating Savings Potential

V Very High MM Medium


H High M Moderate

Fig. 3-2. u.s. map showing potential savings from heating energy projects.

18
Cooling Savings Potential

V Very High MM Medium


H High M = Moderate

Fig. 3-3. u.s. map showing potential savings from home cooling projects.

wise, CHC will allow things to heat up a bit! family and then use the worksheet which follows
The two maps of the United States should help to estimate your own potential energy savings.
you locate your potential relative savings (to other Let's assume that a family known as the Thomp-
parts of the U.S.) for both heating and cooling con- sons lives in a house with central heating and air
servation projects. If you have both central heating conditioning in Washington, D.C. Mr. Thompson
and cooling, use both maps (Figs. 3-2 and 3-3). If works for a local bank and on weekdays leaves the
you have only heating or only cooling, just use the house at 7:30 A.M. and returns about 5:00 P.M.
one appropriate map. It's really pretty simple: you'll Mrs. Thompson is a teacher at an area elementary
save much more on heating with CHe if you live school, and leaves for work at approximately 8:15
in New Hampshire than if you live in Florida! and arrives home at 3:15 to 3:30 each afternoon.
To help you get more specific, Table 3-1 pro- In the summer, Mrs. Thompson runs a local day
vides a yearly percentage estimate of the heating camp and her schedule is fairly similar.
fuel savings by lowering the thermostat eight hours The Thompsons have two sons, one in high
each night in major U.S. cities. Table 3-2 provides school, and one who has recently graduated from
a rough percentage estimate of your potential sav- college and has taken a job in Boston. The younger
ings on air conditioning over the year by raising the son's schedule is similar to Mrs. Thompson's ex-
thermostat eight hours each day. cept that he leaves the house approximately a half
Now you're ready to read about a hypothetical hour later, and is usually involved with sports or

19
Table 3-1. Potential Heating According to Figs. 3-2 and 3-3, the Thompsons
Fuel Savings In Major U.S. Cities live in an area of the U.S. where they can expect
average results on both projects to save on heating
(Percentage of fuel saved by lowering thermostat eight and cooling costs. From looking at their electricity
hours each night.) and fuel bills they were able to estimate that last
year they spent roughly $1500 for heat and $375
Lowered Lowered for air conditioning.
City 5°F 10°F The Thompsons feel they can have the heat and
Atlanta 11 15 air conditioner thermostat adjusted for fuel savings
Boston 7 11 on weekdays usually for about 14 hours, and on
Buffalo 6 10
Chicago 7 11 Fridays an extra four in the winter. Further, they
Cincinnati 8 12 believe that they can have the thermostat adjusted
Cleveland 8 12
Columbus 7 11 for savings for 16 hours on Saturday (winter only),
Dallas 11 15 and only eight hours (when everyone is asleep) on
Denver 7 11 Sundays. Summer weekends are a bit more un-
Des Moines 7 11
Detroit 7 11 predictable, and the Thompsons have estimated
Kansas City 8 12
Los Angeles 12 16 that there will be only six hours each day where
Louisville 9 13 savings can be generated.
Madison 5 9
Miami 12 18 The Thompson's heating and cooling system
Milwaukee 6 10 is only a one zone system. If they had a second zone
Minneapolis 5 9
New York 8 12 (or installed one), they might be able to receive ad-
Omaha 7 11 ditional savings.
Philadelphia 8 12
Pittsburgh 7 11 The formula to calculate savings is similar for
Portland 9 13 both heating and cooling. Simply divide the average
Salt Lake City 7 11
San Francisco 10 14 hours the thermostat is adjusted for fuel savings
Seattle 8 12 (average hours set back in summer or raised in
SI. Louis 8 12
Syracuse 7 11 winter) by eight hours (since all information in
Washington, DC 9 13 Tables 3-1 and 3-2 are given for eight hours). Then
multiply that figure times the savings percentage

other recreation after school. Table 3-2. Potential Cooling


Mrs. Thompson does some family errands on Fuel Savings In Regions of U.S.
Friday afternoon, and then joins Mr. Thompson for
tennis at an indoor club afterwards (winter only).
(Percentage of fuel saved by raising thermostat eight
No one is usually around the house on Saturdays hours each day.)
between 9 AM. and 5 PM., and often everyone has
plans for Saturday night as well. Sundays, however,
Region by
at least one person is usually at the house all dur- Cooling Raised Raised
ing the day. Factor 5°F 10°F
Recently, the family has decided to have their M 11 15
Commodore 64 control a number of functions in MM 9 13
H 7 11
their home, including the heating, cooling, and hot V 5 9
water systems. They would like their computer to
lower their thermostat in winter and raise it in sum- (The symbols M, MM, H, and V refer to the regions
mer by ten degrees when either no one is at home diagrammed in Fig. 3-3).
or when they are all asleep.

20
(found in either of the two tables), and multiply trolled by CHC with ease. (Care, however, should
again by your yearly heat or cooling costs. be used when automatically turning on any ap-
Take a look at Fig. 3-4 where all this informa- pliance that heats up.) Using your Home Control
tion regarding the Thompsons has been summa- system you can monitor time (and temperature, if
rized. Using this as an example and specifics about you wish) and only have these devices working
your situation, you can estimate your benefits by when a true benefit will be derived. CHC will keep
completing the second column in the figure. The these energy guzzlers off at all other times, again
method used to calculate savings throughout this saving you money.
chapter will provide a rough estimate of your ex-
pected savings. This method is fairly straight for-
ward and does not require a great deal of measur- ELECTRIC HOT WATER HEATERS
ing various features about your home, nor does it In this book computer control for only electric hot
require extensive math. At the same time, it should water heaters is discussed. If you have a gas (or
produce reasonably accurate results for most other nonelectric) system, you may wish to skip this
situations. section and Chapter 8. Like the previous examples,
According to their figures, the Thompsons can CHC can significantly reduce the cost while pro-
expect to save approximately $341 on their heating viding your family with sufficient hot water for their
costs and $73 on their cooling costs for a total sav- needs, with little or no reduction in convenience.
ings of roughly $414. With a little careful plan- The main reason this works is that the need for
ning (scheduling), you too can have significant sav- large amounts of hot water is seldom continuous
ings using CHC to control central heating and throughout the day. In many cases, hot water is on-
cooling. ly needed for a few hours in the morning and, again,
in the evening. Even on laundry day only a minimal
ATTIC FANS amount of hot water may be required since many
people have switched to cold or warm water
One of the best and least expensive ways to cool
washes.
a home is by use of an attic fan (or any fan that can
CHC can turn on and off an electric hot water
change the air throughout the house). In later
heater so water is hot only when actually needed.
chapters, you will find out how to control these, but
Moreover, even when the hot water system has
for right now it should be noted that Home Con-
been off for hours, your water will still be warm.
trol can provide a significant cost savings if you
Therefore, you rarely will be without warm water,
have both an air conditioner and an attic fan.
just very hot water (unless you use great quantities
One of the things that can be implemented fair-
of warm water before CHC turns the water heater
ly easily through your CHC system is tracking the
back on).
temperature inside and outside your house. By do-
In some areas, utility companies allow you to
ing so during the summer, CHC can choose whether
buy off-peak electricity for the purpose of heating
air conditioning is necessary to cool the house, or
hot water (usually at night). The water is stored in
whether the outside air is cool enough to be drawn
the hot water tank of the heater, and although
into the house with the attic fan to lower the
gradually cooling through the day) is used by
temperature. Running a fan is much less expensive
families as their hot water supply. Obviously, few
than running an air conditioner so this can become
people would consider such a system unless the
quite cost effective.
water stayed relatively warm. CHC uses a similar
principle. Hot water is available in abundance with
ROOM HEATERS AND CHC only when hot water is really needed ..
ROOM AIR CONDITIONERS The yearly percentage estimate for hot water
Room heaters and air conditioners can be con- electricity savings by turning your hot water off for

21
SAMPLE YOUR
FIGURES FIGURES

1. Heat factor (Fig. 3-2)


MM
(for reference only)
$1500.
2. Last Year's Heat Cost --1-0
3. Thermostat set-back in Degrees
---:molD
4. Interpolate Savings percentage
(from Table 3-1).
5. Weekly Schedule:
Winter Heating (hours lowered):
Monday
14
Tuesday 14
Wednesday 14
Thursday 14
Friday 18
Saturday 16
Sunday 8
Total 98
Divide by 7
14
Average Hours set back:
6. (Avg Hrs set back)/(8 Hrs) x (Saving %) x (Heat Cost) ~ Savings

SAMPLE: 14/8 x...ll x $1500 = $341.


YOURS: --1]. x _ x _ _ = __

If no central cooling system then skip to explanation.

7. Cool factor (Fig. 3-3).


MM
(for reference only)
$375_
8. Last Year's Cooling Cost
10
9. Thermostat set-ahead Degrees
10. Interpolate Savings percentage (from Table 3-2)
13%
11. Weekly Schedule:
Summer Cooling (hours raised):
14
Monday
Tuesday 14
Wednesday 14
Thursday 14
16
Friday
Saturday 6
Sunday
6
84
Total
Divide by 7 =
12
Average hours set raised:
12. (Avg Hrs set raised)/(8 Hrs) x (Saving %) x (Cool Cost) = Savings

SAMPLE: 12/8 x J.1 x $375. = m:..


YOURS: --.l]. x x
$414.
Total Heating and Cooling Savings =

Fig. 3-4. Heating and cooling savings worksheet showing the Thompsons' estimated savings. Space is available for your
figures.

22
SAMPLE YOUR
FIGURES FIGURES
1. Last Year's Hot Water Cost $280
2. Thermostat set-back 100%
3. Savings percentage 20%
4. Weekly Schedule:
Hours Hot Water system off:
Monday 16
Tuesday 16
Wednesday 16
Thursday 16
Friday 16
Saturday 16
Sunday 9
Total 105
Divide by 7
Average hours turned off: 15
5. (Avg Hrs set back)/(8 Hrs) x (Saving %) x (Heat Cost) Savings

SAMPLE: ~ x .20 x $280 = $105.


YOURS: --1], x x

Fig. 3-5. Electric hot water savings worksheet.

eight hours a day is roughly 20 percent. Let's go in the morning and another four hours in the even-
back to the Thompsons again, and then you'll be ing should be plenty for everyone, with Sunday be-
able to figure what this means to you. ing the only exception. On Sunday, a few loads of
The Thompsons also planned to use their laundry need to be handled, as well as one or two
Home Control system to save on their electric hot cleaning chores requiring hot water. For these
water costs. They have taken a look at their elec- reasons, the hot water would remain on except for
tricity bills from last year and have estimated that nine hours (mostly sleeping time). Figure 3-5 was
their hot water costs ran about $280. After think- used by the Thompsons and can help you predict
ing about their schedule during the week, the your cost savings.
Thompsons found that they needed hot water only According to their calculations, the Thompsons
in the mornings and ip the evenings. Therefore, expect to save approximately $105 annually on their
they decided that hot water for about four hours hot water costs. Added to their heating and cool-

23
ing savings, that's a total of $519! and your results may be impressive. Appendix C
Take a few minutes now and consider your contains a Home Utility Monitoring Program that
family's potential for savings. Working through will help you keep track of your energy costs (sav-
your own numbers will only take about ten minutes, ings) year after year.

24
4. What's Right For You

01111
I \0

T a Home Control system as there are homes-


HERE ARE AS MANY RIGHT WAYS TO DEVELOP tions in terms of what you can handle and what you
should leave to the experts (designing, soldering,
and no two will be alike. In this chapter, you'll be wiring, programming, etc.).
able to find a plan that's right for you. One sugges- This book steers a middle ground, so that the
tion is to keep things flexible, for once you install person with little background in computers or elec-
your system you may very well think of other ideas tronics can just plug together and then operate a
that you may want to add. This field is growing useful system. In any event, don't look at price as
rapidly, and ideas for enhancements are becoming the measure of flexibility. Look at product features
available at a dynamic pace (just as we have seen for flexibility, and look again to make sure you can
in the microcomputer field). handle their installation and operation.
Flexibility can be part of either an expensive
or inexpensive system. For example, you could buy
a very expensive single purpose burglar alarm STEPS TO SUCCESS
system, have it installed, and all it would do is pro- If you can follow these simple guidelines, you'll
tect you from burglars. And if you move, it might have a Home Control system that's just right for
not be able to be separated from your original you!
house. Not very flexible! On the other hand, you
could build your own Home Control system from 1. Figure out your particular Home Control
parts, do your own installation, and provide yourself needs and desires.
with a system that is inexpensive, yet flexible 2. Decide what is most important: flexibility,
enough to perform everything cited in this book. quality, plug-in or techy, price, etc.
Of course, this assumes you know your own limita- 3. Evaluate and select appropriate products.

25
4. Plan all details. The next step is to plan all the details of your
5. Obtain all necessary parts, materials, and particular system. Later portions of this chapter
tools. should prove helpful in designing the overall
6. Review installation directions and safety framework, and the component chapters will list
precautions. the steps needed to complete each specific project.
7. Install your system from the computer Next, obtain the materials to complete each specific
setup to all peripheral apparatus. project. Although it's best to plan your overall
8. Load software, set parameters (schedule), system at one time, you probably will want to build
and test. your system a component at a time. This is the time
9. Seize control of your home! to decide which projects should be installed first and
then purchase the necessary supplies.
Step one, determining your needs, is critical to When installing your system take care that all
your success and this chapter will help you with pieces are correctly mounted. Remember, you want
sample home layouts and a checklist of items to in- this system to last for many years to come, and a
clude. The second step is to decide what is impor- little extra attention to detail will payoff for a long
tant for you. You should already be convinced that, time.
whatever else you decide upon, flexibility should Once your system is installed, it's time to load
be included, as well. the software and set all the parameters including
Third, evaluate and select the appropriate prod- linking the sensors to the items to be controlled,
ucts. For each of the operations you plan to con- and scheduling each controlled item. Be sure to test
trol there may be just a few or possibly many op- each aspect of your Home Control system, and
tions in terms of suitable products. In the compo- finally ...
nent chapters towards the end of the book, sug- Seize control of your home!
gested products are listed to help you install each
component of your system. Also, the Product Direc- TOUR YOUR HOME
tory (Appendix A) should prove useful in selecting This is where Home Control really becomes fun!
specific items for inclusion in your system. The Everyone in your family should become involved
following checklist is useful for evaluating products. in designing the system since each may have a dif-
ferent idea of what should be included. Don't just
D What does it do? sit in one room and try to determine your needs.
D With what can it interface? Walk around the outside of your home and the in-
D How hard is it to install? side, as well. Make some rough drawings of your
D Does it require any alterations to the house? house similar to those in this chapter, and note the
D Is it removable if you move? locations of what should be controlled. Also, think
[J Could it cause unexpected problems (i.e., about what the items controlled should be depen-
combination of a dog and a motion detector)? dent upon. Should the front door light turn on at
D Is special programming involved? a certain time of day, should it turn on depending
D What does it cost? on how dark it is outside, or both?
D Does anything else need to be purchased, Figure 4-1 shows a partial list of categories of
and if so, what does it cost? items which can be controlled and suggests things
[J Can you handle this product? that might be sensed by your Home Control system
in order to control each item. Of course, you can
If you're not sure if a product meets your use just about any sensing capability (or combina-
specific needs, check with your retailer or manufac- tion of sensing capabilities) to have your system
turer. They'll be happy to explain their product's control whatever you desire. Some, however, will
capabilities. make better sense than others. Who knows! You

26
may wish to have your front lawn sprinkler turn on separately? These are the types of questions you
when your front doorbell is pushed! should be thinking about for each item you wish to
Let's start with the outside of your home, and control.
work towards the inside. Figure 4-2 shows the Enough about outdoor lighting. What about
property layout for a sample home. Note at the front your lawns and gardens? Are they a little less green
of the property there is a walk light, and two more than your neighbors? Maybe your Home Control
by the front and back doors. Also, there's a flood system could help out here by controlling a sprin-
light for the garage area and two for the backyard. kling system. And if you're lucky enough to have
How should these be controlled? By the time of day? a swimming pool, your Home Control system can
By motion at the front door? By how dark it is? By work hard to operate the filter, check to make sure
something else? Should any of these continue to be the water isn't too low, and/ or even control a small
operated manually, but checked by the Commodore robot that will automatically clean your pool!
to make sure they have been turned off at a par- Before going inside, take a look at your house
ticular time of day? Should some of these be con- as if you were a burglar. What would be some likely
trolled together, or do they all need to be operated spots to gain entry into your house? Possibly the

Item
Controlled
Lamps
Appliances
Furnace
Alarms
Etc.

~------------+---~----;---~r---;----+----+----+----r----T----~--~

Fig. 4-1. Sense/signal matrix.

27
<> Lawn and Garden Sprinklers fiJ Flood Light

0 Pool Filter
~ Front Walk Light

D Air Conditioner
• Door Lights

Fig. 4-2. Sample home property layout.

basement windows are behind bushes and not easily Now let's take another view of your home-
seen by your neighbors. Maybe a burglar could this time a cross section which cuts through your
enter through the garage, or by climbing to a first house from the attic to the basement. How about
floor roof and gaining access through a second story those energy ideas that were discussed in Chapter
window. Or would he just force the front door? 3. Do you wish to control your furnace, your air con-
These notes can help you decide on what should ditioning, or your electric hot water? Make a cross
be included in a burglar alarm system, should you sectional drawing of your house and locate any of
choose to have one become a portion of your these items. Also, has your basement ever had a
system. flood during a heavy rain? Could that washing

28
machine hose ever burst? Note the location(s) in figures as a guide. Now walk through your home
your basement or laundry room where water would and make appropriate notes as to the locations of
likely collect first. items to be controlled, and what relation(s) they
Where might smoke (or heat) detectors be should have to time, temperature, amount of
located? Likely you will want to have at least one available light, etc.
in both the basement and the attic. Use your ver- Don't worry about perfection now. Many of the
sion of Fig. 4-3 to locate these, and use Fig. 4-4 or ideas for Home Control will become clearer as you
Fig. 4-5 to locate these detectors on the main proceed through the remaining chapters. Include
floor(s) of your house. Figure 4-4 shows a two story in your diagram all lamps, wall or ceiling lights,
home and Fig. 4-5 shows a one level or ranch house. radios, stereos, room air conditioners and room
Make your own drawing of your house using these heaters. fans, televisions, thermostats, humidifiers

D Furnace ® Smoke Detector 0 Pool Filter


® ? Additional Smoke Detector
LJ Water Heater
6. Heat Detector
o Air Conditioner

[[J Washer Dryer V Water Sensor ~ Attic Fan

Fig. 4-3. Cross section of two story house with attic and basement.

29
9 ~ 9

I l \
®

8
./m gfr 8

DO
0\\ I'
j.,........- -..._.

Fig. 4-4. Floor layout of two story home.

or dehumidifiers, and appliances such as the cof- that will be needed, the house and unit code, the
fee pot and toaster oven that you might want con- "sense" (time. temperature, etc.) that will guide
trolled automatically. Also be sure to note the loca- control, and a place for other notes. Also, the
tion of your computer. worksheet provides spaces for the locations of the
Figure 4-6 is a worksheet to help you. It lists sensing side of your Home Control system. Each
many potential items to be controlled, with space of the columns will be explained in detail later. For
available for others. After each item to be controlled now, it's enough to fill in the locations of the items
is a line to note its location, the product or module you have decided to control. As you proceed

30
through the book, you can update the columns as Sensor Interface & Signaling Devices.
they become clearer. These are more or less complete Home Control
devices (they include both sides of the interfaces
PRODUCT OVERVIEW needed) which can be linked to the Commodore.
These devices include the capability for both analog
At this point, it may be worthwhile to overview the
and/or digital sensing, as well as the control side-
products currently available for Home Control with
usually an X-IO Controller and sometimes a relay
the Commodore. These products are listed briefly
(hardwired) system. Most of the items also include
in the Product Directory (Appendix A) and this sec-
the necessary software. Some of the sensor inter-
tion will help you categorize items and make
face and signaling devices may have additional
reference much easier. The Product Directory in-
features-a battery back-up, a hardware or soft-
cludes the following information. An explanation
ware clock, and even voice synthesizing
of each category follows this list.
capabilities.
D Sensor interface and signaling devices. Signaling Devices. The items listed under
D Signaling devices. this category are those that the Commodore can use
D Sensor interface devices and individual to control external events. Usually these devices
sensors. cannot sense any real world conditions, except, in
D The BSR X-IO product line. some cases, time. For the most part these are com-
D Voice products. puter linked X-IO Controllers used to control the
D Robots. X-IO Lamp or Appliance Modules. With some care,
D Miscellaneous. signaling devices can be linked with those from the

D
o

Fig. 4-5. Floor layout of single story home.

31
Sensor or House
Controlled or Unit Time or
Item Application Location Equipment Code Sensor Link Notes
Example:
lamp convenience living rm lamp module 8/3 5:00pm-11 pm security?

Suggested Items to Include:

Controlled items: lamps and other lighting, appliances, stereo, radios, TV's, central or room air
conditioning, fans, room heaters, furnace, hot water heater, humidifier, etc.

Sensors: light, temperature, individual burglar or fire security sensors, moisture or water sensors,
etc.

Fig. 4-6. Home Control planning worksheet.

next category (sensor interface devices) to provide if combined with an X-IO Controller.) Also includ-
a complete Home Control system. ed in this category are a few actual sensors that can
Sensor Interface Devices and Individual be located around the house and interpret the real
Sensors. The sensor interface device category in· world. They can be linked with the sensor inter-
cludes those items that can help your Commodore face devices in this category (or the first category)
understand or interpret the outside world. These, and together provide the raw input necessary to
therefore, can convert information from the sensors help your computer understand what's going on.
for the computer. (Although some of these have out· BSR X-lO Product Line. Since many of the
put capabilities to control external events, a com- items in the first two categories use the X-IO Con-
plete Home Control application would be simplified trol system, an entire section of the Product Direc-

32
tory is devoted to the controlled modules and some Robots. Although many would say that robots
stand-alone (noncomputer linked) X-lO Controllers. currently offer little in terms of practical, cost ef-
One of the widest lines is available through BSR fective features, they are fun and may be of interest
(USA) Ltd., and a substantial overview of their X-lO to you. Even today in particular situations, there
product line is provided in Appendix A. Included are certainly some practical applications, and ad-
are the various Modules that you can control with vances are occurring rapidly in this area which will
your Home Control system as well as some stand- make them more desirable. Therefore, a listing of
alone controllers which may support your overall available products has been included in the Product
design by providing additional flexibility. Directory.
Voice Products. Included here are devices Miscellaneous. This section includes some
that can perform voice synthesis (the capability to interesting products that just didn't fit neatly into
speak), and voice recognition (the capability to the other categories.
recognize the spoken word). With some care, these Take a few minutes and look through the
voice products can be used in conjunction with the various products included in the directory. Many
products in the previous categories to provide voice of the product applications and terms used will
characteristics in your Home Control system. (Note: become clearer as you continue through the book,
Make sure that you have obtained enough informa- and you'll find the Product Directory to be a good
tion about a particular voice product and its com- source for ideas as you develop each aspect of your
patibility with other products before purchasing.) Home Control system.

33
5. Setting Up Home Base

01111
I

T your home with the control devices directly


HIS CHAPTER WILL DISCUSS HOW TO SET UP o The
Electronics.
Master System from Anova

connected to your Commodore-the sensor inter-


face and signaling devices. Sometimes both devices Keep in mind that there are many excellent
are in one unit. The Product Directory includes a products on the market. One product may be much
wide variety of Home Control sensor interface more suitable to your specific needs than another.
and/or signaling devices from which to choose. I suggest that you first contact the manufacturer
Unfortunately, it would be near impossible to or distributor of a product and request full details
describe each available product in great detail. before you make a purchase. Be assured that you
However, so that you can better understand this won't be the first to call or write to get some ques-
equipment in general, this chapter will fully tions answered. The products described in this
describe a few representative products that have chapter, however, should provide you with a good
a wide variety of features and can handle many dif- feel for the basics of a Home Control system and
ferent types of applications. These products have what will be involved in setting up your home base.
been specifically chosen to show the variety of Many of the Home Control products de-
Home Control Products in the market today. scribed in this chapter and in the Product Direc-
tory require linkage to your computer through a
o The RS-232-X-IO-to Interface from standard RS-232 serial port. These are not standard
Heathkit. equipment on the Commodore, but are easily ob-
o The Home Security System from lance tainable from a number of manufacturers. If you
Associates don't already have this port and your Home Con-
o The HomeBrain from HyperTek. trol system requires one, check the Product Direc-

34
tory under miscellaneous or your local comptuer your Commodore has an appropriate RS-232 port.
store. The Heathkit X-10 Controller weighs less than
RS-232-TO-X-10 INTERFACE three pounds and comes complete with documen-
tation describing the necessary hookup and explain-
One of the most practical ways of starting a Home
ing how to control it using BASIC programming
Control system is with Heathkit's RS-232-to-X-10
(sample programs included). For those of you who
Interface at $129.95 (Fig. 5-1). In terms of our
are comfortable with BASIC programming, you can
definitions, this is only a signalling (controller)
build a software clock using FOR-NEXT loops to
device; yet when tied to your computer, it puts a
provide timed control of your X-10 Modules. And
lot of Home Control at your fingertips. This unit
later, if you wish to be able to sense the outside
can actually control up to X-10 Lamp and Appliance
world as part of your Home Control system, you
Modules independently by sending signals through
can add a sensor interface to your system for more
your house wiring.
complete Home Control.
In general, there appears to be no real standard
method for connecting Home Control items to a But before deciding that this system alone just
computer. This is largely due to computers can't be sophisticated enough as a Home Controller,
themselves being quite different from one another keep in mind that as you progress through later
and the fact that Home Control sensing interfaces chapters, this X-lO Controller and your Commodore
and signaling devices are often developed to be at- can provide timed control of the following items,
tached to a particular computer. The RS-232-to and this is not an exhaustive list:
X-10 Interface was developed, however, to use a D Lamps and appliances.
standard interfacing (connection) port which is D Central heating and air conditioning.
generally used for computer communications D An electric hot water system.
(through modems) and can be used to connect D A simple lawn and garden watering system.
printers and other devices.
One particularly nice benefit of taking this ap- Not bad for a simple and inexpensive
proach is that Home Control devices that connect alternative!
in this way are likely to be adaptable should you
ever decide to buy a different computer. Another HOME SECURITY SYSTEM
feature is that it is completely plug-in ready once lance Associates, Inc., offers the two Home Con-

Fig. 5-1. The RS-232 "X-10 to Interface" (courtesy of the Heath Company).

35
trol systems for the Commodore 64 (and VIC 20)-- inputs. (If you're unclear about any of the terms
one wired and the other wireless. A unique feature used above, review Chapter 2.)
of both Jance products is that each system is pro- The HomeBrain has its own built-in
vided in a complete package ready to be linked with microprocessor. This means that once the unit is
your computer for only $195 (wired) or $349 programmed, your Commodore is free to do
(wireless). If your main interest is providing a something else. You can even disconnect your Com-
security system at a very low overall price, either modore completely, and the HomeBrain will keep
of these is worth a close look. right on taking care of its household duties. Also
Each Home Security System includes an in- included in the HomeBrain is a sophisticated clock
put/output board, software on cassette or diskette, that keeps track of the date (e.g., Jan. 1, 1985), the
an outside alarm bell, an inside alarm, a simple day (Monday, Tuesday, etc.), and the time of day
automatic telephone dialer (requires Commodore as well.
64), the necessary wire and power adapter(s), five If there is a brownout, the equipment will keep
window decals, and the installation and operation on running indefinitely, and if power is interrupted
instructions. The wired system also includes thir- completely, the HomeBrain can still function for
teen magnetic door/window switches, two deac- about three hours. (Of course, things that operate
tivate switches, and a panic button. The wireless via normal household current will not work, but the
system comes with a motion detector, two X-10 HomeBrain can keep such functions as a burglar
Controllers (somewhat limited X-10 units usually or fire alarm system working on battery power.)
used as an X-10 burglar alarm interface-used here After three hours, if power has still not returned,
to add X-10 control for any lamp(s) or appliance(s)), then the HomeBrain goes into a sleep mode where,
and three X-10 Appliance Modules. although it ceases functioning, it retains its memory
Since both Jance systems can operate this sim- (the software and schedule instructions) for a one
ple X-10 System, not only do they offer security, month period.
but each system has the capability to provide the The HomeBrain can even be linked with a
cost saving features of Home Control as outlined modem-a device to send or receive computer data
in Chapter 3. over the telephone. This can be used to program
If you care to expand your system, Jance also the unit from remote locations, or in the event of
sells individual components separetely. a break-in, a basement flood, or a fire, the modem
can be used to notify the appropriate authority.
The HomeBrain unit is roughly the size of an
HOMEBRAIN ordinary electrical junction (fuse) box located in the
The HomeBrain is a combined sensor interface and basement or utility area of most homes. Its dimen-
signaling device. Also sold by HyperTek (the sions are 18 by 15 by 4 inches and it can be located
manufacturer of the HomeBrain) are many of the either with your Commodore, or in virtually any
devices that you might want in order to complete other location in your house. HyperTek suggests
a Home Control system (actual sensors, X-10 that it be placed in the basement or utility area,
Modules, etc.). The HomeBrain (pictured in Fig. since this is usually least obtrusive, and any wir-
5-2) is a full featured system that can control any ing that needs to be done is often easier.
and all of the functions found in Chapter 6 through Included with the HomeBrain is a 57-page
16. It includes an X-10 signaling capability which manual that includes the following:
can command up to 256 separately controlled X-10
Modules. Further, the HomeBrain can also control o An overview of the product.
items around the house using eight relays (expan- o Details on how to set it up.
dable to 16). The standard sensor interface includes o Details on how to connect any necessary
16 digital inputs (expandable to 48), and 16 analog wiring.

36
------------.----------,-, ... ,~-

Fig. 5-2. The "HomeBrain" (courtesy of HyperTek Inc.).

37
o The HomeBrain's internal features. The HomeBrain can use either a commercial-
o Information how to use their software (com- ly available RS-232 interface cable, or a simplified
plete with examples). three wire cable. When you buy the HomeBrain or
any other Home Control item, be sure to check with
With the HomeBrain you can obtain the ap- the retailer to make sure you have all necessary and
propriate software for many different home com- appropriate cables. Once the cable is connected, the
puters including the Apple II line, the IBM PC, Commodore link is complete and you're ready to
Commodore computers, and most any computer connect the various sensors, and items to be
that operates under the CP/M operating system. controlled.
(The operating systems used with the Apple, IBM,
and Commodore are their standard operating Sensing with the Brain
systems, or in otherwords there need not be
As mentioned earlier. HomeBrain has 32 discrete
anything special about your computer if you own
sets of terminals used to sense conditions around
one of these.)
the house. (The term "terminals" might best be
The software that is available for the
thought of as similar to the two screw type connec-
HomeBrain is extensive. The simplest version is
tions on the back of a stereo amplifier. On most prod-
a standard, yet flexible package which does not re-
ucts' two such screw connections are available for
quire any programming. However, for anyone who
each sensor, just like two screw connections are
wants to get involved with the nuts and bolts of the
available for each speaker on a stereo.) The ter-
system, HyperTek makes available a Toolkit which
minals found on the HomeBrain are similar to those
is really a programming language (like BASIC, For-
found on other manufacturer's products, and are
tran, or Pascal) specifically designed for the
used for connecting sensors that sense light,
HomeBrain and Home Control. With the Toolkit,
temperature, and other things. Sixteen of these are
those who have a flair for doing their own can
analog sensor terminals (able to measure how hot,
develop special application programs. But for most,
how light, etc., by determining different voltage
the standard package is more than adequate since
levels) and sixteen are digital sensor terminals (able
it offers a great deal of flexibility.
to sense on or off conditions). The analog sensor
Setting Up the Brain terminals have the ability to work as digital sensor
terminals, if so desired. The locations of the ter-
The HomeBrain is relatively easy to install. Though
minals are shown in Fig. 5-3. These 32 terminals,
this sounds overly simplistic, before you start set-
a very generous supply, are probably more than
ting up any Home Control System, take the time
most people would ever use.
to completely read the documentation.
Note on the top of Fig. 5-3 the word
Although most Home Control products are carefully
"knockouts" with three arrows pointing towards
thought out by their manufacturers, they can be
the top of the unit. These knockouts (pieces of
sensitive. A little extra time with the instructions
metal that can be easily "knocked" out) are pro-
can save a lot of frustration later.
vided so that wires can enter the HomeBrain and
Setup of the HomeBrain requires basically
be attached to the terminals.
three things-mounting the unit, connecting the
battery, and connecting the HomeBrain to your
Commodore. Both the mounting and battery install- Signaling with the Brain
ation are straight forward, and require a total of a The HomeBrain also has two types of control or
few minutes effort. Connecting the HomeBrain to signaling methods-relays and the X-IO method.
your computer is also quite simple. HomeBrain con- Only the relays are easily recognizable and their
nects to your computer using its RS-232 port, just location can be seen in Fig. 5-3. HomeBrain comes
as the Heathkit product does. equipped with eight relays and can be expanded to

38
as many as sixteen. Relays are rarely available on item being controlled is usually on. An extra ter-
Home Control products, and they are one of the minal screw is provided for each relay for this
features of the HomeBrain that makes it particular- purpose.
ly flexible. As an example, these are useful during The HomeBrain's X-IO System can control up
power outages to ensure that a burglar, fire, or flood to 256 individually controlled items throughout your
condition alarm system is still operable. Those house by sending electronic messages through your
systems that just make use of the X-IO Controller home's electrical system.
method will be of little use under power outage con-
ditions. (However, this might not be of particular Making the Brain Think
concern to you, and besides, the relay system is not Most manufacturers of Home Control products of-
wireless as is the X-IO system.) fer software (usually on diskettes). Others may pro-
On the HomeBrain each relay system can be vide only documentation that shows how to incor-
wired in two different ways. The first, called nor- porate their product's functions into software that
mallyopen , means that whatever is being operated you must write. However, available software is
is generally off-such as an alarm or siren. The sec- usually more different than similar which suggest
ond, called normally closed, means the opposite: the two things:

?KnOCkouts

0 S S R n...
- Mounting Holes
e e e
n n I
s s a
0
0
r y
r T T s
e e
r r
m m
i I
n n
a a
I I
0 s s 0
I I ..1

D~
I,\,\\~

0
Batte ry r---.......
Cab Ie t+ \I~
...- 1\ '-r-'
RS-232
Battery

Fig. 5-3. Inside the HomeBrain.

39
o The HomeBrain's software, as described HomeBrain over the phone lines.
here, will not necessarily be similar to another Group II. A standard software package is
package you may consider. available for this group. The package assumes that
o Be sure you find out the specifics about the the HomeBrain has been installed according to
software included with any package before mak- more strict specifications, (i.e., particular sensors,
ing a purchase. This is especially true if you are when included in the system, are wired to specific
not a programmer. Make sure that you are getting terminals, and particular items to be controlled,
simple, user friendly software! again-when included, are connected to specific
relays). However, these equipment standardizations
However, information on a specific product's don't have any real impact in terms of scheduling
software-in this case, HomeBrain-will at least flexibility. This software is friendly and allows the
give you a basis for comparison shopping among nonprogrammer to accomplish his desires, and to
other packages. The variations in available soft- change those schedules at will. As an example, say
ware and control equipment reflect the very dif- you originally had your front door light turn on at
ferent types of people interested in this subject. different times depending on the time of year, but
Purchasers can be classified into three different then decided that on cloudy days it should turn on
groups: a bit earlier. The standard program would allow you
o Group I is only interested in only the to add your light sensor (to the time factor) as a
benefits of Home Control, and don't care if they means of controlling your front light.
ever get involved with a computer. Also for nonprogrammers are two software
o Group II is only interested in the benefits packages called Display and Create. The Display
of Home Control and wish to have software that package is used to display and control the functions
does not require programming knowledge, but that of a house using a diagram of the house produced
allows them to make scheduling changes and on the Create package. This allows family members
modify the operation of the system at will. to control particular functions which have been
o Group III is only interested in programming predetermined while using the Create package.
and the design of computer and Home Control Both are designed for non programmers and are
systems. This group likes full control so that they user friendly.
can design any type of Home Control strategy. Group III. For those who enjoy programm-
The HomeBrain is a good example since it has ing and want to be able to wire and operate the
different packages available for the three types of HomeBrain in any way possible, a complete
purchasers. Many of the other products target soft- programming language is available called the
ware exclusively against one particular group. Toolkit. Many of the commands in this language
Here's how it works for the HomeBrain. are summarized in Fig. 5-4, and by reviewing this
Group I. For those with no interest in com- summary you programmers out there can begin to
puters themselves, HomeBrain can be programm- see that just about anything is possible using this
ed by the retailer at the time of installation. Dif- language.
ferent schedules for various times of the year are Many of the commands can be better
stored in the memory in the HomeBrain's own understood if they are divided in half. For exam-
microprocessor. A computer need not even remain ple, DISALM stands for DISable ALarM: it actual-
in the home after the initial set-up and is only ly disables one of 16 alarm clocks built into the
necessary to make a change to the schedules, or HomeBrain. ENAPAS is an abbreviation for
if you later want to change or add a feature to the ENAble PASsword: to operate the HomeBrain a
system. In this event, reprogramming is done by password must be supplied.
the retailer returning with his computer or, in some Although this chapter's intent is not to be a pro-
cases, the retailer can even reprogram the gramming guide, a simple sample program for the

40
--- -~--------------------------

ENANET - enables network (short control linking program).


DISNET - disables network.
SKPNET - conditional break from network.

INPUT - push status of register to stack.


TRUP - checks for transition of off to on.
TRDN - checks for transition of on to off.
TRCH - checks for transition either way.

OUTPUT - turns register on or off.


OUTCC - X-10 Module command.

Logic commands: AND, OR, XOR, and NOT.

Other commands include counter and timer functions. For example:

SETCNT - sets counter to new value.


ENATMR - enables a timer.
DISALM - disables internal alarm clock.

Fig. 5-4. Abbreviated list of HomeBrain Toolkit commands.

HomeBrain (using the Toolkit) is provided in Fig. unconventional! It certainly has the input, output,
5-5. and logic functions, and in terms of Home Control,
it's quite sophisticated. The Master System is ac-
tually made up of three subsystems that all
MASTER SYSTEM cooperate with each other.
After you have completed reading this book, you o The Anova Telephone Center (Model
may decide that having your Commodore tied to 7000).
your Home Control system is not for you. And o The Anova Control Center (Model 8000).
although there are a number of Home Control o The Anova Protection Center (Model 9000).
products that can operate after being programmed
Let me describe each component of the Master
by a computer and then disconnected, the particular
System.
features of the products you find may not suit you
for one reason or another. An alternative for you
might be the Anova Master System shown in Fig. Protection Center
5-6. The Protection Center can be thought of as a Sen-
Actually, depending on your definition of a sor Interface in that it can sense and interpret
computer, most would probably consider the signals for emergency conditions including intru-
Master System a computer itself, although a little sionlburglar attempts, fire and smoke conditions,

41
utility failure, and medical or personal emergency Control Center
(panic) conditions. The Protection Center is a The Control Center offers remote control (by sen-
wireless system using RF (radio frequency) detec- ding signals over normal house wiring) of up to 16
tion transmitters that are part of the various sen- lights and appliances. This control can be either in-
sors. The sensor/transmitter devices available in- stant or timed (through a seven-day clock), and the
clude a Door/Window Intrusion Transmitter console provides a constant status of each item con-
(#9010), a Smoke Alarm/Transmitter (#9030), a trolled. Special applications can be controlled at the
Water Detection Transmitter (#9040), and a console including dimming of lights, the ability to
handheld Personal Emergency Transmitter turn all lights on at once, the ability to turn all lights
(#9020). and appliances off at once, a feature that im-
The Protection Center is more than just a Sen- mediately turns selected items on and, after a
sor Interface because it also includes both the logic predetermined time interval, the same items off,
and signaling capabilities needed for a stand-alone and a programmable snooze alarm.
protection device. If an emergency condition is The Control Center has a battery backup that
sensed, the protection center can react with four maintains its memory in the event of a power failure
different alarm sounds and the console will display (although lights and appliances will not work dur-
the particular condition sensed. To notify you fur- ing the failure). The actual remote Light and Ap-
ther about an emergency, the Anova Protection pliance Modules used by the Anova Control Center
Center can signal remote alarms to sound, and tum feature local on/off (dimming for lights) control
on lights and/or appliances. With the Telephone capabilities, and have two way communications
Center, the Protection Center can even call for help. with the Control Center (thus the Control Center
Other features of this unit include a battery back- actually knows if a light or appliance is on or off).
up for full operation during power failures, a low A security switch is provided on the modules so that
battery indicator, a key lock on the panel, and a con- any particular lamp or appliance can be
stant checking capability on the system's status. linked to the Protection Center.

DEFNET 1
TRUP 3
OUTPUT 64 Using a motion detector and light sensor, this
INPUT 1 program controls the front door bell, front door light,
AND and driveway light.
ONREG 128 Theory of operation: When presence is sensed,
ON REG 129 the front door bell will be rung briefly, and if dark out-
SETTMR 1,300 side, the front door and driveway lights will be turn-
TRUP 91 ed on for five minutes. After the five minutes the lights
OFFREG 128 are turned back off.
OFFREG 129
END

Fig. 5-5. A front door arrival routine.

42
Fig. 5-6. The Master System (courtesy of Anova Electronics, Inc.).

Telephone Center The Ma5ter System incorporates all these func-


The Telephone Center is a very sophisticated tions into a contemporary styled three piece unit
telephone system which includes an answering that all looks like it belongs together and therefore
machine, an automatic dialer, a speaker phone, and could be located in any room of your house. With
the capability to link to the Protection Center in all the features of this product, if truly is worthwhile
case of an emergency. alternative for your Home Control system.
The answering machine can record up to 60
minutes of incoming calls and only records when
it senses the caller is actually speaking. Further, PRODUCT SUMMARY
it has a seven channel outgoing message tape, a This chapter has provided an overview of a few
time logging function for incoming messages, a products which show a wide variety of types of
digital message counter, and a beeper that allows Home Control systems in today's market. There are
you to listen to your messages from any phone many other fine products that can be used for Home
anywhere. Control, and now that you have a reasonably good
The automatic dialer offers one-button dialing idea of these few, you should be in a better posi-
of up to 16 numbers. It has a battery backup to tion to compare the products available and pick the
retain its memory during power failures. one best suited to you and your family.
The speaker phone allows hands-free and The following 11 chapters will help you in mak-
group conversation. Other features of the ing that choice. These chapters may be thought of
Telephone Center need "Call screening" (for those as the component chapters, for each takes a specific
of you who receive calls from your least favorite component or application of Home Control and
relative or unwanted solicitations), automatic redial describes it in detail. By reading and then building
of busy numbers, a call timer, call holding, and a these components, at last, Home Control can be ac-
time and date clock. tually implemented in your home!

43
6. Lights, Appliances,
Room Heaters, and
Room Air
Conditioners

01111
L

T the easiest to install are described in this


HE COMPUTER HOME CONTROLS THAT ARE There are five simple steps that you must
follow:
chapter. These include lights, lamps, radios, TVs,
coffee pots, room heaters, room air conditioners, 1. Select the item or items you wish to control
attic fans-in short, any electrical device or ap- (lamps, appliances, etc.).
pliance that you want to control according to the 2. Obtain and set up the X-IO Controller (see
time of day or the day of the week or both. Chapters 2 and 5).
All have certain features in common which 3. Obtain an X-10 Module for each item you
make them easy to install and use. wish to control.
4. Using your control software (described in
Chapters 2 and 5), enter the schedule for each
1. Only standard plug-in parts are used. device or appliance.
2. No additional wiring of any kind is 5. Plug each lamp andlor appliance to be con-
necessary. trolled into its module, and then plug the module
3. The computer clock is continually unit into a wall outlet.
checked to see if it's the time and day to do what That's it!
you want. For example, you might want an outside
light on your house turned on at 6 PM, but only If you wish to get going immediately, you might
on Friday and Saturday nights. want to start with the house survey you completed
4. All applications discussed will use an X-lO in Chapter 4. Look down your list and note those
Controller and standard X-10 Modules connected items which you wish to have controlled only by
to whatever is being controlled. the clock or by the calendar.

44
- .. _---_ .._----_. __.. _ - - - - - - - - - - - - - - - - - - - - - -

Safety Note. Appliances that heat up and appliances.


(such as electric room heaters, coffee pots, toasters, You could have your house brightly lit up prior
ovens) can be dangerous if turned on at the to your arrival home from work on a cold, dark
wrong time or if they remain on for extend- night. Your Computer-based Home Control system
ed periods. can also warm the house up for your arrival after
To control heat-generating appliances safely, saving on fuel costs all day if you follow the pro-
it is suggested that your Commodore turn such ap- cedures in Chapter 8 for controlling your furnace.
pliances on only when you also have the Com- The radio could start playing your favorite station
modore check that they are off a short time later. as you walk in the door. And in the summer, it
Here's a simple example of three ways to ac- might be nice to have the attic fan begin working,
complish the same thing with varying degrees of or a room air conditioner start before your arrival.
safety. Suppose you want your coffee ready and A realistic but varied (and with some
waiting in the kitchen each weekday when you get software-random) pattern of lights going on and
up in the morning. One way-not the safest, and off in different parts of the house when no one is
hence not recommended-is to set your computer at home can be a deterrent to would-be burglars,
to turn the coffee pot on each morning at 6 AM. and these, together with radios in one or more
(Of course, to work properly, any of these methods rooms similarly programmed, give your home a
require that the water and coffee have been placed lived-in look.
in the pot the night before!)
But what about the time you forget to turn the
pot off before leaving for work? It stays on all day HOW DOES IT WORK?
and becomes a potentially serious hazard. Chapters 2 and 5 described the basic parts and con-
The second method is simple and safer. Have nections. To review, these are an X-IO Controller
the Commodore also check to make sure the cof- connected to your Commodore and the appropriate
fee pot is turned off at 9 AM. But now what about control software to make the system run. For each
the morning you forgot to put the water and coffee item to be controlled, you will need the appropriate
into the pot the night before? Or the morning you're X-IO Control Module. Note that there are different
away from home? X-IO Control Modules for different devices. Make
Here is the third and safest way. Have a stand- sure that the specifications of the modules you are
alone X-IO Controller (i.e., one that is not connected going to buy fit the application for which they are
to your computer-various types are described in to be used. A list of X-IO Control Modules appears
the Product Directory) in your bedroom. Then you in Fig. 6-l.
can signal the coffee to go on as soon as you wake Let's assume that you have already hooked up
up. By the time you make it to the kitchen, the cof- your X-lO Controller to your Commodore. Suppose
fee will probably be ready. You should still set your you want to control a lamp in your living room. You
Commodore to check every day at 9 AM. to make want to have the lamp turn on prior to your arrival
sure that the pot is off. This will happen whether home from work on weekdays. Usually, you arrive
or not you actually make coffee that day, and you home at 5:45 PM. so you want to turn the lamp
don't have to worry about leaving a heat-generating at 5:30. On weekends you want to turn the lamp
appliance on when you are away from home. on a little earlier-at, say, 5:00. In addition, since
This warning discussion was included because you usually entertain on Saturday evenings, you'd
it's important. But don't be scared off from using like the living room to have a softer effect. In order
CHC; just make sure that you do so safely. And not to accomplish this you may want the lamp to dim
all the appliances you want to control by the clock to half of its normal brightness.
will require such precautions. A look on the brighter First, you'll need to obtain the correct module
side shows all the advantages to controlling lights for this purpose. Since your lamp (we'll assume)

45

Lamp Module: Allows you to turn lamps on and off anywhere in the house by remote
control. Responds to ALL LIGHTS ON, BRIGHTEN, and DIM commands.

Appliance Module: Allows you to turn appliances on and off anywhere in the house
by remote control. Will not respond to ALL LIGHTS ON, BRIGHTEN, or DIM com-
mands. Available in either two or three (grounded) prong models.

Wall Switch Module: Fits where existing wall switches fit and allows you to turn
any wall switch operated lights on or off (inside or outside the house). Responds
to ALL LIGHTS ON, BRIGHTEN, and DIM commands.

Wall Receptacle Module: Fits where existing wall outlets fit and allows you to turn
any lamp or appliance on and off by remote control. Does not respond to ALL
LIGHTS ON, BRIGHTEN, or DIM commands (not shown).

Heavy Duty Appliance Modules: These operate like other Appliance modules, but
are specifically constructed to be used only with 220/240 volt split phase systems.
These can control heavy duty room air conditioners, and similar appliances which
use 220/240 volts and are within a maximum rating of 15 or 20 Amps (not shown).

Fig. 6-1. X-10 Modules (courtesy of BSR (USA) Ltd,),

uses a regular incandescent bulb and the bulb dial) and UNIT code (black dial) on the module,
used is rated at 150 watts, the Lamp Module fits plug the lamp into the module, and plug the module
this application perfectly. This module can handle into the wall outlet.
a light bulb (or set of bulbs) up to 300 watts-IIlore Now you must adjust your software schedule
than enough for our purpose. The Lamp Module on your computer to make the right things happen
also has the ability to dim or brighten your lamp. at the appropriate times. Each manufacturer's soft-
This is the piece of equipment needed. ware will be a little different. Basically, however,
Next, set the appropriate HOUSE code (red you want to load the software into the Commodore

46
and either create or update the schedule by enter- By plugging in a lamp to an X-10 Module, and
ing the individual pieces of information. These will setting the appropriate schedule at the computer
include the following: it easily becomes controlled by the Home Control
system.
o Module HOUSE CODE: Usually a letter
from A to P. WHAT MUST I BUY?
o Module UNIT CODE: Usually a number The modules can be purchased at various elec-
from 1 to 16.
tronic and department stores, including Sears,
o CONTROL CODE: Codes such as ON AT&T Phone Stores, and Radio Shack. Some
OFF, CLEAR (turns everything OFF), ALL (all
Modules are sold under the store's own brand
lights on), DIM(0-9), or BRIGHTEN(0-9).
name, but all X-10 Systems will work together
o TIME: Military time (24 hour clock; e.g., without difficulty. The following is a full cost retail
7 AM would equal 7:00, 12 Noon would equal
price list, but often you can find the modules
12:00, and 6 PM would equal 18:00).
discounted.
o DAY: Day of the week (likely abbreviated).
Lamp Module $22.50
Based on the proposed schedule above, and
3 Prong Appliance Module $22.50
assuming that the HOUSE CODE used is B, the
2 Prong Appliance Module $22.50
UNIT CODE is 3, and the living room lamp should
Wall Switch Module-push button control $22.50
turn off at 11:30 PM each night; a computer
Wall Switch Module-switch control $16.99
printout of this schedule might look as shown in
3 Way Wall Switch Set $29.99
Fig. 6-2.
Wall Receptacle Module $29.99
The first line of the schedule turns the lamp on
Heavy Duty 220 volt Appliance Module $44.99
every day at 5:30 PM (assuming the lamp is not
(15 Amp Prong Configuration)
already on). The next two lines turn the lamp on
Heavy Duty 220 volt Appliance Module $49.99
at 5:00 PM on the weekends. The next line dims
(20 Amp Prong Configuration)
the lamp to create the appropriate mood for enter-
taining on Saturday evening, and the last line turns
the lamp off every day of the week at 11:30 PM WHAT MUST I DO?
Choose the appropriate modules (referring to Fig.
6-1) whose amps or watts match or are greater than
FILE NAME: LAMP
those on the appliance you wish to control. The
watts are found on the tops of light bulbs. The
Amps are usually found on the sides or bottoms of
HSE UNT CMND TIME DAY
appliances, or on the appliance motors. Now pur-
CDE CDE CDE HR:MN CDE
chase the appropriate modules.

B 3 ON 17:30 ALL Important Note: Watts and Amps of the


items to be controlled should never exceed the
B 3 ON 17:00 SAT
rating of the module. All of the modules, unless
B 3 ON 1700 SUN otherwise noted, work on standard house current
B 3 DIMS 17:01 SAT
defined as 110-120 volts. The Heavy Duty Module~
are exceptions to this and are rated for 220-240
B 3 OFF 2330 ALL
volts. Check ratings carefully.
Fig. 6-2. Printout of a schedule for a lamp controlled by the Once you have purchased your modules, con-
X-10 System. nect them to the items to be controlled. Now ad-

47
just your control software to reflect your schedul- To
ing requirements. That's all there is to it. Enjoy! Light

HOW LONG WILL IT TAKE?


I
As noted, these applications in Computer Home
Control are the simplest and quickest to install.
Once you have purchased the modules, you need
only adjust each for the HOUSE and UNIT CODE,
plug the lamp or appliance into the module, plug
the module into the wall outlet, and adjust your soft-
ware. A few minutes should cover this process!

Special Note on Wall Switch Modules.


The Wall Switch module works on the same prin-
To
ciple as all the other modules noted above, except Power
for one feature: Unlike most others, the Wall Source
Switch Module is not plugged into a wall outlet, but
instead replaces a normal wall switch found in your
home. It is relatively easy to install by following
the directions included and as described below. Be
sure to turn off your electricity first before
installing one of these.
HOUSE UNIT
1. Set the HOUSE CODE (red dial) to the CODE --+'"t-.......... CODE
desired setting (use small screwdriver).
2. Set the UNIT CODE (black dial) to the Fig. 6-3. Wall Switch Module installation.
desired setting.
3. Make sure electricity is turned off at Switch Modules the lights can also be manually con-
circuit breaker or fuse box. trolled at the switch locations as with a normal wall
4. Remove wall plate and old switch. switch. This feature allows the convenience of both
5. Connect leads as shown in Fig. 6-3, blue manual and computer control. (Other modules can
lead from the Wall Switch module to white wire and be manually controlled to a certain extent.
black lead to the black wire. Be sure to use wire However, the computer cannot always undo what
nuts (provided) for insulation. you have done manually. For example, suppose you
6. Mount the Wall Switch module, making have a lamp connected to your CHC system, and
sure the code dials are at the bottom. your system is set to turn the lamp off at a certain
7. Replace the wall plate, and turn the on-off time and then back on again later. If, before the
switch to the on (up) position. computer turns the lamp off, you do so manually,
8. Turn the power on at the circuit breaker then the computer X-I 0 Controller will not be able
or fuse box. to turn it back on. If, however, the computer turns
your lamp (or appliance) off, you can manually turn
Each of these takes approximately 10 to 15 the lamp on at the lamp on/off switch.)
minutes to install. The Wall Switch Modules are meant to be
Note that in addition to controlling your lights used with incandescent lighting and include the dim
via computer, when you install one of these Wall and brighten features.

48
7. Central Heating
and Cooling

01111

C ENTRAL HEATING AND COOLING (AIR CONDI-


tioning) control are likely the most cost effec-
Weekend scheduling, in particular, is where a
Home Control system can really payoff both in
tive ways to reduce the expenses of running your terms of convenience as well as in cost. A computer
home. As related in Chapter 3, a single 10 degree control system provides great flexibility since you
nightly reduction in heat can save a home owner can program weekends differently from weekdays.
in some areas more than 15 percent. On a fuel bill Actually, you can schedule each day differently, if
of $1500 dollars a year, 15 percent represents a that's what's needed to suit your life-style. The ad-
$225.00 savings. This alone, in a few years, may vantage of computer operation is that once pro-
pay for your Home Control system (and possibly grammed for your unique circumstances, you can
your Commodore 64!). And don't forget the federal forget about it.
(and in some areas, state) tax advantages. Your en- Now let's switch to Central Air. (To control
tire heat related Home Control expenses (and room air conditioners, see the previous chapter.) In
possibly a percentage of your Commodore 64) may general, the basic advantage is the same as de-
wind up as a credit on page two of your 1040! scribed for home heating. Computer control allows
To continue with the heat example, why have you to only air condition your home when it is real-
only one reduction at night? In many households, ly needed for comfort, and you save money in a
including families with school-age children, a similar fashion to controlling your furnace. A single
second reduction in heat will yield additional sav- eight hour increase of 10 degrees in the
ings. Think about your weekday schedule. How Washington, DC, area can save a homeowner with
many hours on average is everyone away from an annual air conditioning bill of $400 about 13 per-
home during the day? And do you make use of that cent or $52. A dual shutdown of your air conditioner
second heat zone in your house? Or if you don't have can save even more!
one, would one worthwhile to add? By using your Home Control system you can

49
easily see how you could save money and at the trol of the furnace, though some are better than
same time keep cool all summer long. others. For example, one would be to have the Com-
modore directly control the signal to the furnace
HOW DOES IT WORK? as in Fig. 7-2.
Most home furnaces-whether gas, oil, or This method will certainly turn your furnace
electric-and most central cooling systems use on and off, but the problem is that it has no way
basically the same method of regulation. Whatever to sense temperature. Once the furnace turns on
type of system, the only piece of apparatus it will stay on no matter how hot your house gets.
necessary to alter is the thermostat. Basically, as And, once the furnace goes off it will stay off, no
shown in Fig. 7-1, the thermostat is a temperature matter how cold it becomes. Figure 7-3 shows how
sensing device. Once a preset temperature is to take care of this particular problem.
reached (in the case of furnace control, when the Method number two resolves the problem by
temperature drops below a certain level), the ther- sensing temperature (through a thermistor-a
mostat allows an electric signal (switch) to turn 011. temperature sensing device, connected to the com-
This signal turns the furnace on and the house puter) so that the computer knows when the house
begins to warm. Once the house reaches the desired has become too cold or too hot. Theoretically,
temperature, the signal shuts off and so does the various temperatures could be maintained
furnace. The thermostat senses temperature and throughout the day and throughout the week. This
allows the switch to be either on or off. sounds like an optimal heat control system. The
Many methods could be used for computer C011- problem arises when there is a power outage, or

Thermostat

I Wi re Between
+-Furnace I+- Thermostat +--Basement
I and Furnace
__ ____ J

Fig. 7-1. Thermostat control of furnace. Electrical contact made at the thermostat when temperature dips.

50
Do NOT use this method!

Furnace-...

01111
, ,~

Signal
Controller
Fig. 7-2. Computer controls furnace only according to time. Do not use this method.

for some other reason your computer fails (such as method described in this chapter will offer the ad-
your son Billy decides he wants to play SPACE vantages you're looking for, and at the same time
PIRATE BLASTERS on the computer after com- be easy to implement.
ing home from school). Again, the furnace may stay Remember the explanation of how a thermostat
on or stay off depending on how it was set when controls either the furnace or cooling system? The
the computer went off. This could lead to either a simple CHC method as shown in Fig. 7-4 works,
very hot or very cold house! These methods are not in effect, by fooling the thermostat. This is done
recommended for Central Cooling for the same by turning on and off (via computer control) a very
reasons. small local heater placed right below the ther-
The better alternative relies on tried and true mostat. The local heater, as shown in the diagram,
technology-the kind that controls your home now, is roughly the size of a hockey puck and is controll-
but with a few minor adjustments. Two are de- ed by one of the X-lO Appliance Modules. The local
scribed in this book, one in this chapter and one in heater uses only a small amount of current, and
Appendix B. By far the easiest method is found therefore, a small voltage reducing box
here. However, the one described in the appendix (transformer) is connected to the X-10 module. This
is somewhat more exacting in terms of both tim- cuts the voltage from normal house current (120
ing (having the furnace or air conditioning system volts) to a much lower current (20 volts). A double
turn on as soon as the appropriate temperature is strand wire connects the voltage reducer to the
sensed), and also in terms of regulating to an exact small local heater. No actual connection of any kind
temperature. For most purposes, however, the is directly made to your furnace, your cooling

51
system, or even your thermostat. small localized heater in the off position, and your
Let's look at heating first. You may decide to house will be at a comfortable 72 degrees.
keep your house at 72 degrees when you are awake, To control the air conditioning, you would first
and at 62 degrees when you are asleep or away. set your thermostat at the maximum temperature
The first step is to set up the computerized ther- that you would be willing to have your house reach
mostat controller and then set your thermostat to (possibly at those times when no one will be at
72 degrees. When you want the house at the lower home). Now the localized heater should be schedul-
temperature, you will have the small localized ed to turn on when you are at home and when you
heater turn on under your thermostat and raise the want the house to be cooler. The localized heater
temperature 10 degrees. This fools the thermostat will raise the temperature by 10 degrees at the ther-
into thinking the house is warmer than it actually mostat and the central air system will remain on
is; the furnace will shut down and the house will until your house has reached approximately 72
be allowed to cool until it reaches approximately degrees. (The thermostat believes the house has
62 degrees. At that point, the thermostat will think reached 82 degrees, though in fact the house is at
that the house is heading below 72 degrees, and will 72 degrees.)
allow the furnace to turn on (maintaining the heat
at 62 degrees). When you are awake and at home, WHAT MUST I BUY?
your control system will be scheduled to have the Obtaining the necessary parts is simple because

Do NOT use this method!

+-- Thermistor
(Heat Sensor)

Furnace--..

01111
,
Sensor Signal
Interface Controller
Fig. 7-3. Computer controls furnace according to time and temperature. Do not use this method.

52
Thermostat

@J
0)
Use this method. Local Heater

D r-----'
I I

Fig. 7-4. Furnace controlled by time and temperature using a small local heater and the X-10 System. Use this method.

they are all provided in one package sold by BSR below your thermostat. Run the double stranded
(USA) Ltd. The package is #TH2867 and is la- wire from the localized heater down your wall and
belled SAVE ENERGY. Included is a Thermostat along the baseboard to the nearest wall outlet. The
SetBack Controller (the localized heater), the wire is supplied with an adhesive backing, or you
voltage reducer (called a power supply by BSR), an may prefer to carefully tack the wire to the wall
X-IO Appliance Module, the necessary wire, and as you go. Once you determine the length of wire
complete instructions. The recommended retail you will need, cut off the remainder and strip the
price for the set is roughly $79.99. The same two leads at the voltage reducer end of the wire.
package without the Appliance Module (#TH2807) Connect the leads to voltage reducer as shown in
sells for $59.99 and is shown in Fig. 7-5. the wiring diagram in Fig. 7-6.
As mentioned, an Appliance Module is provid-
WHAT MUST I DO? ed with one of the two packages from BSR. If you
Set-up is fairly straight forward. Be sure to follow are interested, a cleaner look is possible using a
the directions provided by the manufacturer. The Wall Receptacle Module (BSR CAT. NO. SR227)
localized heater can be attached to the wall by which replaces the standard two socket wall outlet.
either small screws or by adhesive strips provided After the wires have been attached to the voltage
on the back of the housing. The location of this reducer, it should be plugged into the Appliance
device should be one fourth of an inch directly Module (or Wall Module if preferred).

53
The Thermostat Set-Back Controller has four allow you to turn the unit on or off as often as you
convenient settings. When not ill use, it can be would like. Further, with the capability of a seven
turned off; or when in use. it can be set to raise the day clock in your system. you can program every
temperature at the thermostat either approximately day of the week differently. The particular stand-
5, 10, or 15 degrees. lj se the setting which best alone timer BSR describes is limited to a 24 hour
suits your particular conditions. control cycle.
The last item left to do is to establish your soft-
ware schedule. Since you are sensing only time and HOW LONG WILL IT TAKE?
signaling an X-10 Module, control is now as easy Setup of the localized heater, the wiring to the
as controlling a lamp or appliance as described in voltage reducer, and plugging the voltage reducer
Chapter 6. into an Appliance Module should take no more than
Note: The BSR instructions state that "Com- fifteen to twenty minutes. If a Wall Receptacle
mand signals from the Timer ... turn your central .\1odule is used, add another fifteen minutes.
heating or air conditioning on and off up to twice
a day ... " This twice a day function is strictly a Special Note on Wall Receptacle
limitation of the timer they are describing and your Modules. The Wall Receptacle Module works on
limitation is only dictated by your software. More the same principle as all the other modules noted
than likely, your Commodore control system will in the last chapter. However, like the Wall Switch

Fig. 7-5. X-10 thermostat control system (courtesy BSFl (USA) LTd.).

54
Thermostat

@
Appliance
Module
o Local Heater

Back of
Voltage Voltage Reducer
Reducer

Fig. 7-6. Wiring diagram for controlling furnace.

Module, the Wall Receptacle Module is not plug- 1. Set the HOUSE CODE (red dial) to the
ged into a wall outlet. Iflstead, it is used to replace desired setting (use small screwdriver).
a normal wall outlet found in your home. Since most 2. Set the UNIT CODE (black dial) to the
home outlets have two places for plugs, so does the desired setting.
Wall Receptacle Module. However, only one of the 3. Make sure the electricity is turned
two plug positions is controlled by the X-lO System. off at circuit breaker or fuse box.
The other is just like any ordinary outlet. 4. Remove wall plate and old receptacle.
It is relatively easy to install the Wall Recep- 5. Connect leads as shown in Fig. 7-7, blue
tacle Module by following the directions included (or white) lead from the Wall Receptacle Module
with these modules and as described below. Be to white wire and black lead to the black wire. Also,
sure to turn off your electricity first before connect the green wire from the module to the
installing one of these. ground wire (green) or to a grounded junction box.

55
Ground

HOUSE CODE UNIT CODE

Fig. 7-7. Wall receptacle module Installation.

Be sure to use wire nuts (provided) for insulation. 15 minutes to install. The Wall Receptacle Modules
6. Mount the Wall Receptacle Module. are meant to be used like any other Appliance
7. Replace the wall plate. Module. They will not respond to the following
S. Turn the power on at the circuit breaker commands: ALL LIGHTS ON, BRIGHTEN, or
or fuse box. DIM.
Each of these steps takes approximately 10 to

56
8. Electric Hot
Water Heater

01111
I \0

F OR MANY, THE HOT WATER HEATER IS THE


most expensive appliance in the house. It's not
a day, every day of the year. That's a lot of energy
dollars out the window!
uncommon for the yearly bill to exceed $500 to
$600. According to the United States Department
of Energy, in 1981 the average household using an Gallons
electric hot water heater spent an average of $323 Meal preparation 3 to 5
based on a cost of .0564 per kilowatt hour (kwh). Meal Clean-up:
Compare this cost to your current electric bill, and by hand 3 to 5
many of you will find that a bargain by today's dishwasher 8 to 14
rates! Clothes washer 7 to 18
Before moving ahead to how your electric hot Bath (tub) 10 to 16
water heater can be regulated by your Home Con- Shower 6 to 12
trol system, a few general conservation ideas on Personal care and shaving 114 to 2
your hot water system are provided. Anyone who
is interested in this particular aspect of Home Con-
trol is interested for one reason-saving money- Another common energy waster is to have the
and these tips can help as well. hot water heater turned up higher than necessary.
First, let's take a look at how much hot water This, at times, is down-right dangerous. For most
is needed around the house. The list on this page purposes, hot water should be around 120 degrees.
is based on average usage. Commonly, however, hot water heaters are ad-
You will readily see that your requirements justed for 160 or even 180 degrees. At those
likely are low compared with the 40 to 60 gallons temperatures, the water is not tolerable to work or
of hot water most systems have available 24 hours bathe in, so cold water is then used to reduce the

57
heat. Thus, a lot of energy has been expended to These are small electric water heaters that are
first heat the water, which later is wasted as it is placed at or near the point of usage. Some are
cooled to a reasonable temperature. The first tankless hot water heaters, and are usually best
money saving step is to make sure the water is not where medium to large suppliers are not needed
being overheated. quickly. Others are small electric tanks that must
A second way to cut down on energy loss is to be switched on about a half hour before the water
insulate hot water pipes. Each time hot water is is needed. The latter are particularly adaptable to
used, it leaves the tank to get to the location where a Home Control system since you can use your
needed. If you wash your face on the second floor system to turn them on or off (just like any other
and your tank is in the basement, once you shut appliance) according to a schedule, or other events
your water off, the whole length of the pipe allows in your home.
the heat to escape. With insulation, this heat loss Getting back to the main hot water heater, this
can be slowed greatly. type of scheduling was discussed in Chapter 3 when
Other general maintenance tips include the the subject was saving money. Here's how it
following: operates:
o Check burners (gas or oil), or coils or
heating elements (electric) to make sure they are HOW DOES IT WORK?
clean and adjusted. Control of an electric hot water heater uses the
o Periodically drain the hot water heater (if method described in the Chapter 6. Basically, think
done reasonably often only a pail or two is of your electric hot water heater as just an
necessary) to get rid of the sediment which collects overgrown appliance! Your Computer Home Con-
at the bottom of the tank. trol system can be used to turn it on and off accor-
o Inspect pipes closely, and repair if leaking, ding to when hot water will be needed. Begin to
insulate as necessary, and repair or replace leak- develop a schedule when you will and when you
ing faucets. won't need hot water. Be sure to remember,
o Check any valves and the heater's ther- though, that if you decide you want a hot shower
mostat for proper operation. at 3:00 AM and your hot water heater has been
off from 6:00 the night before, it will take more than
Incidentally, some older dishwasher models do
just a few minutes before you can have your steamy
require hotter water (140 to 150 degrees) to operate
shower. Depending on your particular heating
satisfactorily. One effective method to circumvent
system, you could be shivering for a half hour!
this problem and still allow your hot water system
to operate at 120 degrees is to install a booster
heater near the dishwasher. A booster will take WHAT MUST I BUY?
your hot water (now at 120 degrees) and raise it the Check the ratings on your hot water heater. Most
20 or 30 degrees needed for optimal dishwasher run via 220 to 240 volts. Also check the amperage
performance. A booster is particularly efficient rating-maximum ratings should not exceed 20
because it only operates when water is running amps. If they do, have a qualified electrician install
through it; and uses no energy the rest of the time. a simple relay system so that an X-10 Appliance
Boosters come in all different sizes, but are often Module can be used to control a switch that will
small enough to fit in the cabinet under your turn on or off the current to the hot water heater.
kitchen sink (usually located next to the Take a look, also, at how your system connects
dishwasher) and still leave room for storage. The to the electricity in your house. Is it wired directly
payback for these boosters is often less than a cou- (often the case) or does it plug into a wall outlet?
ple of years. If your system plugs in, you're in luck and you
Another type of device is a local water heater. should be able to just plug in one or the other of

58
.. • ~

~4,

Fig. 8-1. 240 volt heavy duty Appliance Modules (courtesy BSR (USA) Ltd.). The module on the left is rated at 15 amps
and the module on the right is rated at 20 amps. Note the different socket shape.

the two 240 volt Appliance Modules. If not, an elec- 3. Set the HOUSE and UNIT CODES on the
trician can put in the appropriate plug and outlet. appropriate 240 volt Appliance Module.
One of the two 240 volt Appliance Modules is rated 4. Plug the Appliance Module into the wall
at 15 amps and the other is rated at 20 amps. These outlet.
can be differentiated by their socket configurations 5. Plug the water heater into the Appliance
as shown in Fig. 8-1. Both 240 volt X-IO Modules Module.
are available from either BSR or HeathKit. 6. Turn the power back on.

WHAT MUST I DO? Your hot water heater is now under the con-
trol of your Commodore 64. The last thing required
Before doing anything, turn off the power.
is to adjust the software to suit your schedule. Your
At these voltages, power should be off even if you
seven day clock can ensure that you have hot water
are only unplugging and replugging equipment. If
when you need it, and savings the rest of the time!
your system is directly wired to the electricity, have
an electrician make the necessary plug and outlet
arrangement. If your hot water heater simply plugs HOW LONG WILL IT TAKE?
into a wall outlet, then follow these instructions: Whether your hot water system plugs into a wall
outlet or is hard-wired and, hence, an electrician
1. Again, make sure the power is off. adapts it, your part of the entire process should take
2. Unplug the hot water heater from the about 15 to 20 minutes including the adjustments
outlet. to your software.

59
9. Basement
Flood Sensing

01111
, ),Q

I know all too well the mess it causes and the


F YOU'VE EVER HAD A BASEMENT FLOOD, YOU leaked or a washing machine that potentially could
overflow. Each sensor will be connected via a dou-
damage it can do. And if you haven't had this oc- ble stranded wire to a set of terminals on your sen-
cur, take it from me-you never want to chance it! sing interface unit.
A basement can flood for a number of reasons: When a flood condition is sensed, your com-
leakage through the wall of the basement after a puter will take the appropriate action to let you
heavy rainfall, a broken water pipe, a washing know of the problem. This action could be flashing
machine that overflows, a cracked hot water tank, lights or turning a radio on and off, repeatedly. You
or even a dehumidifier that is not emptied proper- may also wish to have a bell or siren go off as ex-
ly. The flood control system described here won't plained in the next chapter, and you can even send
stop the cause of your flooding problem, but it will a signal through the phone lines as explained in
warn you early enough to prevent any real damage. Chapter 12, Notifying the Outside World. The lat-
ter is especially desirable if no one is usually home
HOW DOES IT WORK? during the daytime, when you are away on vaca-
tion, or for a summer or weekend house. In this
This flood control system is very easy to imple-
chapter, however, a simple signaling method using
ment. It uses a water sensor connected to your
the X-I0 system will be discussed.
Home Control system, with a signal of some sort
to alert you that a flood condition exists. You may
wish to use more than one water sensor strategical- WHAT MUST I BUY?
ly placed in your basement. These locations should This is one of the least expensive projects you will
be at low level points on the floor near the possible find. If you wish, you can build the water sensors
hazard conditions-a wall that has previously from a few odds and ends that you already have

60
around the house. Or if you prefer, you can buy to build one extra water sensor for this purpose.
commercially available water sensors from stores Use heavier wire (18 or 20 gauge) that is approved
that specialize in security systems or the like, or for burial.
possibly from your Home Control equipment Figure 9-1 shows that you poke or drill some
manufacturer. One easy to find water sensor is sold holes in the bottom of the planting pot to allow
by Sears (catalog #9 H 57045) for $39.95. water to seep in if a flood occurs. Also, drill two
The only equipment necessary for signaling will holes on either side of the pot (towards the bottom)
be the same light and Appliance Modules that you so that the pencil or dowel can snugly slide through
used in Chapter 6. This multiple use of Home Con- the pot. Cut two one foot lengths of wire, and strip
trol components is one of the key benefits of an in- the insulation off on both ends on each-about one
tegrated system. Many of the projects in this book inch on one end and three inches on the other. After
can make use of equipment (both sensor and signal) inserting the dowel into the planting pot, wrap each
for other things as well. wire (using the three inch stripped end) around the
dowel so that the two wires do not touch and are
WHAT MUST I DO? roughly one half to one quarter inch away from each
First, decide whether you wish to purchase or build other at their nearest point. Now fill the planting
your water sensors. To build a water sensor, you pot with about two inches of soil. For ballast, you
will need a small plastic planting pot, some potting may want to place a few small rocks on top. Your
soil, a pencil or wood dowel, and the necessary wire water sensor is now complete.
(22-24 gauge). (If you are planning to use your Place each water sensor in the locations where
Home Control system to water your lawn or a flood is most likely to occur, and wire to a pair
garden(s) as discussed in Chapter 14, you may wish of analog terminals on your sensor interface. (If you

Plastic Plant Pot

~ ~1/41nch
Separation
Between Wires

Drill Holes in Bottom

Fig. 9-1. Construction diagram for water sensor.

61
purchased your water sensors, check to make sure to signal a flood condition, be sure to set the soft-
whether they should be wired to analog or digital ware so that the siren can be turned off even though
terminals.) the flood condition has not been corrected. Other-
When dry, the water sensors will allow little wise, the siren or bell will stay on until either the
or no current to pass between the two wires in the flood sensor is disconnected or dries out, or the
potting soil. However, when moist or wet, electrici- alarm is disconnected. Some audible alarms are ex-
ty will be conducted through the soil and your com- tremely loud and it may be very unpleasant if you
puter will show an increase in the analog reading. can't easily turn them off once you're aware of the
Test your sensors by first checking the readings flood condition.
when they are dry. Then simulate a flood condition
(add a little water to the soil) and check the readings
again. HOW LONG WILL IT TAKE?
Now adjust your software to reflect the dif- Once you have all the necessary materials, this is
ference in the two readings. Normally, the analog a fairly quick project. Building the moisture sen-
current reading will be low. When the analog sor, including testing, wiring, and software ad-
reading increases-a flood is present and your soft- justments, should take about thirty minutes. If you
ware should start some lights flashing and possibly are using lights and a radio as your alarm, you will
a radio should go on and off repeatedly. probably already have them in place from setting
Important: If you decide to use a siren or bell up the control of lights and appliances in Chapter 6.

62
10. Burglar Alarm System

01111
I

I MAGINE THAT YOU ARRIVED HOME TODAY AND


your new TV, your VCR, the family jewels, the
only internal alarm systems on which to rely.) Ac-
tually, according to the experts, the increase in
silver, and your collection of whatever was gone. security systems has not resulted from an increase
Worse yet, imagine someone in your family arriv- in crime over this time period, but because of the
ed home before you-know-who finished packing! following reasons:
Unfortunately, people don't do enough imagining
until after they have been victimized. According to D Micro chips used in alarm systems (in-
industry experts, usually only people who were ac- cluding regular stand-alone systems) have made
tually "hit" by a robbery, or saw it happen to a these much more within reach of the less affluent
relative or neighbor, seriously investigate protec- homeowner.
ting their home. However, recent FBI figures show D More women have joined the workforce,
that one out of every six U.S. homes will be the vic- and many more houses each year are not occupied
tim of crime this year. These range from childlike during the day.
pranks to serious vandalism, outright burglaries, o Many homes have much more in the way
all the way to actual personal tragedies. of valuables-expensive stereos, 35 mm cameras,
Although statistics vary greatly, estimates of jewelry, VCR's, and of course, home computers-
the growth of home protection schemes (including and the owners feel a greater need to protect these
burglar alarm systems) average around thirty per- items.
cent annually. In 1978, less than two percent of the
homes in the U.S. had such protection; in 1983, it Although generally people think that burglaries
is estimated that from six to over nine percent do. happen in the dead of night, just the opposite is
(Even of these "protected" homes, very few are true. Most occur during the day. Burglars general-
linked to a central monitoring system and thus have ly use a door to gain entrance, and if a door is not

63
particularly convenient, they choose a window. (photograph expensive items) and place the inven-
Also, most people have their houses ill equipped tory (and pictures) in a safe deposit box. Use an
with even the most rudimentary protection devices "electric pencil" (etching device) to identify your
such as good locks for doors and windows. belongings.
Therefore, if you have decided to include a burglar o When landscaping, care should be taken
alarm system in your Home Control plans, it is with the placement of trees and bushes which could
recommended that you first take some steps to en- provide cover for a burglar attempting to get inside
sure you've covered the basics. This may require your house.
a little homework on your part, but it should make o If you're going away for a day or more,
your overall protection plan much stronger. make sure all deliveries (mail, newspapers, etc.) are
The first thing to consider is contacting your stopped. If you will be away for an extended period,
local police department to find out whether they can make arrangements to have your lawn cut.
help you. Many police departments offer, free of o Help your neighbors by watching their
charge, a home visit where an officer will actually houses, and ask them to check on yours. Instead
tour your home with you and make recommenda- of hiding a key outside your house, leave it with
tions to help ward off burglars. These visits are part a trusted neighbor.
of the police department's Crime Avoidance or
Crime Prevention program. If such a program is This list can be used as a minimum guide for
unavailable, your home insurer, a security (burglar your thoughts about the security of your home.
alarm) companY,or your public library maybe able However, each home has unique features such as
to offer additional information. By the way, many sky lights or a coal chute, so be sure to consider
insurance companies will discount the rate you are any special cases that may impact your protection
charged by as much as 15% if you install an alarm scheme.
system that meets their standards, so you should Take another look at the list above in terms of
check with your insurer to find out their standards Computer Home Control. Your Commodore can be
prior to installing anything. Security companies are invaluable in terms of giving your house that lived-
a good source for advice and ideas for your home's in look when you're away. Consider what has
protection and many have a wide selection of sen- already been covered in Chapter 6. With your Com-
sors and alarms for your Home Control system. modore, it's easy to have both interior and exterior
The following is a brief security checklist which lights turn on and off at appropriate times. Further,
should be covered as you go through your home. you can vary their schedule from day to day by us-
These are the basics. However, don't forget that ing a seven day clock. From the outside of your
each home is different and may have special house, you can even have the lights appear to be
requirements. turning on and off as if someone was walking from
room to room! And don't forget about your radio
o Check all doors and windows for proper or TV. Your computer can make your house sound
locks. A reputable locksmith can provide advice, as if you were home, too.
if needed. Also, make sure the frames around the The focus of this chapter, however, is to show
doors and windows are sturdy, and the same goes you how to develop computer sensing and signal-
for the doors and windows themselves. ing devices to do two things:
o Consider yard lights near all exterior en-
trances, including your garage. 1. Let you know if someone is trying to break
o Have your house look and sound lived-in into your home.
when you're away. Use lights and a radio for this 2. Discourage the burglar from going any fur-
purpose. ther with his or her efforts.
o Make a detailed inventory of our valuables No security scheme gives 100 percent protec-

64
tion. However, actual surveys have been done with ly care and others will see it as a basic necessity.
burglars, and by and large they agree that a home Although this is covered more thoroughly in
protected by a burglar alarm system is the best Chapter 17, it's important to note that there are dif-
deterrent. Also, if a burglary does occur, a securi- ferent types of battery backups. A battery backup
ty system can be decisive when many people can't capability may only mean that a product is able to
be. maintain its clock at the correct time until the power
One nice thing about Computer Home Control returns or it may mean that the product is able to
is that it can be a relatively inexpensive way to pro- operate a complete system during a power outage.
tect your home. This assumes, of course, that you If you want this capability, be sure to doublecheck
bought your Commodore for more than just home the manufacturer's definition of battery backup.
security so that the cost of the computer itself is If someone is attempting to break in to your
allocated against all of its uses. Also, if you bought house, should your system be capable of notifying
your main signal and sensor interface devices for the police? This is a subject covered in Chapter 12,
multiple purposes, these too should be discounted Notifying the Outside World. If you desire this
accordingly. The discounted portion of this equip- capability be sure to read that chapter before
ment, added to the cost of the door and window sen- finishing the design of your burglar alarm system.
sors, possibly a motion detector or two, and the cost Should your system be capable of letting you
of a buzzer, bell, and/or siren is relatively modest know exactly which door or window has been
compared to the expense of a standard burglar tampered with by displaying such information on
alarm system. Most of these range between $1500 your monitor or printer? (What's the likelihood dur-
and $3500, while the actual sensors and alarms for ing a break-in that you'll run to your Commodore,
your system should range from $100 to $400. Once turn on your monitor, and take a curious moment
you plan your system, you can perform your own to find out exactly where the burglar is?) This much
comparison between a Computer Home Con- sophistication is probably not necessary, and
trolled system and a stand-alone system feature by besides, it does make wiring more complicated. The
feature. However, prior to planning your burglar one advantage to this capability is that if you had
alarm system, there are a few things which you a sensor that was malfunctioning, it could be iden-
should consider. tified more quickly.
First, do you want your burglar alarm system Since we're on the subject of wiring, should you
to be able to run while you are using your Com- consider using a wireless system (a system where
modore for other things? In other words, if you are the sensors send messages to the sensor interface
working on a spreadsheet or word processing ap- via radio frequencies)? The advantage of a wireless
plication in your den, is it important to you to know system is that it is definitely easier to install since
if someone is climbing in through your basement you don't have to run wires between your sensors
window? Many people are primarily concerned and your computer. However, since each wired sen-
about protection at night or when they're away sor does not need to be wired independently (as you
from home. Others feel that if they're going to go will see), a wired system is not really that com-
to the trouble of having a burglar alarm system, it plicated. Further, many experts contend that
should be operable 100 percent of the time. If you wireless systems are not as dependable as wired
decide you want your system to work all the time, systems for the following reasons:
your Home Control system must be able to operate
independentlY of your computer. Some of the more D Stray broadcasts have been known to cause
sophisticated products in the Product Directory false alarms (e.g., when your neighbor opens his
have this capability. garage door with a remote control unit).
Do you want to include a battery backup in case D Each sensor requires a signaling capabili-
of a power failure? Again, some people won't real- ty that is dependent on a battery. If the battery

65
wears out, you have a door or window unprotected and windows that detect any tampering, while in-
and usually no way of knowing until you check the terior protection involves using motion detectors or
battery. floor mats under carpeting to detect a burglar once
D Similarly, if the wireless sensor itself inside. Perimeter protection is definitely the pre-
becomes defective you have no way of knowing ex- ferred method since it's designed to prevent the
cept by thorough checking and testing. burglar from getting inside the house. However,
D Some wireless systems are better than some experts believe that it's wise to have dual pro-
others, and if you plan to use one, be sure to check tection, just in case a burglar manages to get past
on the three points above. the perimeter safeguards.

Should you locate a bell or siren on the outside


of the house where a burglar is likely to notice it? HOW DOES IT WORK?
Although this shows the burglar at least one aspect A basic burglar alarm system works reasonably
of what he's up against (so that he may first try to simply and this chapter will demonstrate fairly
defeat the alarm), experts say this is a good deter- standard, readily accessible, and inexpensive sen-
rent to convince the burglar to choose another sors and signaling devices.
house. Be sure that when you install your bell or For simplicity, Fig. 10-1 shows a relatively
siren that you attach it in a location thal is par- modest one story house, with three doors, a garage,
ticularly hard to get to, such as on the side wall of and a few windows. Looking closely at the diagram,
your house a few feet below the peak of the roof. you can see dotted lines that lead from the house
To further protect it you can place it in an enclosure entrances and windows to the computer in the
that has an anti-tamper switch attached. This bedroom. These represent the sensor connection
tamper switch will set off the alarm if someone tries wires leading to the computer. Unfortunately, this
to disarm it. You may also want to include a high project does have a few wires running around your
intensity flashing light near the alarm to help police house, but these can be relatively thin, since they
locate your house quickly. are carrying fairly low voltages (probably 5 to 24
Another point that experts agree on is that volts). Also, several doors and/or windows can be
stickers should be placed on doors and/or windows connected using the same dual strand of wire,
to let would-be burglars know that the house is which cuts down on the wiring. Make sure the
protected. wires are well concealed from view. Home elec-
Should you also include an inside alarm in your trical wiring books at your local bookstore or library
system? Probably two! The first alarm is to make are full of suggestions on how to do through the wall
sure you (and your burglar) know that a break-in wiring. However, neat wiring along moldings will
has been detected. Although an outdoor alarm may suffice in most cases.
be plenty loud outside the house, often if you are Based on digital (on or off) sensing devices,
inside and at the other end of the house, it may not your Computer Home Control system can easily tell
be loud enough to get your attention. Make sure if a door is opened, if a window is disturbed, or if
your inside alarm is loud enough to wake even there is motion inside (or outside) the house. As
heavy sleepers. The other alarm should be buzzer noted in Fig. 10-1 there are sensors located at the
or beeper to remind you to disarm the system upon potential entry points (windows or doors) and a mo-
arriving home. Letting your system know that it's tion detector has been installed as an extra interior
the "good guys" can be accomplished by way of precaution. A key switch has been used as a sen-
a well hidden button switch, a key switch, or a sor inside the house. The purpose of the key
digital key-pad. switch (or hidden switch button or digital key-pad)
Should you use perimeter or interior protection? is to allow you to enter or leave your house through
Perimeter protection means having sensors at doors a door that is part of the security system-without

66
---,
I
I

--"'-+II[!]• I
6I
I

_ 0:
_ _ oJ

o Window and Door Sensors


[} Key Switch Window Wiring
Door Wiring
1m Beeper Key Switch Wiring
• Indoor Alarm Motion Detector Wiring
• Motion Detector
o Panic Button
~ Strobe Light and Siren

Fig. 10-1. House burglar alarm system diagram.

setting off the alarms. You will need to adjust your distinguish whether you have a burglar, a flood, or,
software to allow you a few seconds to enter the a subject for the next chapter, a fire. For multiple
house and turn the key switch in order to de- safety components, you could use different types
activate the alarms from sounding. Also, using the of alarms or alarms with multiple sounds. As an ex-
key switch prior to leaving should provide you with ample, you could have the lights and radio turn on
30 to 60 seconds before the burglar alarm system and off for a flood in the basement and use a siren
re-arms. to signal a break-in attempt.
One important thing not to forget is that if you
are installing more than one safety component to WHAT MUST I BUY?
your Home Control system, you must be able to Take a few minutes and review the drawings of

67
your house which you made in Chapter 4. Using Shack. Both their quality and selection is good.
the house in Fig. 10-1 as an example, adjust your Some of the items they have available include the
sketch accordingly. following:
There are many different types of sensors for
various purposes which can be purchased for just o Door and window sensors in different sizes
a few dollars. From your drawings, decide what and types. Some are made to be completely con-
devices (sensors, alarms, etc.) need to be connected cealed from view. (Sensors should be difficult to
to your system. Should only your first floor be pro- see). Prices run from $3.49 to $3.99.
tected, or would you prefer to have the upper o Glass alarm foil (for sensing
floor(s) covered, too? How about basement win- breakage)-$5.99 for 120 feet.
dows? What type of sirens, bells, or buzzers do you o Glass breakage detector-$7.95.
need? Would you prefer to have both a siren or bell o Vibration detector which can sense distur-
inside as well as outside the house? bances on most any surface-$3.95.
What about interior protection using floor mats o Panic button-$1.49.
or motion detectors? If you have a large dog that o Tamper switch-$1.39.
has the run of the house, floor mats may not be your o Floor pressure mat-$1O.95.
best alternative for interior protection. Also, there o 2-conductor twisted wire-$5.49 for 100 ft.
are different types of motion detectors to consider. o Warning decals-$.99 for 5.
Ultrasonic or microwave detectors send emissions o High security key switch-$9.95.
throughout a room and sense if the reflected emis- o Key switch plate with status indicator
sion patterns change. If not adjusted properly, pets lights-$5.95.
or even curtains blown by the air can cause false o 8" alarm bell-$19.95.
alarms. These detectors can be tricky to adjust pro- o Electronic siren-$16.95.
perly. A second type, infrared motion detectors, o Security strobe light-$19.95.
usually send an invisible beam across a room to a o Buzzers from $.99 to $6.95.
receiver on the opposite wall. If a burglar is aware o Infrared motion detector-$69.95.
of the presence of this equipment, he or she may o 12 Vdc voltage reducers from $9.95 to
be able to avoid the beams. $34.95.
Thermal sensors (a third type) are able to sense
the presence of individuals entering a room by their This list should not be considered exhaustive,
body temperature-roughly 98.6 degrees compared but it will give you an idea of the great variety of
to other things in the room which average 62 to 78 equipment that is available for your alarm system.
degrees. These detectors are not particularly sen- As always, when choosing specific products for
sitive to hot air systems, and will not sense move- your system, make sure that voltage requirements,
ment or radio frequencies. Therefore, they are etc., are appropriate. Store sales personnel can
unlikely to signal false alarms. often be very helpful in this regard.
After deciding what should be included in your Before making any purchases, be sure to read
system, you may wish to visit a store that the fine print about the devices you choose. One
specializes in security systems, or a hardware or very important thing to look for is whether the item
electronics store that carries security equipment. says it operates as a normally open or as a normally
When purchasing equipment, be sure that you buy closed sensor. Normally open means that, unless
quality items. You may be able to save a few dollars tampered with, electricity will not pass through the
with an inferior grade at a discount department sensor. Normally closed means that, unless
store, but remember-you may be depending on tampered with, electricity will pass through the sen-
this equipment during an emergency. One national sor. (Think of electricity as making a loop from one
outlet for equipment for your system is Radio terminal (connecting screw) of the sensor interface

68
device through the sensor, and back to the other door or window without knowing it. In a normally
terminal. Open means there is a gap, and electrici- closed circuit, your alarm system would quickly let
ty cannot normally go round the loop. Closed means you know of any loose wires!
no gap, and electricity can normally travel the en-
tire loop.) More than one sensor can be attached WHAT MUST I DO?
to each loop on your Home Control Sensor Inter-
Once you have your sensor and siren equipment,
face if the following two conditions are met:
review the diagrams you made of your house once
1. The alarm system should act the same way more. Plan exactly where the wires should run in
to all the sensors connected to that terminal pair. order to connect the sensors correctly, and so that
2. All sensors connected to the same terminal the wires are fairly unobtrusive. Now look at the
pair are the same type: either normally open or nor- wiring diagrams for both normally open or normally
mally closed. closed sensors in Figs. 10-2 and 10-3.
Normally open (normally off) sensors are wired
Make sure, therefore, that all sensor equipment in parallel so that if anyone sensor is tampered
purchased for any given set of terminals is all of with, the Home Control Sensor Interface will sense
the same type. In general, normally closed systems an on condition. Only one sensor triggered will com-
are preferable since in a normally open circuit, the plete the loop as shown in the diagram, and change
burglar alarm system cannot tell if something has the condition from off to on.
become disconnected by mistake. If, for example, Normally closed (normally on) sensors are
a wire comes loose, you may have an unprotected wired in series so that if anyone sensor is tampered

Normally Open

Digital
Sensor
Interface
Terminals

.~.
\.

Magnetic Door or Window Sensors

Fig. 10-2. Normally open sensors wired in parallel.

69
Normally Closed Magnetic Door or Window Sensor

Digital
Sensor
Interface
~I;f,---~
Terminals

Fig. 10-3. Normally closed sensors wired in series.

with, the Home Control Sensor Interface will sense an appropriate voltage reducer (sometimes re-
an off condition. Only one sensor triggered will ferred to as ac to dc converters, adapters, or
break the loop as shown in the diagram, and change transformers) for this purpose. These are easy to
the condition from on to off. find at Radio Shack, Sears, and other stores. Be
Be sure that all sensors (whether magnetic swit- sure to check that the amperage of the voltage
ches, motion detectors, or combinations) connected reducer is compatible with your alarm and whether
to one set of terminals follow one or the other or not you need an ac to dc conversion. The voltage
diagram above. Momentary contact key switches reducer will simply plug into the X-10 Appliance
and button switches can be wired (if more than one) Module and then a two conductor wire will need
similarly to either example above, again according to be run from the voltage reducer to the alarm(s).
to whether they are used as normally open or nor- Alarms that are not supposed to sound at the same
mally closed. Key switches should not be wired to time will need a separate X-10 Module as well as
the same terminals as the doors with which they a separate voltage reducer.
are linked. Figure 10-4 shows a simple wiring
diagram for the house in Fig. 10-I. Note: Alarms installed as above will not work
If your Home Control system does not include if there is a power outage.
relays, you will want to use your X-10 Controller
to start and stop your alarms (bell and/or siren and If your Home Control system has relays on the
beeper or buzzer). The easiest way to handle this controlling side, you can use these to provide power
is to connect an X-10 Appliance Module to each of to your alarms. The relays simply turn power on
your alarms. However, most alarms work at lower or off as dictated by your Home Control software.
voltages such as 12 Vdc, and therefore, you need Also, if you plan to have a battery backup system

70
for your alarms (see Chapter 17), a relay system can should begin to sound within a few seconds, and
be set up to work even if there is a general power the alarm should sound after 15 seconds (or
outage in your neighborhood. If your Home Con- whatever time frame fits your needs).
trol system includes relays, usually the power o If the key switch (or button switch) is ac-
source will be a part of the system as well. Your tivated within those fifteen seconds (and the door
alarms should be wired according to the manufac- has been properly closed), then the alarm should
turer's instructions, and their instructions should not sound. Also, after activation of the key switch,
also provide the necessary information as to what have your software programmed to rule out the mo-
brands of alarms should work according to their tion detector while you're at home (so you can walk
electrical power needs. around the house freely).
Once the wiring is finished, the next step is to o If the key switch is activated, 60 seconds
adjust your software. The following is a suggested should be provided in which to leave the house
setup: without the alarm going off.
o If the alarm is on and the key switch is ac-
o Have alarm sound immediately when any tivated three times within ten seconds, the alarm
window or motion detector senses a break-in. should shut off.
o If a door is opened, the buzzer or beeper o If the alarm is on, after five minutes it

Door Sensor Wiring

en
I c==J ~
~
c
Window and Panic Button Wiring
E
....
a> / c::::=:J c::::=:J ~ c::::=:J c::::=:J
~
a>
o
--....
ctl
a>
c
Motion Detector Wiring

.... .J
oen
c
a>
en ...---t
~
.-::
0)

Key Switch Wiring

Fig. 10-4. Wiring diagram for burglar alarm system sensors.

71
should shut off and the system should re-arm. take between ten to fifteen minutes. The same is
true for the alarms, except for the one placed high
Your program, of course, can be arranged to
up on the outside of your house. Wiring is best done
react in any way that suits your specific plan. One
for this alarm by drilling a hole through the side
enjoyable addition to think about adding to your
of the house and running the necessary wires
software is to have the hall light go on (only after
through this hole. Alternatively, you can run the
dark?) and your radio start playing after you have
wire through a second floor or attic window. (Be
entered the house.
sure to properly seal the hole for insulation pur-
poses.) This alarm may require anywhere from ten
HOW LONG WILL IT TAKE? minutes to an hour to install.
The time required for this project will vary depen- Scheduling the software for this project will
ding on how sophisticated your burglar alarm also take more time than many of the other projects,
system becomes, and how you plan to do your wir- although an hour should suffice. Also, you will need
ing. A wireless system will obviously require less to test each component of the system, with the time
time than one wired through the walls. As a rule required for this dependent on the number of sen-
of thumb, each wired sensor (where wires are run sors and alarms installed. Testing should take from
neatly around moldings and baseboards), should 10 minutes to a half hour for most systems.

72
11. Smoke And
Heat Detection

01111
I '0

A COMMODORE 64 CONTROLLED FIRE ALARM


system is but one of a number of steps you will
this subject from your local fire department, your
town library, or from your insurance agent.
wish to take in a comprehensive program for fire If you or your family are involved in a fire,
safety. Your program should include minimizing the these are the basic rules to follow:
chances for a fire to start, as well as maximizing
your ability to escape should a fire occur. Consider 1. Don't panic.
the following guidelines: 2. Get out of the house following your plan.
3. Feel doors for heat before opening.
o Take the time to understand the causes of 4. Keep close to the floor (smoke rises and
fires, and be aware of potential conditions in your is less dense closer to the floor).
home. 5. Close doors and windows as you leave.
o Eliminate unnecessary fire hazards. Survey 6. Have the family meet at a pre-determined
your kitchen, heating system, home appliances, and place.
where combustibles are stored for potential 7. Call the fire department as soon as possi-
problems which can be eliminated. ble after leaving the house.
o Know and practice fire safety rules, and 8. Never re-enter a burning building.
learn how to react to different types of fires.
o Develop a fire escape plan and have all A smoke and heat detector project is easy to
family members practice it periodically. implement as part of your Computer Home Con-
o Install an adequate alarm system. trol system, although it usually requires a minimal
amount of wiring between the detectors and your
This list is not particularly detailed and you sensor interface. This project, however, is an
may wish to obtain further advice or materials on especially valuable addition since it can be setup

73
to thoroughly notify the house occupants of fire. An home use are good as single station sensor and
example of this might be where a fire starts in the alarm systems. However, few of the detectors sold
basement. The Home Control system can signal at your local hardware or department store are
those on the second or third floor of the condition, meant to be interconnected or linked to a security
where a conventional smoke alarm installed in the or Computer Home Control system. The alarms
basement might not be heard on all floors of the mentioned in this chapter will have this capability,
house. and although they are usually slightly more expen-
The fire protection system can also be linked sive, they have expanded possibilities for better
with an outdoor siren or bell to either notify you, protection.
if you're outside, or to notify your neighbors. In this The main difference between this type of
chapter, you'll see how to make the connections smoke or heat detector (sensor) and the kind you
between smoke and heat detectors, your Computer may now own is that the latter contains a simple
Home Control system, and the warning alarms relay which works on either a closed or open cir-
around your home. Chapter 12 will be of interest cuit. (For further explanation see the discussion of
as well, if you want your Commodore to be able to open and closed circuits in Chapter 10.) The relay
phone for help. built into the detector will change from open to
closed (or vice-versa) when the detector senses a
HOW DOES IT WORK? smoke or a heat condition.
Most smoke detectors that you see advertised for The approach suggested for CHC requires that

Fig. 11-1. Combustion (smoke) detector (courtesy of ADEMCO).

74
(

Fig. 11-2. Heat detector (courtesy of ADEMCO).

each detector be wired in parallel or in series degrees) will go from open to closed (off to on) or
(depending on whether the circuit is open or closed) vice versa. The other type is a rate of rise ther-
to your sensor interface unit. Your computer, mostat which will activate by the temperature sud-
if a fire condition is sensed, will send out a general denly rising.
alarm inside (and, if you wish, outside) your house. The following list provides specific examples
of detectors. These are all manufactured by the
WHAT MUST I BUY? Alarm Device Manufacturing COMPANY
Appropriate smoke and heat detectors which in- -ADEM CO.
clude a relay switch can be obtained at stores that ADEMCO Model 580DR. Smoke detector
specialize in security protection systems. Detectors (pictured in Fig. 11-1) with relay and alarm horn
for a CHC system do not require their own built in (power supply-9 volt battery). Can be used on both
alarms. However, you may wish to have some with normally open or normally closed circuits.
this feature if you don't have a battery backed up ADEMCO Model 590DR. Similar to above
Home Control system. Wiring is easiest if all detec- but powered by normal (120 volt AC) house current.
tors can be used on a normally open circuit or all ADEM CO Model 502. Fixed temperature
on a normally closed circuit. thermostat (pictured in Fig. 11-2) that activates at
Heat detectors come in two basic types. The 135 degrees. Model 504 activates at 190 degrees
first is a fixed temperature thermostat that upon and can be used in attics, hot kitchens, or near a
reaching a precise temperature (such as 135 furnace. Both are open circuit devices.

75
ADEMCO Model 501. Rate of rise ther- tion. On side walls, detectors can be located from
mostat that in addition activates if the temperature a half foot (minimum) to a foot from the ceiling.
reaches 135 degrees. Model501A is similar but ac- The National Fire Protection Association's
tivates at 190 degrees for use in attics, hot kitchens, Standard #74-1978 entitled Household Fire Warn-
or near a furnace. Both are open circuit devices. ing l!.quipment can be consulted for further infor-
On the signaling (alarm) side, you can use a bell mation by sending $3.00 to them at 470 Atlantic
or a siren as described in Chapter 10. The same Avenue, Boston, Massachusetts 02210. Again, your
alarms may even be used if you add something that own fire department may be a good source for ad-
will let you know that you have a fire instead of a ditional information and local requirements.
break-in attempt. If you have decided to take ad- Once you have figured out where to place your
vantage of all three projects for safety and detectors and how many you will need, also careful-
security-the flood, burglar, and fire detection ly decide what type and where your alarms should
systems-you may wish to use the following alarm be located. Once this is done, you can obtain the
methods to differentiate the condition: detectors and alarms and begin installation. The
following is the wiring plan of a simple two story
o Flood-flash lights and turn radio on and off house with basement and garage. The wiring shows
repeatedly. six smoke and heat detectors wired together to the
computer sensor interface unit.
o Burglar-flash lights and have siren(s)
and/or bell(s) sound. In this instance, the connection is digital and
o Fire-turn on lights for escape routes and can therefore be connected to either a digital or an
sound siren(s) and/or bell(s). analog set of terminals. You may have all detectors
connected to a single set of terminals (as in Fig.
11-3); or if you wish to have your computer deter-
WHAT MUST I DO?
mine the location of any detector that has become
First, you'll need to decide where to locate your active, you can wire each to a separate set of ter-
smoke and heat detectors. Fire detectors should be minals. Figure 11-4 shows a normally open set of
located on each level of your home including the three detectors wired in parallel to one set of
basement and the attic. Each grouping of bedrooms terminals.
should have at least one smoke detector located in The signaling portion is handled exactly as
a central hallway, and for those who either sleep found in Chapter 10. Further, you may wish to refer
with their doors closed, or who smoke in their to Chapter 6 in order to light your house to make
bedrooms, a smoke alarm should be located within it easier to get out in an emergency.
those bedrooms, as well. The garage and the kitch- Once wiring is complete, be certain you make
en should have heat detectors rather than smoke the appropriate adjustments on your Home Control
detectors because of combustibles present in the software. Each detector should be tested to ensure
air. A smoke detector should also be located be- that your Commodore is able to sense a hazard con-
tween the living room and dining room or in a dition. Your alarm system must be tested, as well,
hallway that adjoins the two. It is also wise to locate to make sure the signaling side works as you ex-
a smoke or heat detector in any location that is pect. Also, adjust your software so that the alarm
closed off from the rest of the house by a door. can be silenced temporarily if it sounds by accident
In terms of mounting detectors, their location and so that it will automatically re-arm after about
should be towards the center of the ceiling, but ten minutes.
never in the peak of an "A" frame ceiling or withi.n
a half foot from where a ceiling meets a wall. In
these areas, the air is relatively stationary and the HOW LONG WILL IT TAKE?
detectors will be slow to sense a hazardous condi- Actual installation of these devices is quick and

76
~----,

- - - _1- _

----~

® Smoke Detector

~ Heat Detector

m Computer

Fig. 11-3. House smoke and heat detector system.

Smoke or Heat Detector

...
o(f)
c
~e
~
o o au
~e
Fig. 11-4. Normally open detectors wired in parallel.

77
painless. To attach the detectors to the ceilings or cluding two alarms, you will probably require
walls should take less than ten minutes each. Wir- somewhere between one and a half to three hours
ing time will vary greatly according to the amount including the time necessary to adjust your software
that is necessary and how careful you are to hide and test your equipment. Be sure not to forget
the wires. For a four to six detector system in- testing.

78
12. Notifying the
Outside World

01111
, \0

T HE LAST THREE CHAPTERS HAVE DISCUSSED


safety and security uses for your Home Con-
pens and suddenly you're aware that a burglar is
inside. Just how are you going to react? Wouldn't
trol system with each describing how to sense a you feel a little better if you knew that your securi-
hazardous condition and then signal you of the ty system was already contacting the authorities?
problem. These three, however, covered only those If a fire starts in the middle of the night, your first
methods of letting someone on or near the premises concern will be getting outside safely. Wouldn't it
of your house know of the condition. For many peo- be reassuring to know that your Computer Home
ple, this may be enough security for peace of Control system was in the process of notifying the
mind-especially for those who are home most of local fire department?
the time or who can rely on their neighbors to react If you desire this capability, the next considera-
if a problem arises. tion is which conditions monitored by your Home
You and members of your family however may Control system should take advantage of this
be away from home during the day, travel for feature. Are you planning to install all of the securi-
business or vacations, or may not feel terribly good ty measures in Chapters 9 through 11, or just one
about relying just on neighbors. Or you may have or two? (Possibly you have other special needs such
a vacation home or an investment property that as a freezer that has hundreds of dollars worth of
would be more secure if monitored in your absence. food stored within. You may want to monitor the
In these situations, you may feel that a Home Con- temperature (covered in the next chapter) to make
trol system which can communicate to the outside sure it doesn't rise to a level where spoilage could
world is a must. Even if you are not in these special occur.) Decide how many elements need to be
situations, you still may want to consider hooking monitored and how many different messages (cor-
up with the outside world. Suppose a break-in hap- responding to the various problems) need to be sent.

79
In other words, should your Computer Home Con- the fire department or get the food out of your
trol system simply sound an alert that something freezer?) Provide any phone numbers they will
is wrong, or should it be more specific-for exam- need, and write down any message that they are
ple: "there is a break-in attempt at a basement win- to give to a third party.
dow."
Who should be notified? Suppose you install Another possibility is to have your Home Con-
both a burglar and fire security system, and decide trol system contact an answering service or central
to have your Home Control system be able to send security station. These can be found by looking in
two different messages. The burglar message is to your yellow pages under telephone answering seroices
summon the police and the fire message is to bring and burglar or fire alarm systems. These services
the fire department. One option is to have your will receive the message from your Computer
system notify each of them directly. However, be Home Control system and react according to prear-
aware that many police and fire departments will ranged instructions. Their fees usually run from
only react to recorded messages if there are no $15 to $30 dollars per month.
other emergencies, and others will not react at all. All telephone answering services and central
Still others will react, but after the second or third security stations are not equal when it comes to
false alarm, they will levy a charge for services emergencies, so be particular with the service that
rendered! you choose. Make sure their service operates 24
The reason so many agencies do not positive- hours a day, and select one that is familiar with your
ly react is that the proliferation in recent years of area and its emergency services. If you are con-
burglar and fire alarms with recorded messages has sidering hiring a telephone answering service, keep
triggered extensive false alarms. (A good way to in mind that this is probably a side line, so double
prevent false alarms on your system is to have your check that they will react appropriately in an
software programmed for a 20 or 30 second delay emergency.
before calling out after the house alarms go off.
This provides you with the necessary time to cancel HOW DOES IT WORK?
a false alarm, yet still provides outside help quick- There are many different types of equipment that
ly when necessary.) If you decide to have your can be used to notify the outside world. Most make
system call your local police or fire department, be use of phone lines, and some cable companies are
sure to check with them first. beginning to offer security services over their TV
Other possibilities to consider are to call cables as well. (If you have a cable company that
yourself at work, call a neighbor or relative, or call provides these services, you may wish to contact
a private company that is set up to receive and react them for further information.) The kind of equip-
to such messages. Consider, though, just how often ment that you choose will be dependent on your
you or your friends will be at the location to be call- particular requirements, the services offered in your
ed. Calling someone when they are not there is not area, and the Home Control system you have
much assistance. And if you do use a neighbor or established. The following are four basic types of
relative, be sure to test the system with them so equipment in use today:
that they have actually heard the message(s), and
make sure they know exactly what to do. They D Passive busy signal
should know: D Noise over line
D Voice
D What the message means (i.e., fire, break- D Digital
in, etc.).
D Your address and phone number. Passive Busy Signal. This is by far the
D Exactly how to respond. (Should they call simplest and unfortunately, also the least helpful.

80
This system has applicability in those cases where green incoming wires which are connected to the
only a rare check on a condition is necessary. An base of your phone.
example might be a vacation home in an area where Noise Over Line. A few Home Control
occasionally the temperature becomes quite cold, manufacturers have chosen this as an inexpensive
and you're concerned that a furnace breakdown method to provide one type of message over the
could someday result in frozen pipes. In this in- phone line. Basically, they use the computer with
stance, a Home Control system could monitor the an auto-dial device which can call one or more
temperature inside the house; and if it dipped below phone numbers if a hazard condition is sensed.
a certain point, the system would make the phone Once a connection is made, a siren sound, produc-
in the house inoperable, providing a constant busy ed by the computer (or sometimes by a peripheral
signal. For you to detect the problem, however, you device), is sent through the phone lines indicating
would have to call your vacation home periodical- the condition to the person receiving the phone call.
ly. If you got a constant busy signal, you would Voice. Two types of voice systems are
know one of two things-your furnace was not available: one uses pre-recorded messages (usual-
working or your phone was not operating correct- lyon tape) and the other uses computerized speech
ly! This system works using a relay to complete synthesis. These products vary widely in terms of
(short) a circuit between what is usually the red and capabilities, so be sure to check each product for

Fig. 12-1. Talking Home Monitor (courtesy of Tandy Corporation).

81
Fig. 12-2. Automatic Telephone Dialer (courtesy of ADEMCO).

the features you require. Two examples of those also use this equipment to listen to sounds in your
that offer a good range of features are the Talking house by calling from any phone outside your
Home Monitor and the Automatic Telephone house. Further, it can be used as an eight number
Dialer. automatic phone dialer, and comes complete with
The Talking Home Monitor (#43-165) from a battery backup system that operates for up to 15
Radio Shack ($199.95) is shown in Fig. 12-1. This hours during a power outage.
unit actually includes some built in sensing The Automatic Telephone Dialer (#612) from
capabilities: the ability to detect indoor ADEMCO is shown in Fig. 12-2. This unit is an
temperature, loud sounds, and to monitor for a automatic dialer which uses two prerecorded
power outage. It can also monitor three other con- messages on tape to deliver its warnings. It can be
ditions through normally open or closed terminal activated either from a normally open circuit
pairs; and these sets of terminals can be used by closure or from a 5 to 12 dc voltage pulse. The
your Home Control system (by opening or closing Automatic Telephone Dialer is powered by a six
circuits controlled by relays) to activate the Talk- volt battery or by a rechargeable battery pack. It
ing Home Monitor. The Talking Monitor, in tum, includes an anti-jam feature which stops a burglar
can use its automatic dialer and voice synthesizer from calling your home to prevent the unit from
to repeatedly call up to four numbers and notify the reg-aining control of the phone line. The unit comes
receiver of the specific hazard condition. You can in a lockable steel case.

82
Digital. Digital communications from your teresting features that you may wish to consider
Home Control system work by sending electronic prior to purchasing a particular communications
computer information over the phone lines. It is not device.
understandable unless the receiving party has the
computer equipment necessary to decode the D Line seizure: Some auto-dialers have the
messages. There are two basic types of digital capability to disconnect anyone using extension
systems that can be linked with your Home Con- phones around the house so that the unit can make
trol system. The first is similar to the ADEM CO its emergency call.
Automatic Telephone Dialer except that rather D Anti-jam: As noted before, this feature
than voice recordings, digital information is sent prevents an outside caller from maintaining control
over the phone lines. An example is the ADEMCO of your phone line.
#679 Two Channel Digital Communicator which D Battery backup in case of power outage.
has the characteristics of the #612 model except D Ability to call more than one number for the
that it sends information digitally. ADEM CO pro- same or for different emergencies.
duces a variety of digital communicators, many of D Ability to take advantage of more than one
which have larger numbers of channels and other phone line in your house, should you have more
features. Most of these communicators are ac- than one.
tivated through a normally open circuit or a dc D Ability to make recalls to ensure the infor-
voltage pulse. mation gets to its destination.
Your Home Control system can also utilize nor- D Re-arming capability for the next
mal microcomputer communications using an auto- emergency.
dial modem and an RS-232 port. This requires the D Dialing capabilities to 16 (or necessary)
necessary terminal or communications software to digits. Also, can it handle both tone dialing and
be part of or integrated into your Home Control pulse dialing?
software. If you plan to use this method, be sure D Ability to self test some or all features and
to contact the manufacturer of your Home Control notify you if there is a malfunction.
components to see if they can provide the necessary D For a digital communicator, does it (in con-
software. The alternative is some pretty junction with the receiving communicator) support
sophisticated machine language programming on a handshaking protocol to assure that the complete
your part. message has been sent and received properly?

Important: Digital communications between HOW LONG WILL IT TAKE?


your Home Control system and a central monitor-
Most of the work involved in notifying the outside
ing station is dependent on the compatibility
world is making sure that the communications
between the sending and receiving system.
method fits both your Home Control system and
Do not attempt to set up your side of the
the requirements of the receiving party. Connec-
system until you are sure to whom you will
ting the communications unit to your system is
be communicating and what their required
usually relatively uncomplicated and not particular-
formats are.
ly time consuming. Be sure to program your soft-
ware to avoid false alarms, and test your com-
FEATURES TO CONSIDER munications equipment periodically to make sure
Before leaving this subject, there are some m- it works.

83
13. Sensing Light
and Temperature
r---"""

01111
I \0

Y have discussed controlling items around the


OU'LL RECALL THAT PREVIOUS CHAPTERS later towards the summer months. With a light sen-
sing device, your computer doesn't rely on the time
house either by time or by a digital (on or off) con- of day to brighten your life. Instead, when it turns
dition. The only example of analog sensing so far to dusk, the computer with a light sensor will take
was the water sensor in Chapter 9. Even in that action.
chapter, however, we really wanted to know if The same is true for temperature sensing.
something was on or off. In that case, on meant wet, Possibly your home has an attic fan which draws
and off meant dry. It really didn't matter how wet, hot air out of the house. You could assume that
just that the water sensor was beginning to sense every day of the summer would be hot and have
water and therefore a pending flood condition. the fan turn on at a predetermined time each after-
Light and Temperature are two other examples noon. But even in summer, every day won't be hot;
of analog sensing that can be monitored by your and in the spring and fall vast temperature swings
Home Control system and used, in turn, to control occur from day to day. By using a temperature sen-
other things. Depending on your application, it may sing device, you can turn on the fan only when
be important to know just how hot or cold, or how necessary. This approach saves money as well as
bright or dim it is. improves comfort.
In Chapter 6, you learned how to control your This is just one temperature sensing idea that
front door light. With the method described, you you may want to implement. Another example, as
were able to have the light turn on or off at a mentioned in the last chapter, might be to use a
specific time of day, every day of the week. But temperature sensor to make sure your freezer was
some days are bright and sunny, while others are working properly. You could also control a room
cloudy and dark. Also, as the seasons change, it fan, a window air conditioner, or to be a little more
gets darker earlier in the winter, and stays light exotic, a greenhouse. A motorized sun shade could

84
be installed that slides up and down inside the respond by turning on and off lights, fans, etc., as
greenhouse to keep the temperature at a more con- shown in Fig. 13-1.
stant level.
Note: Do not use the methods presented here WHAT MUST I BUY?
to control either your furnace or central air condi-
tioning systems directly. Appropriate methods are Many different transducers (sensors that vary elec-
described in Chapter 7 and Appendix B which are trical resistance according to real world conditions
dedicated to home heating and central air. such as light or temperature) are available. Cost
ranges from a few dollars to $30 or more depen-
HOW DOES IT WORK? ding on the products' sensitivity, ease of use, prior
Both the light sensor and the temperature sensor calibration, and design features (i.e., packaged with
(also known as transducers) described here work easy mounting or connection features). The first
on the same principle. Each can be read by the place to look is the manufacturer of your other
analog sensing capability (described in Chapter 2) Home Control equipment. Sensors sold with these
on your sensor interface and computer. The amount units are usually precalibrated and often the
of voltage allowed to pass through the sensor varies manufacturer's software is preset for their use. This
with the amount of light or change in temperature. makes setup much easier.
This variance in voltage is then able to be inter- An inexpensive example of a light sensor is a
preted by your analog sensor interface. Based on cadium-sulfide cell (photocell) from Radio Shack
the amount of light or heat which has now been which sells for $1.29 (catalog #276-116).
translated into a voltage level, your computer can Temperature sensors (known as thermistors) are

Light Sensor

X-10 Module

01111 r--,
I
I
Sensor X-10 I
Interface Controller
L _________________ JI

Fig. 13-1. Light and temperature sensors linked to lamp and fan.

85
available in a wide variety; simple, uncalibrated
ones run well under $10. These are easily found at
TV and appliance repair shops. (One major supplier
with many distributors is Fenwal Electronics, 63
Fountain Street, Framingham, MA 01701). Ther-
mistors are rated by their resistance in ohms at a
nominal temperature of usually 25 0 Celsius (77 0 F).
For experimental purposes, a regular glass bead (or
probe model if measuring temperatures in liquids)
of about 50 K to 100 K ohms of resistance should
be suitable. Some thermistors are linear to
temperature (resistance varies proportionately
when temperature varies), and these are usually a
bit higher priced. In most cases, however, linear
thermistors are not necessary for Home Control
sensing, since your system will be able to interpret
appropriate temperatures.
Figure 13-2 shows what each of these sensors
looks like. Both sensors are shown at roughly their
actual size. As you can see, the entire temperature Fig. 13-2. Light sensor (left) and thermistor (right).
sensor can be much smaller than a match head.
Take a look at the home survey you completed to have your light sensor tell how dark it's getting
in Chapter 4 to rethink which items might be best outside, but your Commodore may be located on
controlled using these methods. Of course, you can the northern or eastern side of the house. Of course
use one sensor (either light or temperature) to con- the sun sets in the west. This, however, doesn't
trol more than one application. As an example, one mean you have to string wire to a western window.
light sensor could be used to turn on more and more Your sensing equipment will work just as well by
lamps (or to brighten lamps) as the sun goes down. sensing the light available on the inside of a win-
Or, one temperature sensor could sense pro- dow located near your computer. When it gets dark
gressively warmer temperatures and respond by enough outside, your computer will be able to sense
first turning on fans and later, room air conditioners. it from whichever window your sensor is located.
Therefore, be sure not to over buy when purchas- Thermistors should be located as you would
ing these sensing devices. There are applications, any thermometer-not in direct sunlight-so that
however, for which you may need more than one. accurate readings are made. Also, be sure you avoid
An example might be if you wanted to build an in- areas subject to rain or excessive moisture if you
door and an outdoor thermometer that can be read intend to locate a sensor outside. While this would
by your Commodore. For this purpose, you would not damage your sensor interface, it may shorten
need two thermistors, one located indoors and one the useful life of the individual sensors.
outdoors. Figure 13-3 shows how to connect your
transducers to your computer sensor interface. As
you can see, the installation merely consists of run-
WHAT MUST I DO? ning a double stranded wire between the sensors
After purchase, you'll have to select the best loca- and a pair of the analog terminals on your sensor
tion for your sensors. Often these can be placed interface. Once the wiring is finished, all that re-
near the computer, and require very little additional mains is to connect the appropriate X-10 Modules
wiring in your house. As an example, you may wish to whatever is to be controlled. Then tum on your

86
00

'\t/
Analog Sensor Terminal Pairs

Fig. 13-3. Analog terminal wiring of light and temperature sensors.

computer and use your software to find the analog readings, and the lO-bit system can break the
readings of your sensors. Un calibrated transducers voltages read into 1024 possible readings. When
can be adjusted (under software control) satisfac- you purchase a Home Control Sensor Interface, this
torily for your use with the following procedures: is one thing to consider if you wish extremely fine
Light sensors work by varying the amount of sensing capabilities. However, for most home
voltage that is sent to your analog terminals accor- needs, a 6-bit system will be satisfactory. An ex-
ding to how much light they are sensing. A higher ception to this would be if you wish to accurately
analog reading on your computer means that more monitor outdoor temperatures and you live in an
light is being sensed, and a lower reading means area that can get as cold as - 30 0 F in the winter
that less light is being sensed. and 100 F in the summer. Since a 6-bit analog
0

This discussion is a little technical, but if your system can only distinguish between 64 different
sensor interface has a 6-bit analog system (see your readings it would be impossible to show each
manufacturer's description) your computer will separate degree of real world temperature
likely display a number between 0 and 63 (in variation.
decimal or hexadecimal). If your system uses eight By varying the amount of light that reaches
bits, the number will be between 0 and 255. A ten your light sensor, decide how much light it should
bit system will present numbers between 0 and receive before turning on each item (i.e., lamp, front
1023. The greater the number of bits your system door light). Record these analog readings and ad-
uses, the finer the increments, or variations in just your scheduling software to reflect these
voltage, that can be detected by your sensor inter- readings. For example, suppose you have a 6-bit
face. As sensors vary their resistance, the amount system and you notice that sunset is close when
of voltage allowed to pass through them will vary your Commodore shows an analog reading of 20.
(usually ranging from 0 to 5 volts on most systems). If you wish your front door light to turn on at or
A 6-bit system breaks the 5 volts into 64 possible below this reading, this should be reflected in your
analog readings, the 8-bit system is able to break software. When the sun goes down a bit further,
the same voltage range into 256 distinct analog you may wish to have a living room lamp come on

87
and possibly your radio should start playing. Don't mistor as described below.) Now place the ther-
forget that later in the evening you may wish to mistor in one plastic bag and the thermometer in
have your Home Control system turn off your lights the other. (The sensor is placed in the plastic bag
and radio according to the time. to protect it from the water, and the thermometer
To calibrate your thermistors (if they are not is placed in a bag to make sure we are consistent
pre-calibrated) you will need a good thermometer, in the readings received by both.) Use hot and cold
a couple of plastic sandwich bags, and a pan filled tap water (and possibly some ice) to slowly vary the
with water (see Fig. 13-4). After hooking up your temperature in the pan of water. As you are doing
temperature sensor, turn on your equipment and so, record the current analog readings along with
take an analog reading of the voltage running the thermometer readings as you go in order to
through the thermistor. Note the temperature on calibrate the full scale of the thermistor.
the thermometer and record it in Table 13-l. Once you have completed calibrating, simply
(Before proceeding, it is assumed that your analog adjust your schedule software so it reacts according
terminals are low voltage-usually 5 volts. Do not to the temperatures being sensed and in turn con-
perform the following procedure if you trols whatever you wish to have controlled. For ex-
have high voltage equipment. Also, be careful ample, you may equate an analog reading of 50
to keep the pan of water away from your Com- (6-bit hypothetical reading, but go by your chart
modore or any electrical devices other than the ther- because this will vary according to several factors)

Conversion
Chart

--- -
----
- ----
......
- --- --

01
, ,~

Sensor
Interface
Fig. 13-4. Calibrating a thermistor.

88
Table 13-1. Temperature to Analog Reading Chart

Benchmark Actual Analog Benchmark Actual Analog


Degree Degree Reading Degree Degree Reading

-10 60

o 70

10 80

20 90

30 100

40 110

50 120

to be 80 of. You may wish to adjust your software sensor, physical installation should take about 10
so that your attic fan turns on after this analog minutes for each. However, it may require up to
reading is reached. If the temperature drops to 73 an additional hour if you need to do your own
degrees, possibly the fan should be shut off. calibration. As usual, a short amount of time will
be needed to update your software scheduling. You
HOW LONG WILL IT TAKE? will need to monitor the actual functioning of your
Once you have your temperature sensor and light setup to be sure it is working as you planned.

89
14. Lawn and
Garden Watering

01111

L ple as a time controlled Appliance Module that


AWN AND GARDEN WATERING CAN BE AS SIM- an X-10 Appliance Module connected to turn water
on and off using the procedures related in Chapter
turns on and off your sprinkler, or as complex as 6. However, most of the commercially available
a complete underground watering system that electric water valves operate at 24 volts dc, so a
(based upon soil moisture content) waters your lawn voltage reducer (transformer) is required. The
and gardens to the precise amount needed for the voltage reducer is connected to the X-10 Appliance
greenest, healthiest foliage in the neighborhood. (Be Module and is also connected to an electric water
careful though, for Home Control doesn't include valve (see Fig. 14-1). In this way, your X-IO Con-
mowing!) To your Home Control system, neither troller can operate the water as it would a lamp or
are particularly complex. You can install your a radio. The water is fed from the house plumbing
system to give you as much flexibility as you wish. system, through the electric water valve, to a hose
Lawns can receive frequent watering while less hooked to your lawn sprinkler. Software control of
thirsty plants can get only once a week sprinkling. the system is based on a schedule which you can
If you have a sloped area on the property where develop like any appliance you are controlling.
runoff creates a problem, you can provide this area A second method doesn't use time as the ex-
with short but frequent dosages so that water is re- clusive controlling factor. Instead, it also uses the
tained instead of carrying the soil away. moisture content of the soil. In this way, your lawn
won't be watered just after a two inch downpour!
HOW DOES IT WORK? This method uses the same signal (control) as
The simplest method for watering your lawn or described earlier; however, the sensing is based on
garden is to water it for specified periods during an analog reading of the soil moisture content.
the day or week. This can be handled simply with Basically, the moisture content is measured by

90
r - - - - ..,

01111
I

, , c:::).

X-10
Controller
Voltage
J
Reducer
Fig. 14-1. Simple computer control of a lawn sprinkler.

the "relative conductivity" of the soil. The relative would you like a permanent underground system,
conductivity means the varying amounts of elec- or would a simple garden hose linked to a lawn
tricity that can pass through a medium-in this case sprinkler suffice? If you made a property sketch in
soil. If the relative conductivity is high, this means Chapter 4, use this to note the location of your out-
the soil is moist. If the relative conductivity is low, door faucets and decide where and how your
the soil is dry, and the lawn or garden needs water- sprinklers should be placed. Figure 14-2 may give
ing . Your Home Control Sensor Interface will use you some thoughts on how to design your system.
an "analog" reading of this relative conductivity to Also, for additional ideas, visit your local hardware
determine the moisture content of your soil; and or lawn and garden supply store to check the
based on this reading (as well as time), your X-IO various types of stand-alone sprinklers. Many sell
Controller will send a message(s) to the X-IO do-it-yourself components for underground
Module which controls your electric water valve. systems, as well.
You will need to decide whether you wish to
water your lawn or garden according to time alone,
or in combination with sensing the soil moisture WHAT MUST I BUY?
content. In either case, another decision is required: After you have chosen and designed a system, for

91
each lawn or garden sprinkler (or lines of sprinklers necessary to complete your system. Also, you may
if your water pressure is strong) you will need an need garden tools (shovels, etc.) if you plan to dig
Appliance Module, an appropriate voltage reducer, trenches for a permanent system. The following
and an electric water valve. Since your front and manufacturers of lawn watering equipment may be
back lawn probably receive the same amount of of interest to you:
rain, you can more than likely use only one well
placed sensor for moisture detection. The same o The American Grandby Company, Liver-
water (moisture) sensor described in Chapter 9 on pool, NY 13088, make the Lawn Genie line of
basement flood sensing can be used for soil equipment, including the Model R-204LG "NCN
moisture sensing. Solenoid Valve, a 24 volt electric water valve for
Beyond this you will need whatever hosing about $20.
(underground or regular) and sprinkling devices o The RainBird Sprinkler Mfg. Corp., Glen-

«--- ---<>
1
I

«
I

~----
'\ I
\
'\
'<>- - - - -- - - -- <> <>
<> Sprinkler

- - - - Underground Plumbing

Fig. 14-2. Property plumbing diagram of a permanent underground sprinkling system.

92
U)
co
c
...
E
Q)
0 Soil Moisture
Sensor
l-
Q)
u
e
.........co
-....
Q)
c

0
U)
c
0
Q)
(f)
CJ)

«
0
co
c e
Fig. 14-3. Wiring diagram of a moisture sensor.

dora, CA 91740, makers of pop-up and regular certainly different from the type of sensing
underground water sprinklers. necessary for the flood control system, so be sure
to adjust your software schedule accordingly. You
may wish to use your software to have the
WHAT MUST I DO? sprinklers turn on only if two conditions are met.
If you plan to incorporate moisture sensing in your The first condition would be a specific time of day,
lawn and garden watering system, a set of analog and the second would be if the analog reading of
input terminals in the back of your sensor interface the moisture sensor shows that the soil is dry.
should be connected to the two strands of wire from The electric water valve and the plumbing for
your moisture sensor as shown in Fig. 14-3. This your system should be installed according to the
figure also shows the simple sensing device at the manufacturer's recommendations. Underground
other end of the wire. This should be buried in the plumbing will likely need to be drained in winter
soil so that the exposed wires (wrapped around the months if the weather in your area dips below freez-
dowel) are about one inch below the surface of the ing. If the need for draining is planned during in-
soil. stallation, this should be a fairly easy process.
Test your sensor by using your Home Control Usually, removable plugs at the low points of your
system to evaluate the relative conductivity of the plumbing will be necessary. If your electric water
dry soil. It should be very low or zero. Now moisten valve will be located outdoors, make sure that you
the soil as if there had been enough rain to are using appropriate wiring (likely 18 gauge ap-
penetrate the depth of the soil to the wires buried proved for burial).
underneath. Once the soil is moist, re-evaluate the You should have your sprinkler(s) turn on and
relative conductivity. Note the change in the value off each day only for the period of time necessary
of the analog circuit. to moisten your lawn or garden to the correct
Moisture sensing only needs to be done amount. This will likely be 114 to 112 inch of water
periodically-maybe once or twice a day. This is per watering, and can easily be calculated. As

93
-----" \ \\ //~
--:::- ~" \ !(
----- ~ \\\II(I~ /' --
/ ~ '\ \.' ~ -- ---\
~ ~~\I~~::\
__T_in-:--c_a_n-+-~:---_r-----':------::_----. V Pop-U p Sprinkler \
\ \ \Ground Level \
\ \
To Water Source\ \\ '\
== \~--'--\----:--\-=--\---\-=~-\--:::;-'-::::'" \\
Fig. 14-4. Calibrating the amount of water dispensed by sprinkler in a set amount of time.

shown in Fig. 14-4, place a tin can (fully open on pressure at certain times of day in some areas may
top) in an average coverage area on your lawn or cause poor operation of sprinkler system).
garden. Tum the sprinkling system on and deter- o Pedestrian traffic or family use of lawn and
mine how long it needs to tum to get the desired garden areas during certain parts of the day.
amount of water in the tin can. This is how long
your Home Control system should allow the HOW LONG WILL IT TAKE?
sprinkler to be left on in order to give your lawn This project can vary substantially in setup time.
the correct amount of water coverage. If the only thing you are doing is setting up a single
You may wish to consider the following items sprinkler connected to an electric water valve that
in determining when it's best to water: operates by time alone, the process should take
about 20 minutes, plus a little time for measuring
o Moisture content of lawn. water coverage (the tin can procedure). However,
o Appropriate time of day for lawn and if you are designing a full blown underground
garden to be watered (possibly evening or morning), watering system with multiple water lines, you may
o Potential changes in water pressure (low need the weekend to complete this project!

94
15. Controlling
Your Swimming Pool

01111
I \0

I F YOU HAVE (OR ARE HOPING TO HAVE) A BACK-


yard swimming pool, spa or hot tub, your Home
tions. Protect these modules from damp-
ness and extreme temperatures.
Control system can be set up to make maintenance
easier and to leave you with more time for fun in SWIMMING POOL FILTER TIMER
the sun! Although there may be other pool-related It may be that the easiest pool-related item to con-
features controllable with your system (such as the trol with your Home Control system is your pool
lights around your pool), this chapter focuses on filter. One basic method of control is an X-I 0
three: a filter timer, a water level sensor, and a System using a three prong (universal plug) Ap-
robot cleaning system. pliance Module. However, this Appliance Module
Important: Always use fully grounded has a resistive load of 15 amps and a motor load
methods for control of your swimming of one-third horse power (HP), and will only be
pool. Pool pump filters should always be satisfactory for small pool filters. Many filter
carefully rounded by use of their three motors have higher ratings and should not be handl-
prong plug and/or other methods describ- ed using this method. If your filter motor has higher
ed by the manufacturer of the equipment. ratings and your Home Control system has relays,
Do not defeat these grounding precautions. check the ratings of the relay system to determine
Further, make sure that even low voltage whether they can handle this type of load. The
sensors keep water and electricity relays on Home Control systems, however, are
separated. Also, X-IO Modules are not unlikely to be set-up for such high ratings.
suitable for outdoor (unprotected) condi- If your filter motor requires higher ratings and

95
you either have no relay system incorporated in the motor will run too fast, overheat, and eventually
your Home Control system or the ratings are not burn out. If this happens, you need a new motor.
high enough, the best solution is to have an Ap- The most common cause of the filter pump not ob-
pliance Module control a relay purchased for this taining sufficient water is when, either through
specific purpose. Because proper grounding is so evaporation or a leak, the pool water level drops
important, it is suggested that you use a qualified below the skimmer or pump intake hosing. Your
electrician to install the relay to your pool filter wir- Home Control system can monitor for a drop in the
ing. The electrician can install a relay so that the water level in several different ways, and should
relay's switch mechanism leads to a plug which can a drop occur, it can shut the pool filter off and notify
be inserted into an Appliance Module to allow con- you of the problem condition.
trol through your X-10 System. One way to sense a low water condition is to
use a water-flow switch which opens or closes
WATER LEVEL SENSOR depending on whether or not water is flowing
through a pipe. ADEMCO (Alarm Device Manufac-
A pool filter motor must have water flowing
turing Company) makes a normally open (off)
through the pump in order to operate properly.
water-flow switch #452 which is pictured in Fig.
Without the resistance of the water in the pump,
15-1. (This equipment was actually designed to
sense water-flow conditions in a fire alarm sprinkl-
ing system.) The water-flow switch can be con-
nected to a two-inch diameter pipe. When the pump
is working properly, the open contact will be clos-
ed (on); and when the pump is off or not receiving
water from the pool, the switch will be open. You
will need to replumb the filter intake line by adding
a short piece of two inch pipe to which the water-
flow switch can be fastened. A hole on the side of
the pipe is also necessary for the mechanical switch
to fit through. The water-flow switch should be
wired to a digital pair of terminals on your sensor
interface.
Your software will need to be adjusted so that
when, and only when, the filter is turned on, your
water-flow switch will be monitored. If the contact
switch opens (and stays open for thirty seconds or
more) when the filter is on, your Home Control
system should turn the filter off. The 30 second
delay should prevent occasional opening of the
switch from a temporary water surge.
Other methods to determine a drop in your pool
water level are outlined if you care to experiment.
The first would be by use of a thermistor
(temperature sensing device) as described in
Chapter 13. Some thermistors are designed as
probes-the glass housing is elongated-and can be
used to sense temperature changes in liquids. The
Fig. 15-1. Water flow switch (courtesy of ADEMCO). elongated thermistor can be securely glued through

96
a small hole in the intake pipe from the pool so that the water of the main filter, the earlier section on
the glass protrudes into the flowing water. When controlling your filter will automatically control this
enough current is passed through them, thermistors type of pool robot. If you have a model that makes
will begin to heat up. (Use different thermistors to use of an entirely separate pump, you can use the
experiment, but don't use voltage levels beyond 5 same procedure as described earlier to control your
volts since you're working close to water.) The flow filter pump.
of water, due to convection, will keep the ther- Other pool cleaning robots make use of a
mistor cooler than if the water is not flowing. Us- booster pump system that takes some of the filtered
ing an analog pair of terminals on your sensor in- water directly upon leaving the mainfilter and
terface, you should be able to tell the difference be- before it returns to the pool. (A good example of
tween when water is flowing and not flowing. this type of pool cleaning robot is the Polaris Vac-
Another experimental method would be to rig Sweep, made by Polaris, P.O. Box 1149, San Mar-
some sort of mechanical flotation device (possibly cos, CA 92069). A "T" pipe in the plumbing allows
using a cork) at the side of your pool. This flota- water from the main return line to be pulled into
tion device could open or close a switch (digital cir- a secondary line where a pump boosts the water
cuit) connected to your sensor interface depending flow strength before the water returns to the pool
on the water level in the pool. (Don't forget, your through the robot.
software will need to be able to account for the ups Such secondary pumps require the main filter
and downs of waves created by diving and to be on in order to obtain enough water to prevent
swimming.) overheating. Home Control of your secondary pump
For any of the methods used, once your Home motor can be handled by using a physical setup
Control system senses a drop in the water level it similar to control of the main filter. However, your
should first turn off the filter; and second, it should software control will be different.
signal you in some way (flash lights, etc.). The software schedule should only turn the
secondary pump (robot's pump) on after the main
filter pump is on, and it should always turn the
ROBOT POOL CLEANER secondary pump off prior to the main pump. With
A number of automatic pool cleaners (swimming old fashioned electric/mechanical timers, this meant
robots) are available which either stir up the water giving at least a half hour leeway between the two
so the filter has a better chance of catching any pumps turning on and off. With your Home Con-
debris or dirt, or that vacuum the bottom and sides trol system, both use the same clock, and therefore
of the pool. Some of these work using the main only a minute's difference between the on or off se-
filter's intake or return water flow as a (nonelec- quence is necessary. Do not have both turn on at
tric) power supply, while others require either a the same time, however, because it takes a few
secondary booster or a separate pump for their seconds for the main filter pump to get the water
water power supply. If your model is powered from circulating correctly.

97
16. Audio/Video Control

01111
I \Q

A RECENT PHENOMENON IN AMERICAN HOMES


is the media room. With the rush of new
which remote control works which gadget, and then
walk to the nonremote items to make additional
technologies, no one wants to admit to being in the adjustments.
dark ages of the family TV room. Ten to fifteen Take a moment and think about how many but-
years ago, a TV (likely black and white) and a tons and switches (and dials for older models-dials
record player were standard in most homes. But seem to be passe these days!) you have on your
today's complete media room (see Fig. 16-1) boasts equipment. With such a system, have you ever had
a modular assortment of the basics: a monitor, video to explain to your babysitter how to turn on your
tuner, video cable, video cassette recorder, video TV? Did you provide her with an electronics cer-
disc player, video camera, video game player, com- tificate? Did you find her reading a book when you
puter with modem for information, banking, and got home?
shopping, a component-yet integrated-stereo Home Control will not immediately solve these
which includes an AM/FM tuner and amplifier (or problems. But thankfully there are a few things
receiver), linear tracking turntable, graphic available that give the media room owner a chance!
equalizer, cassette deck, compact disc player, head- First, some companies do complete home media
phones, and a set of 3-way speakers. Did we forget designs and installations and make available
the satellite dish on the roof? customized remote capabilities via wall or table con-
Of course, at least three or four of these com- trol panels which can be located throughout a home.
ponents come with a remote control unit. And after Two examples are Boulten Music Systems, located
finding each of these (they seem to wander if you at 979 Third Avenue in New York City, 10022
have children), control really becomes simple. Of (212-697-4900) and Audio Command Systems
course, since the other half of your system is not whose main office is at 46 Merrick Road, Rockville
remote controlled, you still have to remember Centre, NY, 11570, (516-766-5055). Figure 16-2

98
I

Speaker
8 Speaker

01111 - - Modem I
<cable

l~~J
- -- Video Tuner ~

OJ I' I
Switcher (rf)
- .. ~~

e I
ICompact Disc-
•Stereo
Receiver
- r•
VCR

Video
Disc Player
~~

l-
I:'

10.01 Icassette (Audio)


() [:::l
Videocamera .
J-
Fig. 16-1. Components of the media room.

shows Audio Command System's remote con- watts/channel), an Audio Signal Processor (does
troller. Both of these companies have many major such things as creating simulated stereo from mono
installations for the rich and famous to their sources), a Switcher which integrates all input
credit-often costing tens of thousands of dollars sources (even includes Simulcast switch for com-
and, of course, using only the best equipment. Often bining TV broadcast with audio from FM stereo),
these firms work with designers and architects to and all can be controlled from a wireless remote
create specialized cabinetry, custom furniture, and control unit. The system may be purchased with
include custom colors and finishes for the end matched monitor and speakers.
products. In October of 1984, RCA began delivering a
For those of us with more modest requirements system called Dimensia. This system, at first
(or means), some of the manufacturers of audio and glance, appears like any other audio/video in-
video components are beginning to offer com- tegrated system and includes components (which
ponents which are more integrated than has been can be purchased separately) such as a 26"
available in the past. One such system by Jensen, monitor/receiver, VHS Hi-Fi VCR, CD player,
the AVS-1500 Receiver (shown in Fig. 16-3), in- analog audio turntable, audio cassette recorder,
tegrates a TV tuner which is cable ready for 133 tuner, amplifier, and speakers. What makes this
channels, an AM/FM Stereo Receiver (50 system vastly different from regular systems is the

99
Fig. 16-2. Audio Command Systems' remote controller (courtesy Audio Command Systems).

Fig. 16-3. The AVS-1500 Audio + Video Receiver (courtesy Jensen International).

100
Fig. 16-4. The Dimensia system (courtesy RCA Consumer Electronics Div., Indianapolis, Indiana).

remote control feature as shown in Fig. 16-4. Even though many VCR units have prompting
Where most remote controllers can handle only one features, trying to push the correct buttons in the
specific component, this controller manages the en- appropriate sequence can be a frustrating ex-
tire setup, and does so with simple and logical com- perience. RCA has at least partially alleviated this
mands. Although each component has its own com- annoyance by superimposing prompts on the
puter circuitry, all react to this central controller monitor picture. For many fumble fingered m-
in an interactive, well designed and coordinated dividuals, this feature will be of great help.
way. The chore of operating the media room has
been conquered.
Wiring of Dimensia has also been simplified. COMPUTER LINK UP
Usually, the various components of such an in- But this book is about Computer Home Control-
tegrated system requires criss-crossing wires from so why all this talk about integrated audio/video
each component to every other to enable all pieces systems? Well, the problem with computer control
of the system to work with each other. RCA instead of audio/video devices is not for a lack of customer
has chosen a method of piggybacking connections demand, or so claim the manufacturers of Home
in a more logical approach for an integrated system. Control equipment. Rather, the problem is that for
Another major feature will be evident if you a computer to control an integrated AlV system,
have operated a VCR for timed program recording. the AN equipment must be capable of linkage. Ex-

101
tremely few component audio and/or video sia, for example. Dimensia is fine for those that will
manufacturers have produced computer compati- buy only Dimensia components, but non-Dimensia
ble items for the home market. (Exceptions most- components will need to be controlled manually or
ly relate to the video disc market-a discussion of with their own remotes. Even if many of the
which will be provided later.) manufacturers begin to offer Dimensia-like pro-
It's true that manufacturers have produced ducts (fully integrated), it's unlikely-although one
component monitors, switchers, receivers, etc., to can hope-that the communications between the
which computers can send their audio/video output. remote controller and the components will be stan-
Indeed, many manufacturers provide components dard from one manufacturer to the next. Therefore,
with inputs for all the popular items which may feed if you wish to buy a component that is not part of
their systems, and these components have one or the same line as your other equipment, you will like-
more inputs for computers labeled "Computer RGB ly have [his incompatibility problem for the
Input," "Computer Composite Input," "Computer foreseeable future.
Audio Input," etc. What manufacturers haven't of-
fered, however, is for the computer to actually con- FEATURES TO CONTROL
trol the components. The reason for this is that
The simplest kind of Home Control of AudioNideo
most consumers are not particularly interested in
is by using an X-lO Module to turn on a radio, TV,
computer control of one or two individual com-
receiver, etc. However, more interesting features
ponents of a system.
can be incorporated into your system by extending
To have real value, the computer must control
the audio/video system to other parts of your house
the whole system. This in the past has been a
through relay control of speakers. Also, functional
monumental task because it means that the com-
control of components (for example, your Com-
puter must be linked with each separate compo-
modore controlling the radio station setting on a
nent. Home Control manufacturers would have to
receiver) can be part of your Home Control
be able to understand and then hard wire to each
system-with a little extra effort. Further, a lot of
component in the system through relays, or the like.
activity has occurred in the area of computer
Of course, each manufacturer's system is slightly
linked video discs. Since this is one type of device
different-again compounding the problem. In a
that audio/video manufacturers have provided the
sense, the actual innards of the components have
capability for direct computer linkage, these will
to be reworked, which as you can imagine is not
also be covered in a more extensive overview
a very cost effective proposition. However, now
format.
that the linking has been simplified by such com-
panies as Jensen and RCA, the computer linkage
is also simplified many fold. All that is necessary Relay Control of Remote Speakers
is for the computer to emulate the master remote Many receivers (or amplifiers) offer the capability
controller of such an integrated system. to operate more than one set of speakers, either by
Although sophisticated computer control of turning a dial or by pressing a button. Usually,
audio/video systems is not widely available (for any either the A set can be on, or the B set can be on,
computer, including Commodore),it's likely to be or both can be on at once. Home Control can add
more so in the not too distant future. These to this by offering timed control by turning on and
computer-audio/video links may come from the off both the receiver, and the various speaker sets,
audio/video or computer manufacturers as appropriate.
themselves. It is more likely, however, that Home An example of this might be linking the
Control manufacturers will develop them first. receiver in a den with three different speaker
All is not rosy, however, for there is still a very sets-one set located in the den, itself, another in
large standardization problem. Let's take Dimen- the dining room, and a third set in the master

102
A Speakers 8 Speakers

o 0
00
X-10

Receiver
I" 'PI". ~ ""~ 100"1'

Relay
Power
Source

Fig. 16-5. Relay control of a component stereo system.

bedroom. Each morning that you wish to be dividual speaker sets are controlled by relays.
awakened, the Home Control system would switch These relays may either be internal to your Home
the bedroom speakers to the on position via a relay. Control equipment, or may be attached to and con-
Once this is accomplished, your Home Control trolled by separate X-10 Modules. If two sets of
system could then (using the X-10 System) switch speakers are unlikely to be used at the same time,
on the receiver. Now, instead of an irritating alarm one relay can control both by having one set of
buzzer or a tinny sounding clock radio, you can speakers on when the relay is switched one way
wake to your favorite FM stereo station's music or (power applied) and the other set of speakers on
the early morning news. A short time later, as you when the relay is switched the other way (no power
head towards the kitchen, the speakers in the ad- applied). (If an X-lO Module is used-depending on
jacent den might be timed to come on. the power requirements of your relay-a voltage
On those days when everyone is at work or reducer may be necessary between the X-10
school, the receiver and speakers might be turned Module and the relay.)
on periodically in different locations for security
purposes to make your house sound as if someone
was there. Further, you could have the den Relay Control of an AudiolVideo Component
speakers turn on for your arrival home, and the din- This project is slightly more advanced than most
ing room speakers could switch on to signal the ad- in this book, and may require soldering electrical
vent of dinner. All this, of course, would happen parts as well as opening either an audio or video
automatically according to your preset instructions. component. In some cases this may void your war-
As shown in Fig. 16-5, the receiver is con- ranty for the equipment that is involved.
trolled simply by an X-10 Module while the in- There may be a particular audio or video com-

103
ponent that you wish to have managed by your simplified and less problematic if you wire to the
Home Control system. Examples might be the con- remote unit rather than directly to the component,
trol of a video cassette recorder or your receiver. itself. (This approach could be illegal, however,
Suppose that you own a VCR with limited re- depending on the F.C.C. regulations governing the
cording programability, such as one of the models remote control transmitter.)
with the capability to program one time length
within a 24 hour period. You might wish to expand
this capability with your Home Control system by Computer Control of a Video Disc Player
timed control of relays that would operate the push Computer control of a video disc player is really a
button controls of your VCR. (Only push button subject for a complete book, and therefore this will
controls-as opposed to dial or slide switch operated be a very brief overview. The major aspect of com-
devices-can be operated using this method.) puter control of a video disc player is that the video
Figure 16-6 shows how such a system should disc player itself is used as a sophisticated memory
be wired to control the record and stop functions device-somewhat similar to a disk drive. The
of the VCR. The relays could be internal to your video disc player can be linked to a computer and
Home Control system or controlled by X-10 a monitor so that advanced control of data (usually
Modules. The VCR buttons will likely be momen- in the form of a high quality video movie) can be
tary contact switches, in which case the relay should randomly (but specifically) accessed by the com-
only be on for a moment and then returned to the puter. This process is similar to random access of
normal (off) state. Some VCR's also allow for chan- a standard disk drive, but usually for input only.
nel selection via momentary contact switches, and More advanced video disc players (costing usually
these two may be controlled by your Home Con- beyond $15,000) have recording capability.
trol system. If this is part of your plan, your soft- As opposed to a disk drive, information con-
ware will have to track which channel is the star- tained on the video disc itself is not normally sent
ting point, as well as any moves therefrom. to the computer, but is instead sent to a monitor
If your VCR (or other audio or video compo- for viewing. Therefore, the information on the
nent) has a remote control unit, wiring may be video disc is not used for input to the computer as

VCR
00999
.--_ _ _ _ _-,} To Relay 1

Toggle Switch ~

To
~__~_-_-_-_-} Relay
2
Stop

Fig. 16-6. Relay control of VCR. Toggle switch must be in closed position (on) for Home Control recording.

104
is computer data, programs, files, etc. The only in- and software) of the video disc players. However,
formation fed from the video disc to the computer once a consumer market really begins to develop,
is a signal for control purposes-for example, to let these should resolve into two or three generally ac-
the computer know that a certain segment of view- cepted formats and linkage combinations. Figure
ing has been completed. Often, however, even this 16-7 shows a sampling of the current video disc
type of information is controlled by the computer players available in the U.S. market.
by being programmed to know the time length
necessary for a certain video disc segment to play. TIPS FOR THE MEDIA ROOM
The memory of the actual shiny gold or silver Since a good number of you who are interested in
video discs (they produce a kind of rainbow effect) Home Control are also interested in the media room
can be extremely large-up to about four billion concept (based on information expressed to Home
bytes of information or over 50,000 still pictures. Control manufacturers), the following few
One disk can store about two hours worth of paragraphs are for you. However, this short sec-
video-enough for most full length movies. tion is not intended to suggest that your Com-
Various applications for this technology include modore should necessarily be located in the media
education and training systems (where the user can room. The Commodore's location should make
actually interact with the computer/video disc sense according to how you use your computer, and
player combination) advanced computer games, whether or not you will be constantly sharing the
business presentations, advanced interactive retail media room with other members of the family. If
store catalogs (where high quality visuals are im- others will be making extensive use of the media
portant), or where other advanced cataloging and room while you're trying to develop a complicated
high interactivity are necessary or preferable-such computer program or completing a lengthy docu-
as a very advanced form of encyclopedia. As an ex- ment on your word processing software, it's sug-
ample, imagine learning about prehistoric gested that you locate your computer away from
dinosaurs. Depending upon your question, your the distractions of this particular room. However,
computer controlled video disc system could not on- if your Commodore is used for lighter efforts or if
ly help you find the answer, but could also show one of your major interests in Home Control is to
you a Hollywood portrayal of what "Dino" looked develop a highly sophisticated computer linked AN
like! Or you could learn to fly a twin engine airplane system, the media room may be just the place.
where based on your operation of the controls The term "media room", as opposed to the
(keyboard, joystick, etc.) the picture on the monitor family TV room, has been used recently to describe
in front of you would begin to take-off, dive, spin, a room in the home where the chief functionality
or land, just as if you were actually in the plane. of the space has been designed to integrate
Futurists predict that this is a technology just audio/video and other electronic media into a center
waiting for a few good pieces of software to make for entertainment and education. Often designs for
it fly. Two companies that are betting on this these rooms are such that they are tremendous elec-
technology and have (or are planning) relatively in- tronic entertainment centers, but are not at all set
expensive links (hardware and software) to the Ap- up for general social entertainment. That's okay,
ple, IBM PC, and the Commodore computers are of course, as long as that's the understood purpose
Digital Research Inc. and Vutrack Systems. of the area prior to implementation of the plan, and
As always with start-up technologies, a few pro- often there may be other areas in the home for more
blems exist. With video disc control the major pro- casual recreation. Many media rooms, however, are
blem is of standardization. This includes a number not so strict in design and have been developed with
of differing formats (similar to the noncompatibili- some compromises to suit many family functions.
ty of VHS and Beta in VCR formats), as well as dif- If you decide to develop a media room, your par-
fering methods in the computer control (hardware ticular design should first consider the various

105
Approx. Port
Brand Model Price Type

Hitachi 8500 $1200 Serial


9500 $1600 Serial

Pioneer LD 700 $800 Serial


LD V4000 $900 Serial
LD V6000 $1600 Serial
LD V1000 $1200 Parallel

Sony Lasermax $800 Serial

Panasonic TO 2024 $2985 Serial


Fig. 16-7. Currently available video disc players which include computer linkage port.

needs for the particular room that will be used. day, it's unlikely that much real advice can be pro-
Once the foregoing concerns have been vided here on the selection of particular com-
covered, probably the next most important decision ponents. However, a good recommendation is to
to make is where to place the monitor and speakers, have a plan as to what your overall intentions are
and where the audience will be located. These for the media room. Then judge any new compo-
relative locations will make a critical difference to nent purchases against this plan. Some examples
bringing out the most from your equipment, and of this might be as follows:
may playa significant factor in your choice of add-
centered from roughly 2/3 to 1 112 the distance be- D Do you intend to use your monitor ex-
clusively for video movies and broadcast shows, or
tween the speakers along a perpendicular line that
will it be used with your computer as well? Does
begins at the center point between the speakers (see
Fig. 16-8). These rough distances may also be a it have the appropriate ports for your present (or
help in determining the size of the monitor that future) computer (or other needs)? If you are plan-
might be used. It would normally be located mid- ning to work with spreadsheet or word processing
way between the speakers. programs, is the resolution good enough to support
The remainder of your equipment should be text?
placed with two factors in mind: D Does the particular receiver, switcher, etc.
have enough ports to conveniently operate all the
equipment you plan to have?
D First and foremost, convenience in the use
D If you considering one of the "rack" audio
of your equipment once all is installed.
(or audio/video) systems, what happens when you
D Second, but yet a factor, ease in terms of
buy your next component? Will it look a little fun-
wiring and maintenance.
ny sitting on the floor? Might it make better sense
to use a large cabinet (or closet) that offers plenty
With the mass of equipment in the market to- of space for additions or replacements?

106
I 17 Speaker

I
r---
I
- - - - - - - ----1
I
I
r- X Distance I I
I
I
1
/ 1
1
I
I
I I
I r2/3 X ,I
Monitor ~
,I
1-11/2
" "1
- I X I I
I
1 I
............... I
I I
I I I
I

I I I

I~
I I
Speaker L - - - - - - - - - _J

Fig. 16-8. Dimensions of the media room.

o Does it make sense to buy a particular from your large screen TV may be appropriate if
remote controlled item if other components will be you wish to do some viewing during daytime hours.
operated manually? If you plan to be watching or listening for extend-
o Will the new equipment integrate well with ed periods of time, make sure the room has com-
your existing equipment, or will it be of little ad- fortable furniture-the kind where you can put your
vantage to the overall system? For example, does feet up and relax. Of course, if possible, locate your
it make sense to upgrade to a $500 amplifier if your controls where they can be operated from this
speakers only cost $200 when you purchased them relaxed position!
six months ago? For those of you who wish some detailed ad-
Assuming your hardware is in order, be sure vice in designing such a room, The Media Room, a
to plan in some convenient storage space for your book by Howard J. Blumenthal (published by
software and manuals-the records, audio tapes, Penguin Books: Baltimore, 1983), is a good place
video tapes, computer disks, etc. And don't to start. Also, be sure to check with your local
overlook the furnishings in the room. Heavy audio/video specialty stores to get some further
draperies that cover your picture window across ideas and live demonstrations.

107
17. Getting It
All Tlogether

01111
i 'Q

O Home Control is that it allows what would nor-


NE OF THE MAJOR BENEFITS OF COMPUTER SETUP NOTES
If you're having difficulty selecting among specific
mally be a number of independent systems to be components for your Home Control system, don't
combined into one super intelligent system. If you hesitate to contact the manufacturer or distributor
incorporated all the ideas in Chapters 6 through 16 with any and all questions you may have. Buying
(and likely some of your own) as separate indepen- and installing a Home Control system is much like
dent systems, imagine all the mini-sensor/con- a component stereo system in that all the pieces
trollers that would be scattered within your house, must work in harmony. Unfortunately, detailed pro-
each with its own set of buttons, timers, and pro- duct information is not likely to be available at the
cedures to understand, memorize, and adjust. Of nearest shopping center. You won't find two or
course, much of the wiring and peripherals would three Home Control stores with knowledgeable
be redundant as well, so your costs would be higher sales help to answer your questions. Five or ten
and your flexibility would be much, much lower. years in the future, maybe! Keep in mind that to-
A Computer Home Control system is an in- day this is a fledgling industry; the manufacturers
tegrated approach (as shown in Fig. 17-1) offering and distributors are very willing to discuss your
high flexibility, simplicity in installation and con- specific questions since many of their customers are
trol, ease of future expandability-and all this at a in the same position and need some help.
more reasonable cost than separate systems. This Another basic rule that can save you trouble
chapter covers a few notes and procedures that are later is to unpack your Home Control equipment
important to make sure you enjoy your Home Con- carefully and read all instructions completely prior
trol system for many years to come. to installation. Check the packing list to make sure

108
D
,
SIGNALING

Time Lights
Light
Indoor/Outdoor Temperature Central Heat
Smoke Central Air
Heat Hot Water
Moisture Room Heaters
Water Levels Room Air Conditioners
Magnetic Sensors Fans
Motion Detectors Warning Signals
Sounds Telephone Messages
--Telephone Tones Synthesized Voices
Voice Recognition Lawn and Garden Watering
Swimming Pool Pump
Robots

Fig. 17-1. Integrated approach to Home Control.

that all the equipment has been included. Many of flow where knocks or spills are likely, is less than
the Home Control sensor interfaces and controllers desirable. Wiring ease for your system to the sen-
(or single unit combinations) include simple tests sors should be a consideration, as well.
to be performed during installation to make sure When installing equipment and making connec-
all functions and capabilities are operative. Take tions, use care to make sure that none of the com-
the few extra minutes to do these tests to ensure ponents become damaged. As an example, a ther-
that the equipment is in order. mistor used to sense temperature can be about the
Many, though not all, Home Control systems size of a pin-head with two hair-sized wires for con-
require that your computer remain in one stationary nections. Not only can these be easily damaged, but
location. Consider carefully where this should be; they are even easier to misplace. Imagine trying to
for once your installation is complete, a later reloca- find a thermistor in a hay stack! Home Control com-
tion would be cumbersome and time consuming. ponents, like any peripherals, need careful han-
Obviously, a place that is damp, exposed to extreme dling. Once your equipment is installed, keep it
temperatures, or in the middle of your main traffic reasonably dust free and follow any maintenance

109
tips for the components. protect software (because it is only usable with their
After your overall wiring plans for the house Home Control Equipment), the process of making
are complete, you may find that many of the wires a backup copy is usually straight forward. Follow
head from your sensor interface in the same direc- the computer instruction manual for cassette (tape)
tion. Most sensor interface systems will use less copies, or your Disk Operating System (DOS)
than 12 volts (usually 5 volts) and 22 to 26 gauge manual for diskette copies. After making these,
wire (the higher the gauge, the smaller the wire). write protect the original and one copy (so that you
This wire may be purchased in color coded can't accidently SAVE a program or data on the
multiconductor cables where six to ten separate same cassette or diskette), and store it in a safe
wires are housed in one cable less than a quarter place. Disks are write protected by placing a piece
inch in diameter. One or two of these cables from of tape over the notch(es) located on the side of the
your sensor interface (if a number of wires need to disk, and tapes are write protected by breaking off
travel together) may take care of most, if not all the small tabs located at the back of the cassette.
of your sensor wiring requirements. When wiring Each time you develop or update a schedule for
24 volt applications-such as between the voltage your Home Control system, it should be backed up
reducer (transformer) and the electric water as well. Though the schedule itself does not require
valves-use 16 to 18 gauge wire. If any wire will much time to actually re-enter, it can be very time
be buried underground, be sure the specifications consuming to recall just how every component in-
confirm that it is approved for burial. teracts with the system. For example, you'd have
If you will be installing your Home Control to remember what sensor is linked to which item(s)
system over a period of time, be sure to consider it controls, as well as all the time related data (i.e.,
future wiring at the beginning. Including extra con- the time your coffee pot, alarm clock, water
ductor strands during the original wiring can often sprinkler, etc. should go on and off each day of the
save doing virtually the same work all over again week). Therefore, it's shorter in the long run to
at a later time. make copies of your schedules each time you make
If long lengths of wire are used between your any changes.
sensors and your sensor interface, you may occa-
sionally get misreadings (false alarms, etc.). This
is more likely to be a problem if you are in an elec- BATTERY BACKUP
trically noisy area where heavy duty motors or other A battery backup may not be a requirement for
high powered electrical appliances are being used. your system. However, if you do want this capabili-
Such false readings can be easily controlled with ty, the easiest (and likely the cheapest) way is to
the use of a few electronics parts-a capacitor (and purchase a Home Control system which includes
possibly a resistor)-linked to your wiring. These one built-in. Keep in mind the following considera-
are inexpensive pieces that can be purchased locally tions to be sure the battery backup you purchase
at any electronics store. However, for proper siz- meets your needs:
ing and hook-up instructions, contact the manufac-
turer of your sensor interface equipment. o X-10 Controllers and Modules will not work
if the house power goes out. Therefore, anything
that must work during a power outage should not
DATA BACKUP be controlled by your X-I0 system (unless your
Whether you purchase software or program your whole house is backed up by an alternate electrical
own, make sure you have backup copies. The supply-an expensive method to choose).
first thing to do when you receive your software o If your Home Control system does not have
on a diskette or cassette is make at least two backup a separate microprocessor to control your house in-
copies. Since most of the manufacturers do not copy dependently of your Commodore, then your Com-

110
mod ore must have a power backup as well. in your computer's memory during a power outage,
D All peripheral equipment such as sirens or or will the sensors, relays, and appropriate voltages
telephone dialers expected to perform during a to power burglar and fire alarm functions remain
power failure must have a power backup. operative? There is a big difference between the
D When manufacturers claim that their two, so make sure you investigate the manufac-
product has a battery backup system, be sure to turer's definition. Also, how long does the backup
find out just what they mean. Do they mean that remain operative? Five minutes? Ten hours? This
only the clock time and software will be retained is another important feature to consider.

111
18. A Case Study:
The Preston Home

01111
I

A T THIS POINT, YOU KNOW ALL THE PIECES.


This chapter will help you pull all your theory
agreement letters for clients. Fred also uses the
computer to compile a monthly sales report which
and knowledge together as you f<;>llow the Prestons summarizes the work of his six salespersons when
in an actual case history. You'll share firsthand how these are not completed on a compatible computer
they installed their Home Control system and how at work. The Commodore also serves to keep track
it operates. Even if you choose a completely dif- of the family's financial and tax records, and is
ferent system, much of the information here should periodically tied into an online information service,
shed some light on just what is involved, or how through a modem, that the Prestons use for home
different alternatives should be evaluated to find banking and computer shopping.
the one most practical to you. The Prestons own a two story colonial home
Fred and Lisa Preston live in a suburb of New in New Jersey (Fig. 18-1) where they have lived for
York City. Lisa works in Manhattan as an analyst about three years. During that time they had
for a Wall Street firm and Fred, whose job is discussed installing a burglarlfire alarm system, and
located in New Jersey, is a sales manager for a na- their interest became more acute when some
tionwide commercial real estate broker. The friends in the next town were recently the victims
Prestons have a son, Christopher, who is almost two of a burglary. Lisa decided to call a few security
and who stays with a neighbor while both Fred and companies to get estimates after asking some
Lisa are at work. neighbors for references who had security systems
The Prestons have a Commodore 64 that both of their own. Two written estimates were ob-
Fred and Lisa use for work extensively. Lisa tracks tained which were both between $2500 and $3000.
the companies she is responsible for analyzing on The following Sunday, Fred was paging
database and spreadsheet programs, while Fred through the "Home" section of the newspaper and
uses the Commodore to develop proposals and came across an article which gave an overview to

112
Fig. 18-1. The Preston's computer controlled home.

Home Control. The article discussed three products and price list, and decided to order the
that could be linked to a computer to control lights HomeBrain's Reference Manual. By the end of the
and appliances. One of the products covered was week, all materials had arrived in the mail.
the HomeBrain by HyperTek, Inc., and Fred noted After both Fred and Lisa had read the
that this product appeared to have an extensive brochures, they were confident that the HomeBrain
security system. Fred also found that this product suited their needs. They were particularly pleased
used the X-lO System as a Controller. Lisa had that the HomeBrain would not monopolize their
recently purchased an X-lO Timer and three Commodore, since both of them used their system
Modules which were currently used to control their extensively for other purposes, as described earlier.
front door light, a lamp in their living room, and They also liked the idea of having extensive bat-
the coffee pot in their kitchen. Fred decided to give tery backup capabilities included with the
HyperTek a call on Monday and request further HomeBrain, since there were occasional power
details. failures in their area. Lisa, who usually took care
At work on Monday, Fred called HyperTek of the family finances, particularly liked the idea
and described what he was looking for in terms of of the potential energy savings with the
security. He found that the HomeBrain could HomeBrain. They decided to devote Sunday after-
satisfy his needs in this area, and it was also deter- noon to designing their Home Control system so
mined that the HomeBrain was compatible with the that they would have a systematic and complete
Preston's Commodore. Fred requested a brochure plan to take advantage of the HomeBrain's benefits.

113
THE PRESTON HOME CONTROL DESIGN green throughout the season. Therefore, they
By the time Fred and Lisa began to actually develop decided to develop a simple sprinkler system (us-
their Home Control plan, they had a lot of infor- ing a moisture sensor) for the front lawn only (see
mation on file from the security companies and Fig. 18-2). They agreed that the pool had stayed
from the HomeBrain brochures. Sunday afternoon much cleaner since they had purchased a robot pool
they toured their property (both inside and outside cleaner last year, but they felt its performance-as
their house) and within a few hours had developed well as the pool's filter-could be optimized if both
the drawings which appear in Figs. 18-2 through were under computer control. A water level sen-
18-6 on the next several pages. sor would also be used to monitor the level of the
pool.
Fred noted that often when they were in the
The Outside backyard, no one could hear the front door bell. He
As they walked outside their home, Lisa and Fred decided to install a buzzer in the back of the house
noticed that their front lawn and gardens always tied to when the front door bell switch was pushed
seemed a little brown in the summers, while the (see Figs. 18-3 and 18-5). And since they wanted
backyard-possibly because of their pool-stayed to have the front and back doorbell offer a better

U 7 77

¢ ______ J~ - - - ---- -- <>


---\

<> Lawn and Garden Sprinklers Q Pump

o Pool Filter ~ Robot Pool Cleaner

o Air Conditioner
<:::Q Flood Light

Fig. 18-2. Property plan.

114
IQI]

[:>- Siren Speaker Relay


t:. Heat Detector ~
~ Smoke Detector Electric Water Valve
LJ iii
o Buzzer
a Modem
DB rni ~I [} Doorbell
8 Keypad
HomeBrain
@ Auto Phone Dia!er
_ _ Thermistor
D

(Jl Fig. 18-3. Cross section of the Preston home.


o Pool Filter

0- Robot Pool Cleaner Pump


o Air Conditioner
To Water Level Sensor For Pool
-------------l BASEMENT

I I
I Hou,e ."."d, o,e, th;, .,ea. I
I L ___________ ,

~
Up
~
II
~- - - - - - -, House extends over this area.
II
I
I
e
___________J

Note: Fire security wiring not shown


, on this diagram.

lllr:-----.--- _J
o -.b. v
"T

Fig. 18-4. Basement floor plan.


f\...- Pool Filter
U g Robot Pool Cleaner Pump FIRST FLOOR

~ Air Conditioner

~ ~
Roof Overhang

l~O[] ~ 29 o
Den ~Kitchen
·-·-·-·-·F~r Room Furnace~
Il(-\ol
Room Furnace
~ Garage

-
Recreation Room

}9®~
b.

,I
Living Room

~"= -,"1
•,""
'am
r - _ to.
,-
Dining Room

-x ;
I

!!I.
, .. ,------

~ Module - Under
-----r-r---J
[!] "It
Note: Fire security wiring not shown
on this diagram .
X-10 HeaUcooling
o Speaker
m

=p J, • r-.-.-.-...
- -._.-.
G -,
, l..
- n- 5·_· -,
-._.-.
I
Thermostat
~ Speaker Relay
t'i- Motion Detector
""'1 ' \" _....J
Controller
r.;:;::I ~
~ (Stand Alone) ® Auto Phone Dialer
""J:O Recessed or
0' Track Lighting D· Door bell

......
......
-...J Fig. 18-5. First floor plan.
I
I
I
I
I
I
a:
§u. I
o
I
z
o
()
w
I
en I
____ J
I
I E
o
e
E
o
o
I -0
CO
Q)
a:

I
1...... ~-1111111~
I
I~~
~T"-r'''''
IliiiiIiiIiiiiiiiiiiiiliiii.....
I
I .... E
Q) 0

I )
-
C/) 0
....
tIl-o
:EQ)
co

L I
___ i
.liii~
~-=-- - -iili-
-iilii- - - -iIiiI-
-iilii.ic::::§i;.il..IiiiiI - iIiI-
(3
-iiiII--
L-____________________________ ~~
dl

118
welcoming system, they decided to have both throughout the house would be managed by the
linked to their Home Control system. They agreed HomeBrain for both security and convenience.
to have a motion detector placed near the front door Three TVs are located in the house, and these
to further add to their entrance welcoming system would be controlled by X-10 Appliance Modules.
(more details provided later in this chapter). The computer, which is located on the second floor
For security reasons and for convenience, it of the house, could also be turned on and off via
was decided that all outdoor lights would be con- an Appliance Module. The stereo in the den had
trolled by the Home Control system. Also, in order previously been wired to speakers in the master
to know the temperature outdoors-particularly to bedroom, the recreation room, as well as the den
control their attic fan-a thermistor would be itself. Control of the stereo receiver for this system
located in a shaded area on the north side (front) would be handled by an X-10 Module, while con-
of the house. trol of each of the room speakers would be ac-
complished by relays in the HomeBrain.
The Security System Because the Prestons wanted to distribute con-
trol throughout their house (since their Commodore
Lisa and Fred wanted both a burglar and fire securi- was located on the second floor in the guest room),
ty system. The fire detection system would include stand-alone X-10 Controllers were to be located in
three heat detectors located in the kitchen, garage, the den, the kitchen, the recreation room, and the
and attic; and four smoke detectors placed in the
master bedroom. The keypad in the front hall could
basement, front hall, upstairs hall, and recreation
also be used as an extension for manual control of
room located to the right of the garage (see Fig. the system.
18-3). As shown in Figs. 18-4, 18-5, and 18-6, the
A thermistor would be installed in the front hall
burglar detection system would monitor all doors
which could be used to record internal temperature
and windows, and include two motion detectors on variations for better heat/air conditioning control.
the first floor, as well as the motion detector next A light sensor was to be located at a basement win-
to the front door. An indoor buzzer and siren, and
dow to tell how dark or light it was outdoors. The
an outdoor siren would be utilized. A panic button reason a basement window was chosen was mere-
would be located in the master bedroom, and a ly wiring ease to the HomeBrain; it really didn't
keypad switch would be located between the front matter what window in the house was used.
and back door.
Because the house once leaked in a corner of
the basement, a water detector would be placed THE FINANCES
there. Another would be located near the washing
Lisa developed some figures on what the Prestons
machine (see Figs. 18-3 and 18-4).
might be able to save by better controlling energy
Since weekdays no one was usually at home,
consumption. The Preston home has a gas hot air
Lisa and Fred decided that the HomeBrain must
heating system, a central electric air conditioner,
be able to use the telephone lines to notify someone
and a gas hot water system. Also, a small additional
of an emergency if one arose. To accomplish this
gas furnace is located in the recreation room (see
link the Prestons would use a Talking Home
Fig. 18-5). She noted that savings would be
Monitor wired to the HomeBrain.
achieved by controlling both heating systems as
well as their air conditioning unit. It was decided
The Inside that the gas hot water system was not easily con-
Both heating and cooling would be controlled by trollable by the HomeBrain, and therefore was not
the HomeBrain using the X-10 System (more infor- linked to the system.
mation on their heating and cooling systems can be At the town library, Lisa found a few books on
found later in this chapter), and many lights home energy conservation which gave some tips on

119
how to estimate energy savings prior to implemen- heating and air conditioning, totaled $568 per year.
ting home energy projects. Armed with this infor- If the $90 savings from the other furnace is includ-
mation and the previous year's utility bills, she was ed, that's a total of $658.
able to complete her figures and estimate their Although not part of her calculations, Lisa
savings. realized that additional savings could be achieved
Lisa found that her family's potential savings by making better use of their attic fan via the
from having computerized control of their heating HomeBrain. This would be accomplished by using
and air conditioning needs was particularly high. the fan as a substitute for their air conditioning
This was based on the fact that she and her hus- system to take advantage of the times when the out-
band worked during the day and that both they and side air was cool.
their son were out of the house for an average of The following day Lisa called their insurance
over nine hours a day. Also Lisa recalled all the agent and found that their plans to incorporate a
times that she and Fred had discussed adjusting the burglar/fire alarm system into their house would
heat or air conditioner before going to bed, but save $85 on their homeowners policy each year.
somehow this rarely seemed to be accomplished. The agent mentioned the things needed to be a part
Small mishaps in the control of heat in the of their system, all but one of which had already
recreation room had also been a concern to Fred been incorporated. The only further requirement
and Lisa. Although the house's central cooling was that two home fire extinguishers be main-
system did not extend here, this room was used fre- tained in the home.
quently in the summer, especially in the evenings, With this added advantage, Lisa had determin-
since it was located near the pool. However, in the ed their total savings per year to be $743. Both Fred
winter the room was rarely used except on Sundays and Lisa agreed that these savings represented a
and this often caused one of two problems. Since tremendous advantage over a standard burglar
the thermostat was located inside the recreation alarm system. But beyond this, there were four
room, someone had to run out ahead of time to turn other advantages. First, the Home Control system's
up the thermostat. Even worse, many times the energy savings will pay for all aspects of the system
heat was never turned down when everyone went in just a few years. Second, the money spent
back to the main part of the house-which meant related to energy conservation would be partially
that the heat would stay on until the following Sun- offset by tax advantages (see Chapter 3). Third, if
day when the room was once again used. Although they ever decided to sell their house, the fact that
Lisa did not complete a full study of this room, she the house has built-in Home Control features should
did estimate that they had spent roughly $270 certainly enhance its value. (This would be true
heating it last year, and that they should be able even if they decided to move the HomeBrain along
to save one third of that cost or $90. with them, since any wiring or peripherals that
The main heating and air conditioning systems were left could be used by others who desired a
in the Preston's house were set up in two zones. Computer Home Control system.) And fourth, and
However, at some time prior to their taking oc- most important, by installing a computerized
cupancy of the house, the thermostat wiring had system, Lisa and Fred would have a truly flexible
been adjusted to react as a one zone system. Lisa Home Control system offering its many advantages
noted that additional savings would be easy if they for years to come.
reconverted the thermostat wiring, but decided to Based on these facts, the Prestons decided to
calculate their main energy savings as if they would go ahead with the HomeBrain option. After Fred
be maintaining the one zone system. Lisa's calcula- and Lisa developed a list of materials required for
tions (reworked using the methodology found in their installation (see Fig. 18-8), Fred placed the
Chapter 3) can be found in Fig. 18-7. Her savings order with HyperTek the following day. During the
estimate, using a 10 degree adjustment for both conversation, Fred agreed to send copies of his

120
------------------------------------------

Preston
Heating System (main) Figures
1. Heat factor (Fig. 3-2) H
(for reference only)
2. Last Year's Heat Cost 1950
3. Thermostat set-back in Degrees 10
4. Interpolate Savings percentage 12%
(from Table 3-1)
5. Weekly Schedule:
Winter Heating (hours lowered):
Monday 17
Tuesday 17
Wednesday 17
Thursday 17
Friday 18
Saturday 15
Sunday 11

Total 112
Divide by 7 =
Average hours set back: 16
6. (Avg Hrs set back)/(8 Hrs) x (Saving %) x (Heat Cost) = Savings

16/8 x .12 x $1950 $468

Cooling System

7. Cool factor (Fig. 3-3) MM


(for reference only)
8. Last Year's Cooling Cost 410
9. Thermostat set-ahead in Degrees 10
10. Interpolate Savings percentage 13%
(from Table 3-2)
11. Weekly Schedule:
Summer Cooling (hours raised):
Monday 17
Tuesday 17
Wednesday 20
Thursday 17
Friday 17
Saturday 9
Sunday 8
Total 105
Divide by 7 =
Average hours set raised: 15
12. (Avg Hrs set raised)/(8 Hrs) x (Saving %) x (Cool Cost) = Savings

15/8 x .13 x $410 =


$100

$568
Total Heating and Cooling Savings

Fig. 18-7. Preston heating and cooling savings worksheet.

121
W8POVIJ ~ ..-
••• };-eI9t! dwnd lood (\J (\J

•• Jelat! J9~Eads alowat! C'J C')

J918 !0 ~ ,...
SJ91~UlJdS C'J C')

8AIE" IOJlU08 J81BM (\J (\J

JOSU8S 1461l ~ ~

SJOlS!WJ9 41 ~ ,... (\J

JOSU9S 8JnlSIOVIJ JO J91BM (\J (\J v


JOP9190 lB9H ~ ..- ~ C')

JOP8l80 9~OWS ~ ~ ~ ..-- v


4:Jl!MS 118q JOOO (\J (\J

JOP9190 UOIlOVIJ ~ ~ ~ C')

uonns ::J1UBd ~ ~

pBdA9)l ,... ..--

J8ZZns ~ ~ (\J
c0
.~
U8JIS JO 118S ~ ~ (\J c:
LO
oj :0
JOSU8S MopulM C'J C'J C') ~ (\J C') ~ v (\J C')
(\J "5 E
0
JOSU8S JOOO
~ r- r- ..- v
"E 0
0
>-
lN3V1Jdln03 t!3Hl0 (]) C1l
u Qj
J9110JlU08 9uoIV PUBlS
J8110JIU0:J IBISOWJ;:llU .
~
..-- ,...
.......
~ ~ v
(\J
c
C1l
=0
Q.~
Q. ,
a:
cCIl
C.
C1l x
.....
4::Jl!MS IIBM ABM-8aJ 41 (\J C')
rJ)
(])
rJ)
(])
ec
..... ..-
4::JIIMS IIBM ~ (\J ~ (\J ~ CJ)
""
::J ::J 0
()

·· .
U U
81npOVIJ du.lBl (\J ~ ~ v c: c: Q)
- E
8PBld8::J9t! IIBM ..- ..... 0
J:
8::JUB!lddV 6uOJd OMl C'~ ..... ..- ~ ..-- <.0 -'c"
0
8::JUB!iddV 6uOJd a9J41 iii
~ ..... (\J
.9! Q)

lN3V1Jdln03 O~-X ::J ct


wall JO UO!1dp::lsaa .r::.
Cii
"E
0 Q)
£;
W
E (/)
(]) .9! .2
E .r::. u -C1l
CII
" '"
-
:: :::J
0
c: u..
0
I
0
a: -
E
0
0
E
0
-
0
0
a: 0
c: 0
Cii
a: (])
"c
c:
C1l

§ E 0 E
0
<tl
li.r::.
(])
u
~ .g
C
]!
<D
Cil
E

-
0
.2 0 f- z 0
til
I a: c a: til 0
.~
.....J C1l
u.. >- "(]) a:0Cfl a:0 til "0

:: .2
1\1 w .....J I (])
~
w u.. C c OJ (]) OJ OJ 0 C1l
iii
u 0 ~ c: .r::.
c ..><: C1l ~
u Z ~ enC1l en (/) :;
f- e ";;:
0 "- u :!2 (]) 0 .....J
...J iJ5
f-
W
(/)
a:
(/) u.. ::i
ID .8 c:
C:::l ::z
(5 C1l
(])
ro 0 til
(])
CJ a: 0 I ~
"-
.r::. ::J
0 CJ ~ f-
« CJl
(])
CJl
"(5
ID
C"
Q)
a:
:::J « w
0 (]) u:: (/)
0
« f-
·
:::J c:
co
cO
0>
u:::

122
drawings to HyperTek so that they could see ex- as well as the stereo speaker relays and motion
actly what he wished to accomplish. detectors. Lisa and Fred decided they had done
enough for one day. and that they would complete
INST ALLATION their installation the next morning.
Within three weeks, all equipment and software Sunday morning, Lisa installed the keypad in
had arrived. During this time Lisa and Fred had the front hall and the telephone dialer in the kit-
already completed much of the wiring necessary for chen while Fred connected the outside siren which
the burglar, fire, and flood detection systems. While was to be actually located inside the attic next to
performing the wiring, they had been careful to the attic vents.
label each wire that terminated where the Figures 18-11 through 18-25 show some of the
HomeBrain was to be located so that appropriate completed aspects of the installation.
connections could be made. As with most houses.
some unique features were taken advantage of to
complete the wiring. In the Preston's case. they SETTING UP THE SOFTWARE
made extensive use of the crawl space under the The final step in completing their system was for
rear section of their house, as well as a laundry Fred and Lisa to adjust the HomeBrain software
shoot which eased wiring to the first and second to specifically reflect their particular needs and cir-
floor. cumstances. As they installed the wiring, they had
The only thing left to do was to make the ac- been careful to follow the connections specified in
tual connections to the peripheral equipment. and the HomeBrain Standard Package documentation.
to install the X-I0 equipment. Fred had called a This meant connecting specific wires to specific ter-
local electrician who had agreed to wire an X-IO minal pairs. Although the HomeBrain could be
controlled relay system for the pool filter and robot wired in many different ways, by following this
pool cleaner. Standard Lisa and Fred would automatically take
On Saturday. the remaining installation work advantage of HyperTek's logic suggestions. Logic
began. Fred mounted the HomeBrain on il bilse- here means relating what is sensed to any particular
ment wall, and made the necessary connections to reaction or sequence of reactions, and the
the RS-232 port of the Commodore. Following the associated timing involved. Since HyperTek has
instructions received from HyperTek. Fred con- had many installations to their credit. Lisa and Fred
nected the battery and tested the Commodore to decided it would be best (and easiest) to make use
HomeBrain link. He then connected the HomeBrain of their knowledge, and then adjust as necessary
end of each of the labeled wires to be used in con- any specifics to enhance their particular system.
junction with the sensors or relay controlled equip- They found that by following this procedure,
ment. Figure 18-9 details the necessary connections most of the adjustments necessary were simply in
that were made. During this time Lisa had been the schedules of the X-I 0 Modules located
connecting the various sensors at their appropriate throughout the house. Three HomeBrain Software
locations. packages were used by the Prestons to complete
After these tasks were complete. the day was tht'ir installation: the Toolkit, Create, and Display
still bright and Fred turned off all power in the programs.
house so that they could quickly install the X-lO
Wall Switch and Receptacle Modules. Figure 18-10
The Toolkit
shows the location of each module, the module type
used, the X-I0 HOUSE/UNIT code. and the item The following is an overview of what was necessary
controlled. once all wiring was completed and the Preston's
During the late afternoon the indoor siren and Commodore was turned on. Figure 18-26 shows the
both the indoor and outdoor buzzers were installed, main menu screen that appears when the Toolkit

123
# Of
Item(s) Wired Items Type Connection #(5)* *

Computer RS-232 RS-232 Port


Front Door Sensor 0 21
Other Door Sensors 3 0 22
Window Sensors 25 0 23
Sirens 2 R 65
Buzzers 2 R 69
Keypad LEOS 2 R 66,67
Keypad 0 16
Panic Button 0 23*
Front Door Motion Detector 1 0 26
Security Motion Detectors 2 0 24
Front Door Bell Switch 1 0 27
Back Door Bell Switch 2 0 28
Smoke & Heat Detectors 7 0 25
Lawn & Garden Moisture Sensor A 5
Pool Water Level Sensor 1 o or A 6
Basement Flood Detectors 2 o or A 7
Outdoor Thermistor A 2
Indoor Thermistor A 3
Light Sensor A 1
Water Control Valves 2 R 70
Dialer R 64,68,R*
Modem RS-232 RS-232 Port
Speaker Relay R 71

Type Codes:

Input: 0 = digital, A = analog


Output: R = relay, R* = relay and X-10 combination
RS-232: via RS-232 port

* On same line as window sensors.


* * Numbers refer to Standard Package locations on HomeBrain's panel: analog locations
from 0 - 15; digital locations from 16 - 31;. and relay locations from 64 - 71.

Fig. 18-9. Wiring connections for Preston Home Control plan.

124
Module
Location Type CODE Controlled Item
FIRST FLOOR
Front Hall Wall Recept A1 Thermostat
Wall Switch B1 Front door light
3 Way Switch B2 Front hall light
3 Way Switch B3 Upstairs hall light
Living Room Lamp B4 Lamp
Lamp B5 Lamp
Den Wall Switch B6 Ceiling track lights
Wall Switch B7 Ceiling track lights
2 Prong Appliance B8 Stereo
2 Prong Appliance B9 TV
Kitchen 2 Prong Appliance B10 Coffeepot
Wall Switch B11 Tiffany lamp
3 Way Switch B12 Overhead light
Dining Room Wall Switch B13 Chandelier
Back Hall Wall Switch B14 2 outdoor spots
Wall Switch B15 2 outdoor ceiling Its
Recreation Room 2 Prong Appliance 01 TV
Wall Switch 02 2 overhead lights
Appliance A2 Thermostat

SECOND FLOOR
Hallway 2nd Switch - 3 Way B2 Front hall light
2nd Switch - 3 Way B3 Upstairs hall light
Master Bedroom Wall Switch C1 Overhead light
2 Prong Appliance C2 TV
Child's Room Lamp C3 Night Light
Guest Room Lamp C4 Lamp
3 Prong Appliance C5 Computer
2 Prong Appliance C6 Radio

ATTIC 3 Prong Appliance A3 Attic fan

BASEMENT 3 Prong Appliance E1 Pool filter>


3 Prong Appliance E2 Robot pool cleaner>

> In combination with relay.

Fig. 18-10. X-10 Module types and locations for Preston Home Control plan.

125
Fig. 18·11. Motion detector on outside of house takes note of visitors approaching front door.

126
Fig. 18-12. First floor hall X-10 Wall Switch Modules for front door, lower and upper hall lighting.

Fig. 18-13. Keypad and buzzer located in first floor hall.

127
Fig. 18-14. Heating and cooling control using X-10 Thermostat Controller.

128
Fig. 18-15. The coffee is turned on from the master bedroom's X-10 Controller. The Home Control system checks to make sure it's turned off at the ap-
I\)
<0 propriate time.
Fig. 18-16. The Talking Home Monitor is in position to call for help in the event of an emergency.

130
uf audio, VI("j"O, and \Jven lflt'
rerno le and cOf" l:uh r Cllr.lrol
Fig. 18-17. The Pres ton l1,m hds

I ~31
Fig. 18-18. A vibration window sensor monitors for unexpected guests in the den.

Fig. 18-19. A smoke detector located in the second floor hall constantly monitors for traces of fire.

132
Fig. 18-20. X-10 Controller and panic/emergency button conveniently located in the master bedroom.

133
Fig. 18-21. Electric water valve located in basement turns the sprinklers located in front lawn on and off.

Fig. 18-22. From a basement window. the light sensor keeps track of day and night.

134
Fig. 18-23. If the basement floor becomes flooded, this moisture sensor will detect the condition. Note the paper towel
used to absorb water and speed detection.

Fig. 18-24. Located at the attic vents is a siren to signa! the neighborhood of an emergency.

135
Fig. 18-25. The HomeBrain in the process of being wired.

136
program is loaded. The first item on the menu is motion detector, and a smoke detector which had
Communications Setup. Note the bottom of the originally been connected incorrectly.
screen gives an explanation of the current menu The relays were checked by returning to the
item. Here the description reads: "Communications Immediate Mode and giving the commands to
is the term used to describe the sending or receiv- switch them on and off. Each item here worked as
ing of information. This module will allow you to expected. When the Talking Home Monitor reacted
customize the communication driver within this to the fire or burglar condition relay being switched
program to work with your computer." In other to on, it spoke its warning: "Alert condition one
words, this menu item checks that your computer exists" or "Alert condition two exists". However,
and your HomeBrain can talk to each other, in- it had not yet been given the appropriate phone
cluding a check on your RS-232 wiring, and such numbers to call. Consequently, it would beep for
things as data transmission speeds, etc. If anything a few seconds and then say "No number!" Actual-
is out of sync, the software will try to correct the ly, this was by design to enable Fred and Lisa to
problem or at least suggest a probable cause. first check out their system without giving false
The bottom line of the menu notes an Im- alarms to those designated for the security calls.
mediate Mode which can be entered at any time to After the wiring adjustments were made to the
use the Commodore to immediately instruct the motion and smoke sensors, all appeared to be in
HomeBrain to do most any of its functions-turn order. Since the Prestons were using the Standard
on a light, show the position of a relay switch, read Package, they now needed to adjust the Standard
the time or date, etc. Once the communications was Package software file to reflect their specific needs.
checked, the first thing for the Prestons to do was This could be accomplished in more than one way:
to inform the HomeBrain of the correct password.
This was achieved by going to the Immediate Mode 1. Using the Network Programming and
and typing in the factory set password. The actual Scheduling Control modules.
entry is "ENAPAS 0,0,0,0" Enter. Of course, the 2. Revising a standard word processing file
password has been since changed by the Prestons (which uses standard ASCII codes and therefore
for security purposes. After the password was pro-- would work with most word processing programs).
vided, the current time and date were also entered.
For a little practice Fred and Lisa remained in A HomeBrain program is actually made up of
the Immediate Mode and tested their HomeBrain's many short subprograms called networks. Using the
X-10 System by turning on and off a few lights and Network Programming module, any of these sub-
the stereo. Everything was in order, so they re- programs can be created, adjusted, or deleted ac-
turned to the main menu. cording to the particular needs of the user. The
The next step was to check out the analog and Scheduling Control modules allow the timing of
digital wiring that they had already completed, and schedules (i.e., what time or day an X-10 Module
to see if the relays would control items as expected. will be turned on or off) to be adjusted, as long as
To begin this process Fred went to the menu item each schedule has been defined within a network.
"System Status Tables" which, among other Since most of the necessary adjustments to the
things, allowed him to check the digital and analog Preston's system were due to schedules of X-10
readings that the HomeBrain was receiving from Modules, they decided to update the Standard
the various sensors located around the house. It Package using these methods.
turned out that two adjustments were necessary to However, an alternate way to handle this would
the wiring in order to obtain the expected readings, be to use a word processing file of the entire Stand-
but once identified by the Status Tables, the actual ard Package software; and by using most word
corrections were small tasks to complete. The two processors, adjustments could be made to reflect
items needing adjustment were a loose wire to a the Preston's needs. The adjusted word process-

137
:1 \\()Uld tlwn lwed to lw compiled (a process #2;). Bowen'r, instead of remembering this in the
\\hch tnt' COlllllUter---using tbe Compile Pro- future or h,wing to constantIy look up such items
~:ram T"x( Fik module-predigests the material to in a reference table, it is easier to assign an iden-
milk!, It UJ1'.len·t?ndaL,l(' to the HomeBrain) before tifier to it (i,e., smoke = :2::)). Identifiers call be
cxcnlted hy the system. One of the main ad- defined while using a word processor (when pro-
vani "gh of llsing thie:; word pnJl'cssing method is gramming or adjusting your software), or in the Im-
ti,at it :nakes iidjllstmg (e(~iting\ very easy to ae· mediate Mode of the HomeBrain software.
c.ulllplish it '·uu are farniltar with a particular word The menu item System Backup/Restore/Clear
sottv;arc. Execution (or implementation allows the user to backup (save) a complete image
t ii, !lomeHrain) of the file is thell accomplished (file) of what has been programmed into the
! 11<: Execni<' l'ompiied File module. HomeBrain on the Commodore's disk system, to
nil' following kw pari1graphs are a brief Restore (load) an image from the disk system to the
discu:,~iim of the remainder of the mellU iter1s HomeBrain, or to Clear the image (all information)
),,,,,.": ;11 F;,; 1,~2(i, currently in the HomeBrain.
I'l'" 111' '1 remaining )tWilil item is the Load/Sa'v'e The last menu item, EXIt Toolkit, allows you
ldentiiwrs dloclule. /d"izlzfief's are words that em tl) leave the Toolkit program.

,<lh,;! Ult,d lw Irw u:·,e( of the :-:y:;tel11 to make


·kr .. nn 1(, :pccific items ea"it:~r, In other worcs, The Create and Display Programs
.OUl :·,;nol", d,'kctnr tiLlY be connected [(I input The Preston'" HomeBrain was now fully opcra-

"'-~----=---~~-=~~-=~==-======-=--=--=---==~===~~-:I
HYPERTEK NCORPORATED
MENU
I
- _.-

C:Ot\WU~Jir.;ATlor~s SET LIP EXECUTE COMPILED FILE


~'~FT'-..;V()Rt< P!1C,GRAMMlr\;Cl LOAD/SAVE IDENTIFIERS
:>~:;CHE[JUL:N:.~·; CC,~,j-rfiO!_ SYSTEM BACKUP:RE~;TORE/CLE.AR
ru/ :·;·\TUS TABLE:S EXIT TOOLKIT
C()~/PILf~ FJH()CJHAM TeXT FIL.E

c:'r,!'.'U:';;'j, liONS is THE TERt..,1 USED TO DESCRll3[ THE SENDING Of-, FU'CI:'IVING OF
'JF(',1rA~, T ION THi" MODliU:: WILl_ AL LOW YOU TO CUSTOMIZE fHE COMMUNICATION
,/,' , ,,,r~ THI'~ r'~\: H Hi/1M TO VvOF K WITH YIJIJR COMPUTER

"i)IT1"S!Cllri T,x:-ikit rrrlgrl!n'S rrwirr rne1U. One of the Commodore's function kHYS IS designated as the
HYPERTEKINCORPORATED
DISPLAY GENERATOR MENU

CREATE NEW DISPLAY SCREEN DEFINE/EDIT DATA FIELDS


EDIT CURRENT SCREEN CREATE/EDIT LIBRARY
SAVE CURRENT SCREEN TO DISK EXIT CREATE PROGRAM
LOAD SCREEN FROM DISK

INITIALIZES SYSTEM AND CLEARS OUT TEMPLATE FOR YOU TO BEGIN DESIGNING
A NEW DISPLAY SCREEN.

Fig. 18-27. The HomeBrain Create program's main menu.

tional with all functions operating according to Lisa or adjust any screen already in memory.
and Fred's specific wishes. One last set of steps, Save Current Screen to Disk. Developed
however, would provide the finishing touches to screens must be saved to disk for later use.
their system to give them full monitoring and ease Load Screen from Disk. Restore a
of control over their Home Control system. To ac- previously saved screen to the computer memory
complish this the HomeBrain Create and Display for editing, etc.
packages were used. Define/Edit Data Fields. This menu item
Figure 18-27 shows the Create main menu links real world conditions being sensed by the
screen (shown as the "Display Generator Menu"). HomeBrain to representative wording or displays
A short summary of each of the menu items follows: on a particular screen. For example, on various
displays created by the Prestons, a fire condition
Create New Display Screen. This module is shown by the word "SMOKE". The "Define/Edit
will delete any display in the computer's memory Data Fields" module allows for this definition.
and allows the user to create a completely new Create/Edit Library. Associates individual
display screen. Display screens can be text descrip- screens into a complete library for viewing on the
tions of functions in the house, or diagrams (floor Display program.
plans, cross sections, etc.) which willlatcr (through Exit Create Program. Terminates program.
the use of the Display Program) allow for the con-
stant monitoring of the entire system. The Display main menu screen is shown in Fig.
Edit Current Screen. Allows user to alter 18-28. After loading the Display program, the pro-

139
gram itself automatically looks for a library of Dial-Up a Remote Intelligence Unit.
screen files. If found, the library of screens is Allows user (with the aid of a modem) to contact
displayed in the left hand column under Acti ve a HomeBrain unit over the phone lines.
Screens. A library can contain five screens, and any Exit Display Program. Terminate
number of libraries can be maintained for a par- program.
ticular set-up. The Preston's screens include
floorplans of the basement, ground (first) floor Lisa did most of the design work using the
(shown in Fig. 18-28), second floor, and attic, as Create program to develop the Preston Home Con-
well as a property layout. Other screens (contained trol libraries. Some of their other library screens
in a second library) include functional descrip- are displayed later in this chapter.
tions regarding fire, security, energy management, THE PRESTON SOFTWARE LOGIC
lighting, and even a vacation mode screen.
Options contained on the Display menu include Although details of how software works would vary
the following: from Home Control system to Home Control
system, the logic used in the Preston's system (by
Load New Screen Library. For users with and large the logic of the HomeBrain Standard
more than one library of screens, this feature allows Package) will be helpful to anyone developing their
access to other libraries. own design. Therefore, the descriptions that follow
Print One of the Active Screens. Allows discuss the software in terms of logic rather than
a hardcopy printout of any particular screen. programming specifics.

HYPERTEKINCORPORATED
DISPLAY MONITORING MENU

ACTIVE SCREENS DISPLAY OPTIONS

BASEMENT LOAD NEW SCREEN LIBRARY


GROUND FLOOR PRINT ONE OF THE ACTIVE SCREENS
SECOND FLOOR DIAL-UP A REMOTE INTELLIGENCE UNIT
ATTIC EXIT DISPLAY PROGRAM
GROUNDS

< < < <. ACTIVATING BASEMENT


< UPDATING SCREEN
PLEASE STANDBY! .

Fig. 18-28. The HomeBrain Display program's main menu.

140
FEB 1, 198X FRI

HYPERTEK HOMEBRAIN
RESIDENTIAL CONTROL SYSTEM
FIRE CONTROL
STATUS
11111111111111111111111111111
SMOKE & HEAT DETECTORS OK
DIALER OFF
DIALER DELAY OFF
00:00:00 REMAINING

= SIRENS OFF =

Fig. 18-29. Computer display of fire safety system.

Fire Safety to control the furnace or air conditioner more direct-


If a fire condition was sensed by any of the seven ly and thereby have a more positive shutdown of
heat or smoke detectors located around the Preston the ventilation system. In actuality, the Preston
home, the HomeBrain will respond for a fifteen method only uses the HomeBrain's X-I0 Controller
minute period by performing the following pro- to place the heating or cooling system in a mode
cedures or until the condition is no longer sensed. where it is less likely to be on.)
The Fire Control Status screen is shown in Fig. D After a thirty second delay, the HomeBrain
18-29. triggers the dialer to call for help. (The Talking
Home Monitor is used by the Prestons and is set
D Turn on specific inside lights (upper and up to dial four telephone numbers repeatedly until
lower hall, etc.) to guide occupants out of the house. a positive communication is made. This positive
D Flash outside lights to assist fire company communication means that the Talking Home
in locating house. Monitor will keep on trying until a receiving party
D Sound interior and exterior sirens. actually calls back the Preston home and
D Adjust X-I0 Thermostat Controller to turn acknowledges to the Talking Home Monitor that
off heat or air conditioning in order to stop smoke the message has been received. The dialer is
from being sent through the ventilation ducts. (The capable of distinguishing the type of emergency to
Prestons use the HomeBrain to control heating via the receiving party.) Fred and Lisa have chosen the
the X-I0 method, but the HomeBrain can be used numbers of four friends and relatives who have

141
been thoroughly briefed on how to respond to such LEDs (light emitting diodes or small lights-one
a call. Care was also taken to choose phone green and one red) to indicate whether the system
numbers where it would be likely that someone is secure and armed. The system is not able to be
would be available to receive the message. armed if it is not secure. The same five digit code
is used when leaving or returning to the house. The
Security specific keypad the Prestons use has a potential for
95,000 different five digit codes. Only one of them
The HomeBrain is setup and responds like a
will work. Therefore, such keypad security is ex-
standard security system and continuously monitors
tremely high.
all window and door sensors located throughout the
Should a break in security occur, the
house. The Security Control Screen is shown in Fig.
HomeBrain will sound the sirens, turn on specific
18-30. There are four zones as follows:
interior lights, flash specific outside lights, and if
o Front door the system is not disarmed within thirty seconds,
o All other doors the dialer (Talking Home Monitor) is activated.
o All windows After fifteen minutes or when the system has been
o Two internal motion detectors disarmed, all sirens, buzzers, and the dialer are
turned off. Lights are returned to normal (their prior
The doors have exit and entrance delays state).
associated with them. The system is controlled When an entry door is opened, the procedure
from the security digital keypad which has two is similar except that a delay of thirty seconds oc-

HYPERTEK HOMEBRAIN
RESIDENTIAL CONTROL SYSTEM

SECURITY CONTROL

SECURITY ZONE STATUS SECURITY SYSTEMS


1111111/11 1111111/ 111111 111111/11/111/11/ ""111
FRONT DOOR SECURE BUZZER OFF
OTHER DOORS SECURE DIALER OFF
WINDOWS SECURE ENTRANCE DELAY ON
INTERIOR MOTION 00:00:00 REMAINING
DET SECURE EXIT DELAY ON
00:00:00 REMAINING
HOUSE SECURE DIALER DELAY On
SYSTEM ARMED 00:00:00 REMAINING

SIRENS OFF

Fig. 18-30. Computer display of security system.

142
-----------------------------------

FEB 1, 198X FRI


... ".. * ** '" * ... ".. * ** *,.. '" * * * ... * * * ** '" '" * * * * * .. '" * * .. * *
HYPERTEK HOMEBRAIN
RESIDENTIAL CONTROL SYSTEM
**************************************
ENERGY MANAGEMENT

TEMPERATURES DEG. F. SETPOINTS DEG. F. ENERGY CONSUMER STATUS


////1/11111/ ////// 11111//1 11//1/ / / / I I 1/ I / / / / I / I I 1/ / I 1/
OUTSIDE AIR 33.0 HIGH 70.0
INSIDE AIR 70.0 LOW 60.0 FURNACE ON
AIR CONDITIONER OFF
ATTIC FAN OFF

OUTSIDE LIGHT LEVEL


/////1 I /11/1 1/ /I /
225 BRIGHT

Fig. 18-31. Computer display of energy management system.

curs during which time the occupant has a chance Energy Management
to signal his or her arrival by punching the correct
code into the keypad. If correct code is not punch- Although there are many ways to control the
ed within the first fifteen seconds, the buzzers heating and cooling systems using the HomeBrain,
are activated as a reminder. If the correct digits are the Preston's use timed control of their Thermostat
still not pressed, the HomeBrain considers this a Controller Modules to regulate all systems. As
security break and reacts as described earlier. discussed earlier, their method uses a ten degree
When an occupant arms the system, the differential for heating and cooling during those
HomeBrain starts a thirty second count for an exit periods when the house is unoccupied, or when they
delay. During this time the occupant may leave the are sleeping. The recreation room furnace-also
house through any of the doors. However, should under similar control-has been placed under a fif-
a window security break occur during this time, the teen degree differential. The Energy Management
HomeBrain will respond immediately. screen is shown in Fig. 18-31.
The interior motion detectors can be armed or Two thermistors are also used. The interior
disarmed independently of the other components thermistor is used as a check on the system and
of the system. This provides additional protection allows for a display of the interior temperature on
when the Prestons are not at home, yet allows them the Commodore monitor (via the HomeBrain). The
to freely wander the house when they are. second thermistor is located outdoors and is used
Of course, any of the delay times used by the to measure outdoor temperatures particularly in the
Prestons are software adjustable. spring or summer to activate the attic fan as an

143
FEB 1. 198X 12:24:53
••••••••••••• *•••••••••••••••••••••••
tiYPERTEK HOME BRAIN
RESIDENTIAL CONTROL SYSTEM
ENTRANCE AREA LIGHTING CONTROL
••••••••••••• *.** ••••••••••••••••••••
ITEM CODE STATUS DAYS ACTIVE SCHEDrLE
11111/1/1///1 1/1/ 111/1/ 111/111111/ /////1/1
FRONT DOOR LIGHT Bl OFF ALL ••••••••
1ST FLOOR HALL
2ND FLOOR HALL
B2 OFF ALL ••••••••
•• * •••••
B3 OFF ALL
KITCHEN
KITCHEN
B11
BII
ON
ON
Sl'N, SAT ••••••••
MTWTF 1ft • • • • • • •
FRONT DOOR POS ITION CLOSED ALL
FRONT DOOR MOTION DET QUIET ALL

- F'IRE FLAG -

Fig. 18-32. Computer display of entrance area lighting.

alternative to the air conditioning system. The hall and outside the backdoor) for one second.
temperature of the outside air can also be viewed o If motion is sensed while it is relatively dark
on the monitor, which both Fred and Lisa have outside, the buzzers will sound and the HomeBrain
found useful to help determine how they and their will send a signal to turn on the front door light for
son should dress in the mornings. a duration of five minutes-after which it returns
to its prior state (according to the particular
Lighting Control schedule for this light).
The Prestons have extensive lighting control with o If the door is opened (possibly the Prestons
the X-10 Modules throughout the house. The type returning home) and it is dusk or dark out, the front
of logic they have used groups the control of lights hall and kitchen lights turn on. (Although each
into the functions that they serve. As an example, schedule is not actually shown, note that, in Fig.
take a look at Fig. 18-32 which displays a screen 18-32, the same kitchen light operates under two
of the lighting near the front door. Each of these different schedules depending on which day it is.)
lights has its own particular schedule according to The front hall returns to its prior state after five
a time and day schedule, yet each of these has a minutes.
reaction related to what is being sensed at the front o If the time is after eight o'clock in the even-
door. This includes the following: ing then the upstairs hall light turns on as well.

o If motion is sensed near the front door, the The stereo could have also been linked to
HomeBrain sounds the buzzers (located in the front welcome the Prestons home, but they found that

144
timed control of their receiver coupled with the cost savings (set-back or set-ahead mode).
relay control of which speakers were playing made D Control some lights according to their nor-
the system suit their life style better. mal schedule, yet have others operate according to
a randomized schedule. Stereos and TVs are also
Vacation Mode operated in this randomized fashion.
Much of the Preston's Home Control system
The HomeBrain normally flashes the green
operates similarly whether operating in a normal
LED on the keypad to show that it is working. Dur-
or a vacation mode. As examples, the fire and
ing the vacation mode, this LED remains on. At the
burglar systems react in the same manner whether
return date specified, the system automatically
they are away from the house for a few hours or
brings the house back to normal control.
for an extended vacation. But other subsystems
change to be more efficient while in vacation mode.
If the Prestons decide to leave their home for more Other Functional Notes
than a day, they can place the house in vacation Many other logic links have been incorporated in-
mode by noting both the departure and return date to the Preston's Home Control system, most of
to the HomeBrain (Fig. 18-33). During operation of which work as described in previous chapters.
the vacation mode (between these preset dates) the Some of these include such items as the pool pumps
system will: shutting off if the water drops, and the lawn
moisture sensor is looked at by the system once a
D Maintain heating or cooling to maximize day (at appropriate times of the year) to see if the

FEB 1, 198X FRI


HYPERTEK HOMEBRAIN
RESIDENTIAL CONTROL SYSTEM
**************************************
VACATION CONTROL
* * .. 1r * * * * * * * * * * '" * .. * '" * '" '" * * * * * * * '" '" * * * * * * *

CONTROLLED LIGHT VACATION SCHEDULE


111111111111111111111/11 """"""""1 "1111/1
FRONT DOOR LIGHT OFF DEPARTURE DATE 00100100
LIVING ROOM LAMP OFF RETURN DATE 00100100
BEDROOM LIGHT OFF
DEN LIGHT ON VACATION MODE OFF
STEREO OFF

= VACATION MODE NOT IN USE =

Fig. 18-33. Computer display of vacation control system.

145
lawn needs watering. If water is needed, the elec- and using a copy of the Display software which he
tric water valves are turned on for an appropriate keeps at work. By running his computer and
duration. The water sensors in the basement are modem at the office, he can now monitor and con-
constantly monitored. If water is sensed, the lights trol the HomeBrain and his home from this more
in both the first floor and second floor hall will flash distant location just as if he were working from the
and the buzzers will sound every fifteen seconds. computer at home.
If no action is taken by an occupant within twenty The Prestons have had their Home Control
minutes, an X-IO Modulelrelay combination will system for slightly over a year, and have they
signal the dialer. (The X-IO Modulelrelay combina- become extremely comfortable with all of its
tion was installed because all the HomeBrain relays benefits. They also claim to have had a lot of fun
had been dedicated to other functions.) demonstrating it to friends and relatives. Some of
Since Fred uses a personal computer at work them have begun to install their own Home Con-
that is compatible with the one at home, he decid- trol systems. Although other systems may be
ed that he would like to have full monitoring and smaller or larger, the Preston's basic experiences,
control capabilities of his home while he was at as recorded here, are typical to many families who
work by connecting a modem to the HomeBrain have taken advantage of Computer Home Control.

146
19. Gazing into
the Crystal 8all---...,.

01111
I

T practical applications for Home Control with


HIS BOOK HAS COVERED READILY AVAILABLE, on the patio for cocktails, and when dinner's ready,
a path of lights might lead to the dining room. The
the Commodore 64. But Home Control can go much patio music stops, and background dinner music
further if you have an interest in more exotic ap- begins to play inside the house. After dinner, the
plications. These can be developed from what has lights in the living room go on to half their
been discussed in this book, though some may re- brightness, the music becomes a little louder, and
quire additional hardware and/or software. For ex- coffee is served. And when the party is over, the
ample, you could have draperies open and close ac- music stops and the lights slowly brighten to their
cording to the position of the sun, or have your full extent-no subtle hints to leave here!
Home Control system operate a highly complicated But some of you may still want more.
active solar heating plant for heating and hot water
needs. You could add a video camera to your
burglar alarm system in order to see who is at your CONVERSING WITH YOUR HOUSE
front door. With proper identification, you could One of my early concerns about a computerized
have your front door open automatically. If you Home Control system was that while my computer
wished, you could even use your Home Control was taking care of the house, it might be distracted
system to replace your house keys and provide ac- by someone playing with its keys. Therefore, the
cess to your home using a digital key-pad. first program I wrote included a voice synthesizer,
Another possibility is managing the activities and when any key was pressed (except for a shifted
at a party via Home Control. Guests could be left arrow which gave access to the main program),
directed to appropriate parts of the house when you the computer would respond by saying, "PLEASE,
wished. For example, lights and music could start DON'T TOUCH THOSE KEYS!"

147
Fig. 19-1. Waldo, the Home Control system that talks and listens (courtesy Artra, Inc.). The pictured card plugs into the
Apple II line of computers.

148
Seriously, voice synthesis can be very handy programmed to use its mechanical arm. Some have
for updating your schedules by acting as a pro- voice synthesizers and a few are capable of voice
mpting mechanism. Further, it can provide status recognition. One robot listed in Appendix A even
reports on your system: "THE LAWN DID NOT has a complete music and video game entertain-
NEED WATERING TODAY . . . ", warn of ment center built-in. But alas, most of these little
emergency conditions: "FIRE CONDITION SENS- fellows, although marvels of technology, are still
ED!", or greet someone at the front door: "HELLO, a bit clumsy and are currently limited in their prac-
SOMEONE WILL BE WITH YOUR SHORTLY" tical applications. This should change very rapidly
or "SORRY, NO ONE IS AVAILABLE TO COME as better software becomes available and a few sim-
TO THE DOOR AT THIS TIME". A wide varie- ple attachments are added. The development of
ty of computer voice synthesis products are robots is similar to when the first personal com-
available today, and most are operable by those puters became available-the hardware was fine,
with only a minimal knowledge of BASIC but the software was extremely limited. Therefore,
programming. only those who understood how to program com-
The flip side of conversing with your home is puters could really make any use of them. With the
having your computer understand your spoken advent of strong application programs-
commands. Though products to accomplish this are spreadsheet and word processing for example-
few in number, the pace of their availability is in- things really got moving. Suddenly, the personal
creasing rapidly. One interesting product like this computer began making sense to a much wider
is Waldo which is produced by Artra, a company market.
in Arlington, Virginia. This product presently is on- Figure 19-3 shows TOPO, the robot pet from
ly available for the Apple II (pictured in Fig. 19-1) Androrobot. Robots currently can be used to greet
and Heath/Zenith H/Z-89 computers. Waldo can guests, to serve drinks, wake you up in the morn-
understand verbal commands: "WALDO, TURN ing, and their best use might be as a tool to actual-
UP THE HEAT ... ", and it can accomplish the ly learn the subject of robotics, itself. Some are able
task by using an X-I 0 Controller (included) . Waldo to handle regular home computer functions such as
can even respond through one of two optional voice word processing, etc., as well. Most can be
synthesizers: "THE HEAT HAS BEEN RAISED. operated on a stand-alone basis, while some robots
ANYTHING ELSE YOU DESIRE?" One par- can be programmed through a separate computer.
ticularly nice feature about Waldo is that you don't For a computer controlled house, a robot capable
need to be actually holding a microphone when giv- of being programmed by a home computer would
ing Waldo his instructions. As long as you're in the be a logical addition, for such a robot will be able
same room as Waldo's microphone, he will be able to work more harmoniously with your overall
to understand and respond. system.
The practical success of the home robot is
doubtless tied to their ability to perform housekeep-
MAN'S BEST MECHANICAL FRIEND ing. Some robot manufacturers have promised
The discussion of Waldo leads into another vacuum attachments for their droid by early 1985.
fascinating possibility-a pet robot. Robots are now But washing windows, emptying the dishwasher,
reaching the home market similar to the home com- mowing the lawn, or doing the laundry still seem
puter around 1977. Industry watchers predict that remote. More likely achievements in the near future
these devices in the home market will grow pro- will be along the lines of opening doors, carrying
portionately to the massive increase in units sold more substantial objects, or monitoring the inside
of microcomputers. of the home for hazard conditions such as smoke
Essentially, a robot is a computer with mobili- or unexpected motion. One never knows, however.
ty and/or limbs. Hero 1, shown in Fig. 19-2, can be The robot by 1990 may be a widely accepted super

149
Fig. 19-2. HERO I robot (courtesy of the Heath Company).

home appliance and man's best mechanical friend. the house of the future, this book will only touch
a few areas of this very interesting subject. A few
THE HOME OF THE FUTURE futurists have incorporated many elements of Com·
Although a great deal of speculation centers around puter Home Control into two existing designs.

150
bol, Inc.).
Fig. 19-3. TOPO with his ANDROWAGON (courtesy Androro

151
These are the House of the Future located in the ideas can be
incorporated even more efficiently in-
Arizona desert and Xanadu located near Disney to new homes and,
with a little preplanning, at an
World in Orlando, Florida. The House of the Future extrem ely low
additional cost.
is a 3100 square foot building composed of many If you are considering building your own home
triangu lar shapes. Compu ter controlled solar col- of the future,
the following are suggestions for your
lectors line the south facing wall and provide three design. It
should be noted that these are not being
quarter s of the home's heating needs as well as advoca ted only
for the super modern home. They
most of its hot water needs. Ceilings vault to heights are suitable
for any new home whethe r the par-
of 32 feet, and fountains surroun d the central ticular design
is a colonial, a cape, a tudor, a ranch,
gatheri ng place called the conversation pit. or whatev er.
Xanadu is strikingly different in contrast in that
the shape of the structu re more nearly resemb les
a mushrooming of globes. Actually, the house was Make Room for the Computer
constru cted by sprayin g a type of plastic foam The compu ter will soon be as much a part of the
(which acts as a strong insulator) over huge home as the television, washer /dryer, or the
balloons. Once the foam harden ed, the balloons dishwa sher is today_ And just as these items are
were deflated and removed for potential re-use. The planned into your homes, so should the compu ter
globes interconnect to form a 6000 square foot, two be planned into tomorr ow's homes. A new plan
story living space. should include a computer area so that the computer
Both futuristic homes make extensive use of and periphe ral attachm ents (i.e., printer, disk
their respective compu ter system s to control such drives, TV or monitor, storage for books, manuals,
things as security, energy manage ment, and lights and softwa re packag es) can be housed
and appliances. And further both computer systems conveniently.
are used for the manage ment of information and One possibility would be to include a large
entertainment. Each house has extensive audio and closet in the home to be used for this purpose. The
video equipment linked to their computers, and this closet approa ch allows what often may be a work-
combination provides a futuristic home office, a ing area to be closed up and out of the way when
computerized dietitian, an automa ted education not in use (aesthetically pleasing and child proof).
laboratory, and outside links to computerized infor- The location might be in a family room, den, or
mation, shopping, and bankin g system s, to name bedroom. The kitchen isn't ideal because of spillage
just a few. problems. The closet should be roughly the size of
Of course, many of these types of functions are a double door clothes closet (although possibly a
becoming well within the reach of home compu ter few inches deeper), and contain overhe ad shelving
users today. The important thing found in both the for storage , as well as a collapsible (but sturdy) shelf
House of the Future and in Xanadu are that all for the comput er, printer , TV or monitor, disk
these functions and applications have been in- drives, etc. At least two three-p rong electrical
tegrate d togethe r and can be experie nced in com- outlets should be include d, preferably buffered from
bination with one another. voltage spikes. (These spikes can destroy a com-
puter's circuitry.) Also, a phone jack should be pro-
vided (two jacks if multilines are a potential in the
YOUR HOME OF THE FUTURE
house- one to be used for a compu ter modem and
This book offers Home Control ideas and sugges- the other
as a regular telepho ne outlet). Adequa te
tions to incorporate into your present home. But lighting should
also be available inside the closet.
some of you may be considering building a new Of course, other possibi lities-i f you can spare
home either now or in the future. Therefo re, it's the room-i nclude
a separat e home office with lots
wise to keep in mind that many of these simple of space for your
compu ter and other materials, or

152
a workshop/hobby area in an extra bedroom, the o Smoke alarm system.
attic, or the basement. o Light sensor(s).
o Lawn (moisture) sensor.
Make Adjustments for Computer Home Control o Flood sensor(s).
When planning your house, keep in mind that it's
o Temperature sensor(s).
easiest to incorporate signaling and sensing ideas
o Water level sensor.
from the beginning. Although this book has made
extensive use of the X-lO System, any items which A FINAL NOTE
you would prefer to control by a hardwire relay No one can predict exactly in what shape the future
system are easier to install during the original con- will arrive. Technology in the computer field itself
struction. And rather than replacing regular wall is wide open and changing so rapidly that even the
switches and wall outlets, shouldn't X-IO switches experts can't keep up. Home Control is still in its
and outlets be part of the original scheme? Actual- infancy and subject to enormous advances. In-
ly, if you have your Home Control plans well novative as some of the concepts in this book may
designed before construction begins, the builders seem, new and exciting developments are always
can install most or all of the peripheral Home Con- on the horizon. However, the basic cost savings,
trol equipment for you. safety, and convenience applications described in
Be sure to include any potential sensor wiring this book can be yours today and for years to come.
details in your discussions with your builder or ar- Hopefully, this book and your Commodore 64 will
chitect. The base wiring should terminate in a box inspire you to take advantage of a truly exciting
located at the computer's intended location and can way to improve your life today with tomorrow's
be used for the following: technology.
For those of you who wish additional informa-
o Burglar alarm system. tion, check the Optional Reading appendix.

153
Appendix A
Home Control
Product Directory
SENSOR INTERFACE AND SIGNALING DEVICES (combined)

Waldo For Apple II computers, a voice recognition (controlled) X-lO


Artra Home Control system which also contains stereo sound generators
P.O. Box 653 and an amplifier. Waldo starts with software and manuals for $599.
Arlington, VA 22216 Two types <Df synthesized voices are available - each at $199; and
703-527 -0455 the X-10 capability can be expanded to control 256 X-10 Modules
(basic unit controls 16 Modules). Waldo is also available for the
Base Price = 599.00 Heath/Zenith H/Z-89 computer.

Autocrat System attaches to most any computer via an RS-232 port and
Bi-Comm Systems provides X·10 Control as well as sensing capabilities. After being
2963 Yorkton Boulevard programmed by computer, this system can operate on its own. Can
St. Paul, MN 55117 be linked to modem for over phone line operation. Instructions and
612-481-0775 software included.

HomeBrain HomeBrain is one of the most sophisticated Home Control


HyperTek Inc. systems and includes 16 digital and 16 analog sensor ports, 8 relays
P.O. Box 137, Route 22 East and a 256 item X-10 Control capability. System includes an exten-
Salem Industrial Park sive battery back-up able to work a burglar and fire alarm system
Whitehouse, NJ 08888 for up to three hours during a power outage. Retains memory
201-534-9700 without power for one month. Has its own separate microprocessor
and can work by itself after it has received programming. Exten-
Base Price 1499.00 sive documentation and software for many computers. The stan-

154
dard software package features energy management, security, and
fire safety capabilities, as well as season and vacation modes.

Home Security System Using a Commodore 64 or VIC 20 in conjunction with the Home
Jance Associates Security System, can provide a complete burglar alarm system (in-
P.O. Box 234 cluding a Vic 20 computer) for about $300. The system is also set
East Texas, PA 18046 up to interface with the X-10 Burglar Controller. The Home Securi-
215-398-0434 ty System includes software (disk or cassette), input/output
(sensor/control) interface cartridge, an alarm, wire, magnetic swit-
Base Price = 195.00 ches, warning beepers, independent power supply (for alarms),
panic button, and a de-activate button. IBM PC model available
soon for $399.

,,,l,,,,,,j , j , , I, J

Fig. A-1. The EYE being inserted into an APPLE II computer (courtesy Lehigh Valley Computer Corporation).

155
The Eye The Eye is available for Apple II and Commodore computers
Lehigh Valley Computer Corp. and includes a clock, a battery back-up, a small alarm, three digital
523 S. Clewell Street input terminals, the ability to control X-I0 Modules, software on
Bethlehem, PA 18015 disk, 4 magnetic switches and a 30 page manual. Also available
215-868-1303 are extra magnetic switches ($3.50), X-I0 Modules ($18.95), win-
dow bug ($10.75), Temp/Fire detector ($12.95), Siren including
Base Price = 249.95 X-I0 switch ($69.45), Switch Mat ($39.95), Ultrasonic Motion
Detector ($162.50), and an electronic Dialer ($199). Refer to Fig.
A-I.

ADC-1 RS-232 port compatible Home Control unit with 4 digital and
Remote Measurement Systems 16 analog sensor ports for sensing light, temperature, humidity,
POB 15544 etc. X-10 Control as well as 6 hardwired circuits provided. User
Seattle, WA 98115 manual provides descriptions of BASIC programs necessary to
206-525-3369 operate ADC-I. Software for many computers is available. Refer
to Fig. A-2 . Sensors include:
Base Price = 369.00
Temperature $ 7
Light $ 6
Wind Speed, Direction $45, $80
Soil Moisture $56
Relative Humidity $60
Elec. Energy Consump $75

SIGNALING DEVICES

Automatic Telephone Dialer The Auto Telephone Dialer #612 is specifically made for
Alarm Device Manufacturing Co. burglar and fire alarm system communications. It has two chan-
(ADEMCO) nels (burglary & fire) and operates from a six volt battery. Add-
165 Eileen Way ons availablle for line seizure, trigger delay, and recharger. This
Syosset, NY 11791 company makes many items for burglar and fire alarm systems that
800-645-7492 can be adapted to Computer Home Control. To find their nearest
distribution center dial 800 ADEMCOI.

HC-1 Home Commander X-10 Controller that has its own microprocessor built in. Once
Automatic Micro, Inc. programmed, will carry out commands separately without tie to
2542 Billingsley Road programming computer. Plugs into serial (RS-232) port and con-
Worthington, OH 43085 trols 256 X-10 Modules separately.
614-766-0670

Base Price 295.00

156
Fig. A-2. ADC-1 (courtesy Remote Measurement Systems, Inc.).

CSI-1200 RS-232 (serial) compatible for home computers to independent-


Circuit Science ly control 256 X-10 Modules. Comes with a 20 page manual that
4 Townsend West explains how to operate by programming the computer using
Suite 3 BASIC commands.
Nashua, NH 08063
603-880-4066

Base Price = 169.00

157
VIControlier X-I0 System Controller designed for the Commodore 64 and
Genesis Computer Corp. VIC 20 Computers.
P.O. Box 1143
Bethlehem, PA 18018
215861 0850

Base Price = $69.95

RS-232 to X-10 Interface X-lO Controller capable of working with any computer that has
Heath Company a serial (RS-232) port. Can control up to 256 X-I0 Modules separate-
Benton Harbor, MI 49022 ly. Heathkit's controller (Cat.#GDI530) can be programmed using
616-982-3285 BASIC and examples of such programs are provided.

Base Price = 129.95

CIM-112 Hardwired controller to be interfaced with either Commodore


Savergy Inc. 64 or VIC 20 computers. Eight hardwire relay circuits. System can
1404 Webster Avenue be connected to house wiring at utility or basement electrical box.
Ft. Collins, CO 80524 Low voltage relay capability is available through the' 'Powerport",
303-221-4200 another product offering for $99. Software for the Powerport is $49.
Refer to Fig. A-3.
Base Price = 479.00

Talking Home Monitor This unit can be used to provide emergency messages over the
Tandy Corporation phone lines and includes its own sensing capabilities. Has automatic
(Radio Shack) dialing capabilities as well as a built-in voice synthesizer. Includes
1 Tandy Center battery back-up that lasts up to fifteen hours.
Fort Worth, TX 76102

Base Price = 199.95

SENSOR INTERFACE AND SENSOR DEVICES

Motion Detectors Various types of motion detectors are available from this com-
Alarm Device Manufacturing Co. pany including ultrasonic, microwave, and passive infrared. This
(ADEMCO) company makes many items for burglar and fire alarm systems that
165 Eileen Way can be adapted to Computer Home Control. To find their nearest
Syosset, NY 11791 distribution center dial 800 ADEMCOl.
800-645-7492

158
Fig. A-3. CIM-112 (courtesy Savergy Inc.).

Smoke and Heat Detectors A wide variety of smoke and heat detectors are available from
Alarm Device Manufacturing Co. ADEMCO. Some detectors are specifically made to be used with
(ADEMCO) "smart" systems and include the ability to (through a relay) send
165 Eileen Way a signal to a remote device. This company makes many items for
Syosset, NY 11791 burglar and fire alarm systems that can be adapted to Computer
800-645-7492 Home Control. To find their nearest distribution center dial 800
ADEMCOl.

159
VI/011 Interface Board General purpose interface board for the Commodore 64 and VIC
FJC Products 20 Computers. Optional relay expansion which includes four relays
P.O. Box 98021 (1 amp at 120 Vac) for $64.95. EPROM Control Software - $29.95.
Pittsburgh, PA 15227
412 884-0290

Base Price = 134.95

COMsense Input device for either Commodore 64 or VIC 20 computers.


Genesis Computer Corp Provides four digital and two analog inputs.
P.O. Box 1143
Bethlehem, PA 18018
2158610850

Base Price = 49.95

6522 VIA General purpose input/output board using 6522 chip. Includes
Schnedler Systems application notes and programming examples.
1501 N. Ivanhoe, Dept R-7
Arlington, VA 22205
7032374796

Base Price = 149.00

BSR (USA) LTD. X-10 PRODUCT LINE

BSR System X-10 Controller BSR is a producer of a wide assortment of stand-alone


and Modules command controllers and modules. Refer to Fig. A-4.
BSR (USA) Ltd. Telephone Responder/Controller Set. Can control X-I0
Route 303 Modules from any phone ($149.99).
Blauvelt, NY 10913 Timer Console. Automatically controls X-I0 Modules with
914-358-6060 a twenty-four hour clock and features a battery backup ($89.99).
Ultrasonic Command Module. For instant control of 16
X-I0 Modules ($49.99).
Ultrasonic Cordless Controller. Used in conjunction with
Ultrasonic Command Module for wireless control of X-I0 Modules
($24.99).
Mini Controller. For instant control of 4 X-I0 Modules
($29.99).
Burglar Alarm Interface/Controller. Connects to security
system to turn on or flash lights if security system senses intruder.
Can also activate one Appliance Module ($49.99).
Thermostat Controller Sets. Use X-I0 System for control
of heating and/or cooling system ($79.99 with Appliance module,
or $59.99 without module).

160
---.--
.- ...
.. }.
..........

T

I •
~t
~ I .~
I I
III •
IS • IIII
I I

, IIII II
II
I II
II' I
III .''
IIII

161
X-IO Modules. BSR modules are available at AT&T Phone
Centers, Sears, Radio Shack, and many other stores nationwide.
Many of their products are also sold in sets.

Lamp $22.50
3 Prong Appliance 22.50
2 Prong Appliance 22.50
Wall Switch Module 22.50
(push button control)
Wall Switch Module 16.99
3 Way Wall Switch Set 29.99
Wall Outlet Module 29.99
Heavy Duty 220 Volt Modules
15 Amp 44.99
20 Amp 49.99

New Product. BSR now has a computer interface for Radio


Shack and (in the near future) other computers. The Radio Shack
Color Computer version can control 256 X-I0 Modules, contains
its own separate microprocessor and clock (and once programmed
can be detached from computer). It uses color graphics and a
joystick to aid programming, has a 100 hour battery backup, and
has push-buttons for manual control of X-I0 Modules when the con-
troller is not connected to your computer.

VOICE PRODUCTS

Software Automatic Mouth Atari and Commodore models sell for $59.95. Apple II and III
Don't Ask Computer Software models sell for $124.95. Supplied with a 10,000 word dictionary
2265 Westwood Blvd. of English to phonetic spellings. Software Automatic Mouth (SAM)
Los Angeles, CA 90064 can talk from either English or phonetic spellings.
213-477-4514

Voice Master Records your voice digitally on Commodore 64 orVIC 20.Using


Covox Inc. digitized natural voice, can become part of your BASIC program.
675-D Conger St. Software for word recognition promised soon.
Eugene, OR 97402
503-342-1271

Base Price 89.95

162
COMvolce Voice synthesizer designed for the Commodore 64.
Genesis Computer Corp
P.O. Box 1143
Bethlehem, PA 18018
215861 0850

Base Price = 99.95

Intex-Talker Stand-alone device that plugs into serial port or a 34-pin Cen-
Intex Micro Systems tronics type plug. Uses a set of English phonetic rules. Works with
725 S. Adams Rd. most computer brands.
Birmingham, MI 48011
313-540-7601

Base Price = 295.00

JE520CM Voice Synthesizer Realistic and natural male voice. Includes built in speaker,
Jameco Electronics amplifier, volume control, and audio jack. Plug-in ready with
1355 Shoreway Road documentation and sample software.
Belmont, CA 94002
415-592-8097

Base Price = 114.95

Mimic Speech Processor The Mimic Speech Processor can be linked to any computer
Mimic, Inc. with a parallel port. The product works by digitizing speech which
P.O. Box 921 can later be played back according to software control. Complete
Acton, MA 01720 systems for many computers sell at less than $200.
617-263-2101

Echo II and GP The Echo II voice synthesizer for the Apple II sells for $149.95.
Street Electronics The Echo GP for computers with a serial (RS-232) Port sells for
1140 Mark Avenue $299.95. The Echo II comes as a plug-in card and includes soft-
Carpinteria, CA 93013 ware and documentation. Echo GP also comes with documentation,
805-684-4593 and remains outside the computer as a stand-alone peripheral.

Voice Box Works with ATARI 400 and 800 computers, $169; with Ap-
The Alien Group ple II computers, $215; and with Commodore VIC 20, $95. Uses
27 West 23rd Street the serial (RS-232) port.
New York, NY 10010
212-741-1770

163
Personal Speech System Uses synthesis-by-rule and can be linked to any personal com-
Votrax puter with either a serial port or a Centronics-type parallel port.
500 Stephenson Highway
Troy, MI 48084
800-521-1350

Base Price = 395.00

Type-N-Talk Will work with most computers that have an RS-232 port. Unit
Votrax can voice any text typed into the memory of the computer.
500 Stephenson Highway
Troy, MI 48084
800-521-1350

Base Price = 249.00

ROBOTS

TOPO, FRED, and BOB TOPO is a robot that has a radio link for communicating to its
Androbot, Inc. host computer. Currently, interfaces and software are available for
101 E. Daggett Drive linkage to an Apple, Commodore, or IBM PC. Includes voice syn-
San Jose, CA 95134 thesis and motorized base among its many features. TOPO's base
408-262-8676 price is $1595. Little brother FRED (Friendly Robotic Education
Device) will be able to walk, talk, and be controlled by a hand-held
remote device. BOB, on the other hand, will sell for about $4500
and will include an 8088 microprocessor.

Hero 1 Hero 1 costs $1500 in kit form ($2500 assembled). Uses an on-
Heath Company board 6808 microprocessor that interfaces with all sensors, ex-
Dept. 529-138 perimental circuit board, drive motors, and real-time clock. Hero
Benton Harbor, MI 49022 1 is 201/ tall and weights 39 lbs. Robot can detect sound, light, ob-
616-982-3285 jects and motion, and has synthesized phoneme-based speech.
Comes with useable arm and gripper. A scaled down version of
Base Price = 1500.00 Hero 1 called Hero Jr. is available for $500 (kit) and $1000 (assembl-
ed). Education courses available.

Smart Rabbit Twenty two inch tall robot with motorized movement. Can be
Hobby Robot Co., Inc. controlled with various brands of Computers. Upgrades available
P.O. Box 887 include moving head and arms (with grippers), and an electronic
Hazlehurst, GA 31539 expansion bus. Base price starts around $400.
912-375-7821

164
Hubot A walking, talking robot that includes a sonar collar to help
Hubotics Inc. Hubot avoid obstacles. Has a tray to serve drinks, and a working
6352-D Corte Del Abeto 12" TV screen that seconds as a monitor. Includes a 64 key com-
Carlsbad, CA 92008 puter with 128K and CPM 2.2. Interface included for expandabili-
619-438-9028 ty, and disk drive built in. Can play AT ARI 2600 games and has
an AMIFM stereo cassette tape deck with graphic equalizer. Hubot
Base Price = 3495.00 is 44" high and weights 100 lbs. Works on 12 volt, 50 amp
rechargeable battery. Attachments promised soon.

RB5X The RB5X Robot includes the ability to locate its charger when
RB Robot Corp. its batteries become low. Base price starts about the $2000 range,
18301 West 10th Street and many add-ons are available. RB5X walks, talks, is capable of
Suite 310 playing games, and should have a vacuum attachment soon.
Golden, CO 80401
303-279-5525

Scorpion Robot that includes a microprocessor, an RS-232 interface (so


Rhino Robots that most any computer can link with Scorpion), a motorized base,
P.O. Box 4010 sound generator, electronic eye and bumper sensors. Other more
2505 S. Neil St. sophisticated robots are available in either kit or assembled units
St. Champaign, IL 61820 from this company. The base price of Scorpion - about $700.
217 -352-8485

MISCELLANEOUS PRODUCTS

ADT -Safewatch Various central station home security systems which can be
linked to an ADT central monitoring station. Systems can include
ADT Security Systems
smoke detection, and medical emergency capabilities. Modular
One World Trade Center
design which can be tailored to customer's needs.
New York, NY 10048
212-558-11 00

Base Price = 995.00

Protect Center - Wireless sensor system (RF detection transmitters) which pro-
Mod #9000 vide protection against burglar, fire, flood, medical emergencies,
Anova Electronics and utility failure. Includes battery backup. Also available are
Three Waters Park Drive DoorlWindow Intrusion Transmitters ($39.95), Personal Emergen-
San Mateo, CA 94403 cy Transmitter ($49.95), Alarm Module with three distinct alarms
415-572-9686 ($49.95), Wired Auxiliary Siren ($39.95), and a Telephone Dialer
Interface for use with the Telephone Center Mod #7000 ($39.95).
Base Price = 299.95

165
Control Center - Timed control of up to 16 lights and appliances. Includes a bat-
Mod #8000 tery backup which maintains its schedule in the event of a power
Anova Electronics failure. Also available are Lamp, Appliance, and Wall Switch
Three Waters Park Drive Modules at $29.95 each. System may be used in conjunction with
San Mateo, CA 94403 the Protection Center Mod #9000, noted prior.
415-572-9686

Base Price = 199.95

Telephone Center Advanced automatic telephone answering system, dialer, and


Mod #7000 speaker phone. A Remote Control Beeper is available for $29.95
Anova Electronics for message playback from any telephone. System may be used
Three Waters Park Drive in conjunction with the Protection Center Mod #9000, above.
San Mateo, CA 94403
415-572-9686

Base Price = 399.95

Remote AN Systems Firm sells high quality, high tech complete home audio/video
Audio Command Systems systems which can be controlled using remote control panels located
46 Merrick Road anywhere in the house. ACS handles everything from design to
Rockville Cntr., NY 11570 installation.
516-766-2627

ECM-1S00 A powerful X-IO Controller system that allows individual con-


Ellsworth Chow & Murphy trol of up to 256 X-IO Modules. Offers seven-day programmability
1748 Hamilton Avenue and recalls item status. Optional extended battery available. Refer
Palo Alto, CA 94303 to Fig. A-5.
415-326-8575

Base Price = 1850.00

~
I

I I

Fig. A-5. ECM-1500 (courtesy Ellsworth Chow & Murphy).

166
RF-2200 Surveillance System Package includes video camera, mounting bracket, power mod-
GBC Closed Circuit TV Corp. ule' RF switch,and a 50 foot cord to plug into regularTV. Add-
315 Hudson Street ons available including different lenses and a housing for protec-
New York, NY 10013 tion outdoors.
800-221-2240

Base Price = 299.50

HomeMlnder HomeMinder is an X-10 controller for the operation of lights,


General Electric appliances, heating and cooling. A hand-held remote control unit,
Video Products Division similar to an ordinary TV remote controller, is used to operate the
Portsmouth, VA 23705 system. Graphic displays generated on the TV screen lead the
homeowner through step-by-step operating instructions.
HomeMinder is available in two versions: a free-standing unit
(see Fig. A-6) that connects to the back of any TV set, and as a
feature built into a 25-in. GE component television.
The HomeMinder system works through existing house wir-
ing and GE offers a number of the X-10 Modules, as shown in Fig.
A-7, retitled as the "LampMinder", "ApplianceMinder", etc.
GE system provides extremely simple process of setting up con-
trols by displaying pictures and instructions using menus or sim-
ple phrases such as "What do you want to turn on?" and "Where
is it?" System can be programmed for things to happen at a pre-
set time, daily, weekdays only, weekends, or just on specific days.
A "Help" button is provided, if the user becomes confused. If
pressed, the needed information will appear on the TV screen.
Figure A-8 shows some of the screens used by the program to
simplify scheduling.
The HomeMinder features a memo pad functions which allows
the user to input appointments and dates. With the press of a but-
ton the screen will read: "What do you want to remember?" and
display a list of options such as birthday, anniversary or doctor's

Fig. A-S. HomeMinder pictured with remote controller (courtesy General Electric, Video Products Div.).

167
Fig. A-7. HomeMinder Modules (courtesy General Electric, Video Products Div.).

appointment. After one is selected, the screen will instruct the user
to provide the correct date and time. HomeMinder will then recall
the memo and alert the user to review the memo pad display on
the day of the event.
HomeMinder can be reached from virtually anywhere across
the country by using a touch-tone phone. The system will "answer"
after seven to ten rings and respond to "commands", or numbers
pressed on the phone. Two separate messages can also be left at
the touch of a button: "I can be reached at (telephone number)"
or "I will be home at (time)." A pre-determined "password number"
prevents unauthorized entry into the system.
HomeMinder can be reached from a rotary dial phone using
a tone generator, available at phone supply stores, to duplicate the
touch-tone signals.
As with other GE consumer products, HomeMinder is sup-
ported by General Electric's national toll-free information service.
Consumers can call 800-626-2000, to locate their nearest dealer or
receive assistance with product use and service.
GE experimenting with HomeNet which is reported to allow
microcomputer-based General Electric appliances to communicate
with each other through normal house wiring. A "smart" televi-
sion set, again, may act as the controller.

168
:>
is
!!l
u
:::J
"'0
0
!t
0
(I)
"'0
:>
.g
0(I)
iii

(I)
c:
(I)
(!)
:>.
en
(I)
t::
:::J
0
~
en
c:
(I)
~

-
U
%
en
~

CD
"'0
C
~
(I)
E
0
I
(I)
Ci
E
<0
en
cO
c:(
OJ
u:::

169
COMclocklAuto boot Cartridge for Commodore 64 featuring clock/calendar with bat-
Genesis Computer Corp. tery back-up and auto-start software in ROM.
P.O. Box 1143
Bethlehem, PA 18018
215-861-0850

Base Price = 69.95

WV-80/KTV Panasonics WV-80/KTV includes two cameras, two sets of


Panasonic mounting brackets, and a video monitor. System has built in se-
quential camera switching. Ports are available for intercom, VCR,
Base Price = 995.00 or an alarm sensor.

IT-25U CCTV The Sharp Electronics outfit comes with mini-camera, lens and
Sharp Electronics mounting bracket, a nine inch monitor, 33 feet of cable and includes
a two way intercom system. Add-ons available.
Base Price = 525.00

Energy Control System (ECS) Use of ECS can dial from any touch-tone phone (from
Technicon International anywhere) to control up to 8 X-10 Modules.
23 Old Kings Highway So.
Darien, CT 06820
202-655-1299

Base Price = 190.00

RS-232 INTERFACES FOR Base Price = 39.95 from all three companies.
COMMODORE 64 and VIC 20
J ameco Electronics
1355 Shoreway Road
Belmont, CA 94002
415-592-8097

MFJ Enterprises Incorporated


921 Louisville Road
Starkville, MS 39759
601-323-5869

Omnitronix
P.O. Box 12309
Seattle, WA 98111

170
Appendix B
Other Methods for Controlling
Central Heating and Cooling
This appendix is a bit more technical than the The idea is really quite simple. One thermostat
chapters in this book and, depending on the equip- is set at a lower temperature (such as 60 degrees)
ment you buy, may require some soldering. and another is set at a higher temperature (possibly
However, it does provide an alternative method for 70 degrees). The computer, by using a simple relay
the control of both central heating and cooling (controlled by one of the X-10 Appliance Modules)
systems, and does so in a slightly more precise way controls which thermostat in tum controls the fur-
than explained in Chapter 7. It is suggested that nace. As shown in Fig. B-1, the X-IO Module and
before trying this method, you thoroughly read relay control which electrical loop controls the fur-
Chapter 7 if you have not already done so. Then nace. The benefit of this simple system is that one
after reading this appendix, decide whether there thermostat or the other is always in control.
are any real advantages for you to proceed "the Therefore, even if the computer fails. no major
hard way"! problem is created in terms of heating the house.
If your furnace is the type that shuts off when
HOW DOES IT WORK? the power in your house fails, this method will not
keep it running. However, your furnace will func-
Chapter 7 gave an explanation of how a furnace (or
tion as it always has once your power returns by
central air conditioner) and thermostat work to con-
either manually being reset or resetting itself.
trol your home heating (and cooling) needs. The
thermostat, by sensing temperature, either swit-
WHAT MUST I BUY?
ches on or off thus allowing the loop of electrical
current to start or stop the furnace. This same Take a look at a couple of things about your fur-
method is the one used here. However, this method nace. What voltage is sent through the present ther-
uses two loops and two thermostats instead of one. mostat? This can be found by looking at the

171
High
(70°)

Furnace

011
,
X-10
Controller

Fig. 8-1. Relay control of two thermostats. One or the other thermostat is always in control of the furnace.

Transformer
Label
\
Ratings:
- ~--

'-L-_ _....J~

Fig. 8-2. Check power supply (voltage reducer) which runs through your present thermostat.

172
transformer as shown in Fig. B-2. If the rating is The thermostats can be purchased at many
between 24 and 30 volts, the thermostat described home maintenance or hardware stores, and all other
in this appendix will work. (This equipment will equipment is available at Radio Shack or other elec-
work with most heating systems-even those where tronics stores.
the thermostat controls central air conditioning.) If
the rating is beyond this maximum or minimum, WHAT MUST I DO?
then check with your local heating supply store and
The first thing to do is re-check to make sure that
request an alternative thermostat.
all your equipment matches your system. Be sure
A second question is how many heat zones do
to check the voltage rating on the power source to
you have? If you have more than one and you wish
your current thermostat against that of your new
to be able to control all of them, then you will need
thermostats. Read through the manufacturer's
one of the following sets for each heat zone.
directions before proceeding, and follow their direc-
Note: It is likely that you can use your current
tions. Also check the location of your existing ther-
thermostat as one of the two needed.
mostat. The location should be about 5 feet above
the floor in an area with good circulation at average
Parts List temperature. The thermostat should not be located
The following parts are needed to complete this where it may be affected by drafts, hot or cold air
project: from ducts, or radiant heat from the sun or ap-
pliances. If your current thermostat appears to be
o Two Honeywell #T87F thermostats. in a bad location, you should consider relocating it.
Rating: 24-30 volts. Figure B-3 shows the installation using an ad-
o One relay. Radio Shack carries a wide jacent power source, which is the most convenient.
variety of relays such as a 120 volt ac relay # The second diagram shows a remote (basement)
275-217 ($5.49); or for low voltage operation, a 12 location which may prove to be more aesthetically
volt dc relay #275-218 (also $5.49). Low voltage pleasing.
relays will require a voltage reducer (many sold at The next step in the installation process is to
Radio Shack). disconnect the power supply before removing
DOne X-10 Appliance Module the old thermostat and installing the two new ther-

Relay

~=----+-Thermostats-+-if-~()

X-10 Module I----It---++--",....:::::::::::::r- Re lay

J~-t-X-10
'--"---'-_ _ _ _ _- J Module
Adjacent Remote

Fig. 8-3. Adjacent or remote installation.

173
Thermostats
,L

Furnace

< Relay

~ Voltage Reducer
........- - - - '
(May be necessary depending on particular relay).
Fig. 8-4. Wiring diagram. May differ depending on your particular thermostat system, but the theory is the same.

mostats. This serves two purposes: avoiding shock same relay.


and preventing the equipment from being dam- Once the thermostats and relay (and voltage
aged. After disconnecting the power supply, reducer, if appropriate) have been wired and
remove the old thermostat. Follow the wiring mounted, adjust the X-IO Appliance Module's
diagram in Fig. B-4 in conjunction with your ther- HOUSE and UNIT CODES to an appropriate set-
mostat manufacturer's instructions. The only dif- ting as described in Chapter 6. After checking all
ference between the diagram and the manufac- wiring, connect the relay (or voltage reducer) to the
turer's instructions are the leads that go to the relay X-IO Module and, in turn, the X-IO Module into a
to control one or the other thermostat. (Some ther- wall outlet. Set your thermostats, turn on the cur-
mostats have extra wires which are used to power rent, and your heating and/or cooling systems are
a clock, to completely shut-down the furnace, or to ready for computer control! If you have more than
switch from heating to cooling. If your current ther- one heating or air conditioning zone, repeat the in-
mostat has more than two wires, the relay switch structions above for each zone.
should be linked to open and close the circuit on
one of the wires that controls the furnace according HOW LONG WILL IT TAKE?
to your home's temperature (in line with the ther- Once all equipment and tools are ready, the actual
mostat's temperature control switch). Also, if your time needed to do the furnace and/or central air con-
home has central air controlled through the same trol assembly should be roughly a half hour for each
thermostat, an extra controlling wire will be pre- zone. Of course, if rewiring takes place because of
sent. The relays noted before both have more than an inappropriate location of the original thermostat,
one switch included, and this additional air condi- or if wiring needs to be hidden for aesthetic reasons,
tioning wire can be linked and switched using the extra time will be required.

174
Appendix C
Utility Monitoring Program
Once you install a Home Control system in your the volume and costs (as shown in Fig. C-2) for each
home, you may wish to track the volume and costs month in the prior year, and again (by pressing A
of your energy consumption from year to year. The and the ENTER key) for the current year. Once you
following is a menu driven Utility Monitoring Pro- have ENTERed all your information, press F and
gram which was written on the Commodore 64 in the ENTER key to return to the main menu.
BASIC. The program has been written to SAVE From the main menu you can SAVE your in-
or LOAD its data from a cassette and will need ad- formation to a cassette,and/or PRINT your infor-
justments if you are planning to LOAD and SAVE mation to the monitor (a printer can be used if you
from disk. add the OPEN and CLOSE-device #4-ancl add
"# 4" after the PRINT commands). The output from
the program is shown in Fig. C-3. As you can see,
PROGRAM DESCRIPTION the program displays both the prior and the current
Once the program loads, a menu screen is displayed year's volumes and costs and compares the two. If
as shown in Fig. C-1. Press #2, "Edit (Create) In- the prior year's volume or cost for any particular
formation" will prompt you for the name of the utili- month is zero, then that month will not be includ-
ty, the utility type (water, electric, gas, or oil), and ed in the calculations.
request a unit of measurement (i.e., kilowatts hours, With this program you can easily keep tabs on
cubic feet, etc.), and the current year. After you how well your Home Control (and/or other) energy
have ENTERed this information you can ENTER conservation program is paying off.

175
UTILITY MONITORING PROGRAM

1. Clear workspace
2. Edit (create) Information
3. SAVE information
4. LOAD information
5. PRINT information
6. Quit progra.m

ENTER CHOICE:

Fig. C-1. Utility Monitoring Program main menu.

UTILITY MONITORING PROGRAM

INFO FOR 1985

VOLUME COST

JAN 000
FEB 000
MAR 000
APR 000
MAY 000
JUN 000
JUL 000
AUG S 000
SEP $ 000
OCT 000
NOV 000
DEC 000

CHANC;E MONTH? JAN

A ALTERNATE YEAR F . FINISHED

Fig. C-2. Entering volume and cost of monthly energy usage.

176
UTILITY ANALYSIS

COMPANY: NEW YORK UTILITY CO.


TYPE: ELECTRIC/GAS/OILIWATER
MEASURE IN: KWH/CUBIC FEET/GALLONS

VOLUME DECREASE/(INCREASE) BY MONTH

1985 1986 DEC/(INC) %


*********

JAN 1 1 0 0.0
FEB 0 0 0 N/A
MAR 0 0 0 N/A
APR 0 0 0 N/A
MAY 0 0 0 N/A
JUN 0 0 0 N/A
JUL 0 0 0 N/A
AUG 0 0 0 N/A
SEP 0 0 0 N/A
OCT 0 0 0 N/A
NOV 0 0 0 N/A
DEC 0 0 0 N/A

TOT 0 0.0
AVG 0 0.0

COST DECREASE/(INCREASE) BY MONTH

1985 1986 DEC/(INC) %


*********
JAN 1 1 0 0.0
FEB 0 0 0 N/A
MAR 0 0 0 N/A
APR 0 0 0 N/A
MAY 0 0 0 N/A
JUN 0 0 0 N/A
JUL 0 0 0 N/A
AUG 0 0 0 N/A
SEP 0 0 0 N/A
OCT 0 0 0 N/A
NOV 0 0 0 N/A
DEC 0 0 0 N/A

TOT 0 0.0
AVG 0 0.0

Fig. C-3. Program output-comparison of energy usage and costs year-to-year.

177
1000 REM UTILITY MJNiTORING PROGRAM
1010 REM ••.•
1020 PRINT '~":UT$ = " UTILITY MONITORING PROGRAM"
1060 DIM A$( 12),A(24,2)
1070 FOR I = 1 TO 12:READ AS( I) :NEXT I
1080 PRINT UT$:FOR I = I TO 2011)11):ND-:T I
1100 PRINT '~":PRINT UT$:PRINT:PRINT:PRINT' I. CLEAR WORKSPACE":PRINT
1102 PRINT 2. EDIT (CLEAR) INFORWITION':PRINT
1103 PRINT 3. SAVE II'FORWITION":PRINT
1104 PRI~rr 4. LOAD INFORWITION':PRINT
1105 PRINT 5. PRINT INFORMflTION' :PRIt,,,
1106 PRINT 6. QUIT PROGRAM"
1 107 PR I NT: PR I NT " ENTER CHOICE:"
1130 GET O$:IF 0$ ( "I" OR 0$ > '6" THEN 1130
1140 ON VAL(D$) GOTO 2000,3011)11),411)00,5000,6000,7000
2000 REM CLEAR WORKSPACE
20111) PRINT "~" :PRINT:PRINT:PRINT " ARE YOU SURE (Y,N)?"
2020 GET O$'IF 0$ = "" THEN 2020
20311) IF 0$ < > "Y' THEN 1100
2035 COMPANY$ -
2040 FOR 11 = 1 TO 24:FOR 12 o TO 2: A( 11 , 12)
30011) REM EDIT ROUTINE
3010 YA = YR - 1:2=0
30211) IF COMPANY$ < > "" GOTO 3111)11)
3630 PRINT "~":PRINT UT$
3040 PRINT: INPUT 'COMPANY";COMPANY$
311)50 IF COMPANY$ = ." THEN 3030
311)60 PRINT: INPUT "UTIL. TYPE"; KlNO~;
3665 PRINT: INPUT "MEASURED IN"; US$
3067 PRINT: INPUT "CURRENT YEAR";YR: IF YR< 1980 THEN 3067
3068 YA = YR·- I
3070 PRINT:PRINT "ARE ALL ANSWERS CORRECT (Y,N)?"
3080 GET 0$: IF 0$ < )'Y' AND 0$ < >"N" THEN 3080
3090 IF 0$ = UN" THEN COMPANY$ = ." :GOTO 3030
3100 PRINT '~":PRINT UT$:PRINT:PRINT • It-FO FOR ';YA:PRINT
3110 PR I NT " VOLUME COST"
3120 FOR I = I TO 12:PRINT " ";A$( I)J' ";:G =
A( 1+2,J):GOSUB 9000
3122 PRINT G$;
312:5 PRINT" $';:E=I+2:G =
A(E,2):C;OSUB 9000:PRINT G$:NEXT
3130 PRINT: PRINT' A - ALTER~TE: F - FINISHED"
3140 PRINT ' (WHOLE NUI"I3ERS ONLY!)'
3145 PRINT: INPUT • CHANGE MO~ITH';O$
3147 IF 0$ = ••THEN 3100
3150 IF 0$ 'A" AND YA = YR THEN Yfl = YR-l :2=0:GOTO 3100
3155 IF 0$ "A" AND YA =
YR-l THEN YA YR:Z=12:GOTO 3100
3160 IF OS 'F' THEN 1100
3170 IF LEN< 0$»3 THEN 0$ = LEFT$( D~,,3)
3180 FOR 1 = I TO 12: IF OS = AS(I) THEN 3190
3185 NEXT I'GOTO 3100
3190 I I =
lCPRINT '~" :PRINT UTS:PRHITIPRINT
3200 If'l>UT 'VOLUME"JA( Il+2,1):PRINT
3210 INPUT "CHARGES'JA( II+2,2):GOTO 3100
4000 REM SAVE ROUTINE
40121 PRINT '~'IPRINT " SAVE DATA"CPRINT'PRINT
4015 PRINT" MI'IKE SURE DATA CI'lSSETTE IS REI'lOY"CPRINT'PRINT
4020 INPUT 'FILE ~ME"JTYPE$

4030 OPEN 1,1,I,TYPE$'PRINTMI,COMPA~~$:PRINTM1,KIND$:PRINTMI,USS:PRINTM1,YR


4040 FOR 11 = I TO 24:FOR 12 = I TO 2:PRINTMl,A( II,12)'NEXT I2:NEXTII
4050 CLOSE I'GOTO 1100

Fig. C-4. Program listing for the Commodore 64 computer.

178
~000 REM LOAD ROUTINE
~010 PRINT ";J':PRINT • LOAD DATA'IPRINT:PRINT
~01~ PRINT' MAKE SURE DATA CASSETTE IS READY"IPRINTIPRINT
~020 INPUT 'FILE NAME",TYPES
~030 OPEN I, 1,0, TYPESI INPUTltl ,COMPANYSI INPUTIII ,K INDSI INPUT.. I ,USSI I NPUTIII , YR
~040 FOR II" I TO 24:FOR 12 : I TO 21 Ii'PUTIILA( II,I2)INEXT I21NEXT 11
~0~0 CLOSE I:GOTO 1100
6000 REM PRINT ROUTINE
6010 IF COMPANYS " •• THEN 1100
6020 FOR 12 ,. I TO 2:IF 12 ,. 1 THEN CS ,. 'VOLUME'
6022 IF 12 " 2 THEN CS • "COST'
6030 PRINT ';J":PRINT "UTILITY ANALYSIS FOR ',COMPANYS:PRINT KINDS'
6032 PRINT • MEASURED IN ",USS
6040 PRINTIPRINT CS" DECREASE/( INCREASE) 8Y MONTH'IPRINT
60~0 PRINT' ',YR-l'" "'YR" DEC/( INC) X"
6060 PRINT' **** **** ********* **** ••
6070 81=0182=0:83-12
6080 FOR I • 1 TO 12
6090 81=81+A(I,I2):82=82+A(I+12,I2)IIF 1'1(1,12)=0 THEN 83=83-1
609~ IF A( 1,12)=0 THEN 82 - 82-A( 1+12,12)
6100 PRINT AS< I)1:PRINT' "':G=A( I,I2):GOSU8 90001PRINT GS,' .,
610~ GzA( 1+ 12, 12) IGOSU8 9000: PR I NT GS,' • , : 0 I =A( I , 12) -A( 1+ 12 , 12) 113 =0 I
6107 GOSU8 9000:PRINT GS,' "'
6110 IF A( LI2)=1!I THEN PRINT' WA"IGOTO 6120
611~ G=D I/A( 1,12) * 100: GOSU8 9000: PR INT GS
6120 NEXT I:PRINT
6130 PRINT 'TOT ";:G=81IGOSU8 9000:PRINT GS,' ';:G=B2IGOSU89000
613~ PRINT GS;' ';:DI=81-82:G=DI:GOSU8 9000:PRINT GS,' .,
6140 IF 81 z 0 THEN PRINT' WA":GOTO 6170
614~ G=DI/81*100:aOSU8 9000:PRINT as
61~0 PRINT "AVG .; :G=BI/B3:aOSU8 9000:PRINT GS," "; :a=82/83IGOSU8 9000
61~~ PRINT as;' "IDI=(81/B3)-(82/83):a=DI:aOSU8 9000:PRINT as," "'
6160 G=DI/(BI/83).100:aOSU8 90001PRINT GS
6170 81=0182=0:83=12
6180 PRINT' PRESS ANY KEY'
6190 GET DS:IF OS - ." THEN 6190
6200 NEXT I2:GOTD 1100
7000 REM EI'IJ
7010 PRINT ";J':PRINTIPRINT:PRINT " ARE YOU SURE (Y ,N)?"
7020 GET DSIIF DS - •• THEN 7020
7030 IF OS < > 'Y" THEN 1100
7040 EI'IJ
8000 DATA JAN,FE8,MAR,APR,MAY,JUN,JUL,AUG,SEP,OCT,I'IJV,DEC
9000 REM PRINT SET-UP
gell0 G - INT(G)las. STRS<G>:H" LEN<GS>:IF H" 1 THEN GS = • • + as
9020 IF Hz2 THEN as " • + GS
9031!1 IF H-3 THEN GS " • + GS
91!140 IF H-4 THEN GS • " • + GS
90~1!I RETURN

READY.

Fig. C-4. Program listing for the Commodore 64 computer.

179
Appendix D
Optional Reading
For those of you who wish to build your own Home will offer a number of books on interfacing. If you
Control system, the following three part (3 month) wish to understand the electronics between your
article is a step-by-step guide and includes explana- computer and Home Control or other peripherals,
tions of both hardware and software. Some ex- these types of books have a wealth of technical in-
perience is assumed in terms of your electronic formation. TAB recommends the books listed here.
project building capability! This Home Control
Computer is programmed through the serial Carr, Joseph]. Interfacing Your Microcomputer to
(RS-232) port of a regular computer, and once it has Virtually Anything. Blue Ridge Summit, P A:
received its instructions, it can operate on its own. TAB BOOKS, Inc., 1984.
It includes sensing capabilities and an X-10 Con- Cunningham, John E., and Horn, Delton T. Hand-
troller among its features, and all parts (as a kit or book of Remote Control and Automation Tech-
assembled) are available through Vesta niques 2nd Edition. Blue Ridge Summit, PA:
Technology, Inc., 2849 W. 35th Ave., Denver, CO TAB BOOKS, 1984.
80211. Leibson, Steve. The Handbook of Microcomputer In-
terfacing. Blue Ridge Summit, PA: TAB
Sarns, Steven E. "Home Control Computer," Radio
BOOKS Inc., 1983.
Electronics, Vol. 55, No. 4-6 (April, May, June,
Wolfe, Gordon W. Computer Peripherals that You
1984).
Can Build. Blue Ridge Summit, PA: TAB
Most book stores that carry computer books BOOKS, 1982.

180
Index
A Automatic Micro, Inc., 156 Commodore, 156
ADC-1, 156 Automatic Telephone Dialer, 156 Commodore 64, 1, 6, 9, 155, 158,
ADEMCO, 75, 82, 96, 156, 158 AVS-1500, 99 160, 162, 170
ADT Security Systems Inc., 165 Commodore computers, 163, 164
ADT-Safewatch, 165 B Computer actions, 8
Air conditioners and heaters, room, Backup, battery, 110, 113 Computer area, 152
21 Backup, data, 110 Computer communications, equip-
Air conditioners, room, 44 BASIC, 11, 35 ment for, 79
Air conditioning, 2 Battery backup, 110, 113 Computer communications features,
AM/FM tuner and amplifier control, BiComm Systems, 154 83
98 BOB, 164 Computer control of a video disc
Analog information, 10 Boulten Music Systems, 98 player, 104
Androbot, 149, 164 BSR (USA) Ltd., 160 Computer control of an audiolvideo
Anova,41 BSR System X-10 Controller, 160 component, 103
Anova Control Center, 42, 165 BSR X-10 product line, 33, 161 Computer control of remote
Anova Electronics, 34, 165, 166 Burglar alarm system, 63 speakers, 102
Anova Protection Center, 42, 165 Burglar alarm system, designing a, Computer decisions, 8
ANOVA Telephone Center, 43,165 65 Computer furnace control, an alter-
Apple II, 149, 154, 156, 162, 163, Burglar alarm system, installation of, nate method of, 171
164 68 Computer home control com-
Apple III, 162 Burglar protection, 3 ponents, 10
Appliances, 44 Computer home control design, 114
Artra, 149, 154 C Computer home control of media
AT&T Phone Stores, 48, 162 Cadmium-sulfide cell, 85 room, 102
Atari Computers, 162, 163 Cassette recorder, 99 Computer home control product
Attic fan, 84 CIM-112,158 availability, 13
Attic fans, 21 Circuit Science, 157 Computer home control software, 11
Audiolvideo control, 98 Clock, hardware, 8, 170 Computer home control, benefits of,
Autocrat, 154 COMclocklAutoboot, 170 1

181
Computer home control, case study, Furnace control, improper, 50 M
112 Furnace control, proper, 51 Master System, 34, 41
Computer home control, conve- Media room, 98
nience of, 4 G Media room tips, 105
Computer home control, integrated Garden and lawn watering, 90 Media room, dimensions of, 106
approach to, 108 GBC Closed Circuit TV Corp., 167 MFJ Enterprises Inc., 170
Computer home control, safety General Electric, 167 Mimic, Inc., 163
precautions with, 4, 5 Genesis Computer Corp., 158, 160, Mimics Speech Processor, 163
Computer home control, saving 163, 170 Modem, 36
money with, 2, 19, 49, 119 Greenhouse control, 84 Motion detectors, 158
Computer home control, the theory
of,6 H N
Computer home control system, Network programming module, 137
H/Z-89, 154
designing a, 25
Hardware clock, 8, 170
Computer home control system, in- HC1 Home Commander, 156 o
stallation of, 123 Heat detectors, 74 Omnitronix, 170
Computer sensing of time, 8 Heater, local, 52
Computer sensors, 7 p
Heaters and air conditioners, room,
Computer uses, 1 21 Panasonic, 170
Computer, home, 1 Heaters, room, 44 Personal Speech System, 165
COMsense, 160 Heath Company, 158, 164 Product overview, 31
COMvoice, 163 Heathkit, 34 Programming, 40
Control device, 9 Heathkit X-10 controller, 35
Cooling and heating, central, 17,49 Heating and cooling, central, 17,49 R
Covox, Inc., 162 Heating system, 2 Radio Shack, 47, 85, 158, 162
Create, 138 Hero 1, 149, 1164 RB Robot Corp., 165
CSI-1200, 157 Hobby Robot Inc., 164 RB5X, 165
Home Security System, 34, 36, 155 RCA, 99, 102
o HomeBrain, 34, 35, 38, 113, 154 Relays, 12, 39, 102
Data backup, 110 HomeBrain immediate mode, 137 Remote controlled products, 165
Digital information, 10 HomeMinder, 167 Remote Measurement Systems, 156
Dimensia, 99, 101 Hot water control, installation of, 59 RF-2200 Surveillance System, 167
Display, 138 Hot water heater, 2 Rhino Robots, 165
Don't Ask Computer Software, 162 Hot water heater, electric, 21, 57 Robots, 33, 149, 164
Hot water heater, gas, 21,119 RS-232 Interfaces for Commodore
E Hot water usage, 57 64 and VIC-20, 170
Echo II/GP, 163 House code, 47 RS-232-to-BSR X-10 interface, 35
ECM-1500, 165 House of the Future, 152
Ellsworth Chow & Murphy, 165 Hubot, 164 S
Energy Control System, 170 Hubotics Inc., 164 Savergy Inc., 158
Energy costs, 14 HyperTek, 11:3, 154 Schnedler Systems, 160
Energy management, 143 Scorpion, 165
Sears, 48, 162
F Security, 142
IBM PC, 164
Rnances, figuring the, 16 Security checklist, home, 64
Intex Micro Systems, 163
Fire alarm system, 73 Security system, 119
Fire alarm system, installation of a, Intex-Talker, 163
Sensor interface, 11
76 IT-25U CCTV, 170
Sensor interface and sensor
Fire prevention guidelines, 73 devices, 32, 158
Fire protection, 3, 4 J Sensor interface and signaling
Fire safety, 141 Jameco Electronics, 163, 170 devices, 31, 154
FJC Products, 160 Jance Associates, 34, 36, 155 Sensor suggestions, 27
Flood control, installation of base- JE520CM Voice Synthesizer, 163 Sensor, moisture, 8, 90, 93
ment,61 Jensen, 102 Sensor, motion, 7
Flood damage, basement, 3 Jenson, 99 Sensor, smoke, 8
Flood prevention, basement, 3 Sensor, sound, 7
Flood sensing, basement, 60 L Sensor, water, 61
FRED,164 Lawn and garden watering, 90 Sensor, water level, 96
Fuel savings for cooling, 20 Lehigh Valley Computer Corp., 156 Sensors, 8, 10
Fuel savings for heating, 20 Lighting Control, 144 Sensors for home security, 68
Furnace, 50 Lights, 44 Sensors, heat, 8, 75, 76

182
Sensors, installation of, 86, 89 TV control, 98 Votrax, 164, 165
Sensors, light, 7, 8 Type-N·Talk, 164
U W
T Unit code, 48 Waldo, 149, 154
The Eye, 156 Utility monitoring program, 175, 178 Wall switch modules, 48
Thermistor, 50, 86 Water valve, electric, 90, 92
Thermistor, calibration of, 88 V Watering system, installation of, 93
Thermometer, outdoor, 86 Vacation mode, 145 WV-80/KTV, 170
Thermostat, 50 VCR,102
Thermostat control, installation of, VI/011 Interface Board, 160 X
54, 55 VIC-20, 36, 155, 158, 160, 162, 163, X-10 control system, 11, 153
Thermostat setback controller, 53 170 X-10 controller, 39, 90
Toolkit, 123 VIController, 158 X-10 controllers, 31, 45
TOPO, 149, 164 Voice Box, 163 X-10 modules, 12,45,95
Transducers, 85 Voice Master, 162 X-10 Product Line, 160
TRS·SO Color Computer, 160, 162 Voice products, 33, 162 X-10-to-RS-232 interface, 34, 158
Turntable, audio, 99 Voice synthesizer, 147 Xanda, 152

Edited by Brint Rutherford 183


OTHER POPULAR TAB BOOKS OF INTEREST
The Computer Era-1985 Calendar Robotics and Artifi- Programming with dBASE IJ® (No. 1776-$16.50 paper;
cial Intelligence (No. 8031-$6.95) $26.95 hard)
Making CP/M-80® Work for You (No. 1764-$9.25 paper; Lotus 1-2-3™ Simplified (No. 1748-$10.25 paper;
$16.95 hard) $15.95 hard)
Going On-line with Your Micro (No. 1746-$12.50 paper; Mastering Multiplan® (No. 1743-$11.50 paper; $16.95
$17.95 hard) hard)
The Master Handbook of High-Level Microcomputer Lan- How to Document Your Software (No. 1724-$13.50
guages (No. 1733-$15.50 paper; $21.95 hard) paper; $19.95 hard)
Getting the Most from Your Pocket Computer (No Scuttle the Computer Pirates: Software Protection
1723-$10.25 paper; $14.95 hard) Schemes (No. 1718-$15.50 paper; $21.95 hard)
Using and Programming the Commodore 64, including Using and Programming the VIC-20®, including Ready-
Ready-to-Run Programs (No. 1712-$9.25 paper; to-Run Programs (No. 1702-$10.25 paper; $15.95
$13.95 hard) hard)
Computer Programs for the Kitchen (No. 1707-$13.50 MicroProgrammer's Market 1984 (No. 1700-$13.50
paper; $18.95 hard) paper; $18.95 hard)
Beginner's Guide to Microprocessors-2nd Edition (No. PayCalc: How to Create Customized Payroll Spread-
1695-$9.25 paper; $14.95 hard) sheets (No. 1694-$15.50 paper; $19.95 hard)
The First Primer of Microcomputer Telecommunications Commodore 64 Graphics and Sound Programming (No.
(No. 1688-$10.25 paper; $14.95 hard) 1640-$15.50 paper; $21.95 hard)
How to Create Your Own Computer Bulletin Board (No Does Your Small Business Need a Computer? (No.
1633-$12.50 paper; $19.95 hard) 1624-$18.95 hard)
Microcomputers for Lawyers (No. 1614-$14.50 paper: Computer Companion for the VIC-20® (No. 1613-$10.25
$19.95 hard) pa per)
Mastering the VIC-20 (No. 1612-$10.25 paper; $15.95 Forecasting On Your Microcomputer (No. 1607-$15.50
hard) paper; $21.95 hard)
BASIC Computer Simulation (No. 1585-$15.50 paper; Database Manager in MICROSOFT® BASIC (No. 1567-
$21.95 hard) $12.50 paper; $18.95 hard)
Solving Math Problems in BASIC (No. 1564-$15.50 Troubleshooting and Repairing Personal Computers (No.
paper; $21.95 hard) 1539-$14.50 paper; $19.95 hard)
Learning Simulation Techniques on a MicrocomputEir 25 Graphics Programs in MICROSOFT® BASIC (No.
Playing Blackjack and Other Monte Carlo Games (No. 1533-$11.50 paper; $17.95 hard)
1535-$10.95 paper; $16.95 hard) Making Money with Your Microcomputer (No. 1506-
Basic BASIC-English Dictionary for the Apple 1M, PET® and $8.25 paper; $13.95 hard)
TRS-80™ (No. 1521-$17.95 hard) C-BIMS: Cassette-Based Information Management Sys-
The Handbook of Microprocessor Interfacing (No tem for the PET® (No. 1489-$10.95 paper; $16.95
1501-$15.50 paper; $21.95 hard) hard)
Investment Analysis with Your Microcomputer (No From BASIC to Pascal (No. 1466-$11.50 paper; $17.95
1479-$13.50 paper; $19.95 hard) hard)
The Art of Computer Programming (No. 1455-$10.95 Computer Peripherals That You Can Build (No. 1449-
paper; $16.95 hard) $13.95 paper; $19.95 hard)
25 Exciting Computer Games in BASIC for All Ages (No. Machine and Assembly Language Programming (No.
1427-$12.95 paper; $21.95 hard) 1389-$10.25 paper; $15.95 hard)

ITAB/ TAB BOOKS Inc.


Blue Ridge Summit Pa 17214
Send for FREE TAB Catalog describing over 750 current titles In pnnt
Commodore 64 ™ Micro Mansion: Using Your Computer
to Have a Safer, More Convenient Home
David B. Bonynge

Your C-64 can do everything from turning off lights


to frightening burglars to starting your coffee in the morning!
Just imagine . ..
-being able to cut home energy bills by keeping heat or air conditioning
off when you 're not at home, yet have it turned up to the right comfort-
able temperature by the time you walk in the door!
-having your coffee ready in the morning when you get up . .. dinner
waiting in the oven when you get home from work ... even your hot tub
all set to go when you arrive home from a skiing weekend!
-lights, radios, and TV sets that go on and off at predetermined times to
give your house a lived-in look even when you're out of town!
-and the feeling of security you'll have knowing that automatic alarms or
auto-dial signals to police and fire companies will protect your home
from burglars, fire and smoke, even gas leaks and basement flooding!
It's all possible-not just in the computerized home of the future-but
right now using your Commodore 64 and readily available, inexpensive
peripherals! All the information you need to put your own micro to work making
your home a safer, more convenient place to live is here in this exceptional
hands-on guide. You 'll find the theory, the techniques, and the specific appli-
cations and how to achieve your home control goals in the easiest, most
economical way.
Just some of the highlights: how computerized home control works and
what you need to get started ... how to estimate your potential savings . .. how
to select the best products to meet your needs ... how to install the necessary
gadgets in your home . .. safety precautions you should take ... and how to
manage and operate your system once it is installed.
David B. Bonynge is a financial marketing specialist with a major broker-
age firm and owner of his own software business. A long-time microcomputer
enthusiast, he has experimented with virtually every type of computerized
home control system.

ITABI TAB BOOKS Inc.


Blue Ridge Summit, Pa . 17214

Send for FREE TAB Catalog describing over 750 current titles in print.

FPT > $11·95 ISBN 0-8306-1936-4


PR ICES HIGH ER IN CAN ADA 1145-0385

You might also like