Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Arduino By Example

You're reading from   Arduino By Example Design and build fantastic projects and devices using the Arduino platform

Arrow left icon
Product type Paperback
Published in Sep 2015
Publisher
ISBN-13 9781785289088
Length 242 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Adith Jagdish Boloor Adith Jagdish Boloor
Author Profile Icon Adith Jagdish Boloor
Adith Jagdish Boloor
Adith J Boloor Adith J Boloor
Author Profile Icon Adith J Boloor
Adith J Boloor
Arrow right icon
View More author details
Toc

Upgrading the home automation system


Now that we understand how each means of communication works independently, we will begin controlling more than one device. Let's say, for the sake of this chapter, we are going to control the light and fan in your room, and the light and television in the living room. We are going to use only four home appliances for this section. Once you understand how it works and what we changed from using just one appliance, you will be powerful enough to add more appliances to your home automation system.

Controlling multiple appliances

Controlling four appliances implies that we need four relays. Instead of getting four single 5V relays, buy yourself a 4-channel 5V Arduino-compatible relay as shown in the following image:

Since you have already learned how relays work, there is nothing new here, except that you will be using just one GND pin and one VCC (VIN) pin, which is really convenient. Before creating the entire circuit, let's just connect the Arduino to the...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime