Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
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 Home Automation Projects

You're reading from   Arduino Home Automation Projects Automate your home using the powerful Arduino platform.

Arrow left icon
Product type Paperback
Published in Jul 2014
Publisher
ISBN-13 9781783986064
Length 132 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Marco Schwartz Marco Schwartz
Author Profile Icon Marco Schwartz
Marco Schwartz
Arrow right icon
View More author details
Toc

Table of Contents (9) Chapters Close

Preface 1. Building Wireless XBee Motion Detectors 2. Control Lights from Your Phone or Tablet FREE CHAPTER 3. Measuring the Temperature Using Bluetooth 4. Weather Station in the Cloud with Xively 5. Monitor Your Energy Consumption in the Cloud 6. Hack a Commercial Home Automation Device 7. Build Your Own Home Automation System Index

Chapter 2. Control Lights from Your Phone or Tablet

In this chapter, we are going to tackle another very common project in any home automation project: controlling lights. There are many devices that you can buy off the shelves that will give you the ability to control devices in your home, but these devices usually have a high price point. And even if they are wireless, they usually come with a remote control.

In this project, we are going to take another approach and control lights directly from your computer, phone, or tablet, all via Wi-Fi. The following will be the major takeaways from this chapter:

  • First, we are going to build the hardware part of our project by connecting a Wi-Fi chip to Arduino and the device we want to control (here, a simple lamp) to a relay module. We'll actually use two relay modules in this project, but this can, of course, be extended to any number you want.
  • Then, we are going to write some basic code to test the different parts of the project...
You have been reading a chapter from
Arduino Home Automation Projects
Published in: Jul 2014
Publisher:
ISBN-13: 9781783986064
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 $19.99/month. Cancel anytime