Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
26 used & new from $28.93

Have one to sell? Sell yours here
 
   
Home Automation Basics - Practical Applications Using Visual Basic 6 (Sams Technical Publishing Connectivity Series)
 
See larger image
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get yours here.
 
  

Home Automation Basics - Practical Applications Using Visual Basic 6 (Sams Technical Publishing Connectivity Series) (Paperback)

by Thomas Leonik (Author)
3.6 out of 5 stars See all reviews (12 customer reviews)

List Price: $75.95
Price: $49.54 & this item ships for FREE with Super Saver Shipping. Details
You Save: $26.41 (35%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Monday, July 20? Choose One-Day Shipping at checkout. Details
15 new from $49.54 11 used from $28.93

Frequently Bought Together

Customers buy this book with Automating Science and Engineering Laboratories with Visual Basic by Mark F. Russo

Home Automation Basics - Practical Applications Using Visual Basic 6 (Sams Technical Publishing Connectivity Series) + Automating Science and Engineering Laboratories with Visual Basic
  • This item: Home Automation Basics - Practical Applications Using Visual Basic 6 (Sams Technical Publishing Connectivity Series) by Thomas Leonik

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Automating Science and Engineering Laboratories with Visual Basic by Mark F. Russo

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought

Creating Human Machine Interfaces Using Visual Basic

Creating Human Machine Interfaces Using Visual Basic

by Jeff Weigant
3.1 out of 5 stars (12)  $49.95
How To Automate Both New & Existing Homes

How To Automate Both New & Existing Homes

by Robert N. Bucceri
4.1 out of 5 stars (8)  $29.95
Visual Basic and Visual Basic .NET for Scientists and Engineers

Visual Basic and Visual Basic .NET for Scientists and Engineers

by Christopher M. Frenz
4.5 out of 5 stars (2)  $27.26
Visual Basic Programmer's Guide to Serial Communications

Visual Basic Programmer's Guide to Serial Communications

by Richard Grier
Visual Basic 6 Complete

Visual Basic 6 Complete

by Steve Brown
4.3 out of 5 stars (25)  $13.59
Explore similar items

Editorial Reviews

Product Description
This book explores the world of Visual Basic 6 programming with respect to real-world interfacing and control on a beginner to intermediate level, with a home automation system. Includes HVAC systems, water pumps, temperature controls and more.

From the Back Cover
In Home Automation Basics, Thomas E. Leonik, P.E. shows you how to utilize Visual Basic 6 in a home-monitoring system. Some day soon, all the functions of your home will be automated by a Programmable Logic Controller (PLC), the backbone of all industrial controls in the world. Trailblazing toward that new era, Leonik demonstrates just how easy it is to establish ground-level communications with a PLC through Visual Basic.

Visual Basic 6 is a flexible programming language that operates through Microsoft(r) Windows. With the help of a companion CD-ROM, Home Automation Basics guides you through the programming and installation portions of this project, giving you the ability to monitor a variety of functions in your home or office.


Product Details


What Do Customers Ultimately Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

12 Reviews
5 star:
 (4)
4 star:
 (3)
3 star:
 (2)
2 star:
 (2)
1 star:
 (1)
 
 
 
 
 
Average Customer Review
3.6 out of 5 stars (12 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
78 of 80 people found the following review helpful:
5.0 out of 5 stars Home Automation Basics, October 24, 2000
By Tom Leonik (Mayville, NJ 08210) - See all my reviews
Home Automation Basics BY THOMAS E. LEONIK PE

Review

This book explores the world of Visual Basic 6 programming with respect to real world interfacing, animation and control on a beginner/intermediate level. The original title of the book was "Visual Basic 6 : Real World Interfacing, Animation and Control. The title was changed by the publisher's marketing department much to the Author's chagrin. This is VB book that demonstrates how to create an HMI (Human Machine Interface) from scratch. A Home Monitor application was selected to provide a broad appeal to all readers.

Most of the Visual Basic books on the market today and in the past do a very good job of describing the various control elements of Visual Basic and how they work. Typically examples are provided for programming some type of data base application of one sort or another. The focus of this book is interfacing to an external device via the serial port, showing the status of this device by animating objects on a Visual Basic form and then controlling this device. The Allen-Bradley Micrologix PLC by Rockwell Automation is one serial device that will be explored. An alphanumerical display is another serial device that will be investigated.

The acronym "PLC" stands for Programmable Logic Controller. PLC's are the fundamental building block in industrial control systems today. Typically a PLC consists of inputs, outputs, a central processing unit, user memory for control functions, a proprietary operating system and a serial port. With a PLC, input devices such as push buttons, limit switches to name a few are wired into inputs and output devices such a lights, horns, motor control relays and so on are wired to outputs. All the cross wiring required to implement some desired function is accomplished with software rather then hard wiring and additional components.

The intent of this book is Visual Basic but it will discuss to a certain degree the architecture and the programming of Programmable Logic Controller. The most popular language used to program a PLC is called "Ladder Logic". Ladder Logic is modeled from the way that one would actually wire up devices to relays. Input devices are represented as contacts and outputs are represented as relay coils. Essentially each rung of ladder logic is a graphical form of a Visual Basic IF THEN statement. Typically the PLC instructions set supports internal timers, counters, math functions (integer and real via floating point), move functions, Boolean functions and communication functions. The Rockwell Automation Micrologix PLC was selected because it is a popular, powerful, inexpensive PLC. Most of the material presented on the Micrologix PLC will also apply to other manufactured PLC's.

The application example presented in this book will be that of using the PLC as home monitor. This example is more appealing and easier to understand as opposed to implementing an example of a wastewater pumping station with level control using a variable frequency drive. It is inevitable that some day the PLC or some form of the PLC will be controlling all the electrical operations of a house.

As a home monitor the PLC will monitor the following digital inputs: front doorbell pushbutton, rear doorbell pushbutton, front door open sensor, rear door open sensor, first floor HVAC system on, second floor HVAC system on, water pump on, and mail box open sensor. In addition to the discrete digital inputs, five temperatures will be monitored (outside air, crawlspace, first floor, second floor and Great Room) and water pressure of the water pump will be monitored. Two PLC outputs will be used to drive a horn and turn on a blower fan under the control of the Visual Basic program.

First a Visual Basic 6 program will be developed that communicates serially with the PLC using Rockwell Automation Allen-Bradley protocol. This protocol will be considered to perform two tasks: an "unprotected read" and an "unprotected write". The structure of this binary protocol will be examined. The software developed to perform these tasks will be simply and clearly presented.

Another Visual Basic 6 program will be developed that interprets the collected information and animates objects on a Visual Basic form accordingly, such as a door shown in the open or closed position along with an associated time/date stamp as to when it was opened or closed. Temperature and other data information will be stored as monthly files on the harddrive in CSV(comma separated values) format. Microsoft Excel can then be used to provide a graphical representation of the data contained in these files. Wave files will be launched to provide audio annunciation of certain events.

A stand-alone full function-graphing program will be developed that interprets the data log files. This program will automatically update in conjunction with the data log file.

A second serial port will be used to provide textual based status information from the Visual Basic home monitor program to a remote alphanumerical display.

Through the process of developing the home monitor program many aspects of Visual Basic programming will be studied. Emphasis will be placed on keeping the software as simple as possible. The lessons learned in this book will be invaluable for future serial and animations projects.

All programs presented in this book and contained on the companion CD have been thoroughly tested. I hope you like it as much as I enjoyed writing it and creating the software. Tom Leonik

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
17 of 19 people found the following review helpful:
1.0 out of 5 stars Just use the softeware which comes with the PLC, October 11, 2002
By ----neal M. Shaw (Oakville, Ontario Canada) - See all my reviews
(REAL NAME)   
I was very excited when I found this book and read the reviews. Chapter one was a small intro to visual basic. The first half of chapter two explained how to input and output with the serial port, great. Then I get to the second half of chapter two and I read that all I need to do is go and get a PLC interface. Why bother with the book then. If I'm going to spend hundreds of dollars on a PLC interface, just buy one which has software, and use the software which comes with it. Don't get me wrong, I'm sure for someone who already has a PLC and needs to revise their programs, this book would be valuable, however for the person who is interested in using the serial port to acquire ideas and tips for simple input/output application around the home, it is frustrating. Maybe the title should be Programming for the PLC in Visual Basic 6. That would be much more appropriate.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
11 of 12 people found the following review helpful:
5.0 out of 5 stars Great Book and reference, November 9, 2002
By Tim Singer (Scotsdale, AZ) - See all my reviews
I've read a lot of books on VB and PLC's but the book that I think about most and use as handy reference is Tom Leonik's --Home Automation Basics - Pratical apps using VB6. This book is fun and to the point. The example of a home monitor is cool and the material presented in the book can easily be applied to many different applications.

The one reviewer who stated that you needed PLC software... obviously did not read the book. PLC software is only needed to program the PLC. The PLC in this application performs conditioning of inputs and stores key information in non-volatile ram. The book creates a driver to communicate with the PLC in VB no other software is required. This is an amazing task and it works.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
Ad
 
Most Recent Customer Reviews

3.0 out of 5 stars Not really for Home Automation
Let's start with stating that I create HMI's/SCADA systems for a living. I have used all the major commercial software including Wonderware and iFIX. This book was interesting. Read more
Published 6 months ago by J. Hoyt

5.0 out of 5 stars Excellent for practical applications!
This is an excellent practical resource since the details are revealed. The procedures can be modified to suit many other control applications regardless of residential,... Read more
Published 12 months ago by Eddie

5.0 out of 5 stars Communication Protocol's and VB
Mr. Leonik is correct in his feeling with regard to the title given to his book, it is in fact not representative of the material inside. Read more
Published on March 4, 2007 by Norman N. Pepe

3.0 out of 5 stars Need to repackage
The general intent of the author is interesting but he blows it by writing the book based on the AB PLC which is expensive and not generally popular with Hobbyists and DIY folks... Read more
Published on March 16, 2006 by Adekunle M. Adebayo

2.0 out of 5 stars Just a copy of AB manual
After reading the authors review I bought this book. It has nothing just a copy of DF1 protocol for Allen Bradley PLC (Unprotected Reads and Write). Read more
Published on June 19, 2004

2.0 out of 5 stars Home Automation for people with too much money
This book will leave you scratching your head. Do not pay too much for it and you won't be disappointed. When it gets right down to it you might as well look for a plc with o. Read more
Published on March 7, 2004

4.0 out of 5 stars Awesome Book
This is an awesome book. It shows how to render external events into a Visual Basic window. It even implements a communication link to an Allen-Bradley micro plc using only VB... Read more
Published on October 23, 2002 by Ed Cole

4.0 out of 5 stars Nice Reference for my Visual Basic Manufacturing Apps.
Credit is do to Mr. Leonik for producing this book. I'll use it as a nice reference for some of my manufacturing applications written in Visual Basic. Read more
Published on December 21, 2000 by Stanley D. Musick

4.0 out of 5 stars Not just for home automation...
Great job! I found this book to be very useful for more than just home automation. I have read several OEM protocol manuals in attempt to learn PLC communication. Read more
Published on November 22, 2000 by Mark V Lane

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]


   


Product Information from the Amapedia Community

Beta (What's this?)



Look for Similar Items by Category


Get to Know TomTom ONE XL

TomTom ONE XL at Amazon.com
With its widescreen, Bluetooth compatibility, and turn-by-turn directions, your new travel buddy is the TomTom ONE XL.

Shop all TomTom

 

Best Books of 2008

Best of 2008
Find our top 100 editors' picks as well as customers' favorites in dozens of categories in our Best Books of 2008 Store.
 

Buy Three Books, Get a Fourth Free

4-for-3 Books
Order any four eligible books under $10 and get the lowest-price book free in our 4-for-3 Books Store. See more details.
 

Hammer It Out

Shop for Hammers
Keep your toolbox stocked with a hammer or two for driving fasteners, for prying, and for demolition.

Shop all hammers

 
Ad

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Free
Free by Chris Anderson
Paranoia
Paranoia by Joseph Finder
My Soul to Lose
My Soul to Lose by Rachel Vincent
Darkfever
Darkfever by Karen Marie Moning

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates