O'Reilly logo

Arduino: Building exciting LED based projects and espionage devices by Marco Schwartz, Utsav Shah, Samarth Shah, Adith Jagdish Boloor

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required