O'Reilly logo

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

Arduino Home Automation Projects

Book Description

Automate your home using the powerful Arduino platform

In Detail

The Arduino platform is used by more than one million people around the world to prototype electronic systems. It is the perfect platform to use to build home automation systems, as it allows you to build your own motion sensors, control lamps remotely, and control preexisting home automation devices. The Arduino platform also allows you to build wireless home automation systems using well-known technologies such as Bluetooth and Wi-Fi.

This book shows you how to use the Arduino tiny microboard to live like a king. The book covers several projects you can perform using the Arduino platform. The first few projects comprise the basics of home automation, such as building a wireless motion sensor, controlling a lamp remotely, and building a Bluetooth temperature sensor. Then, this book dives into the Internet of Things, helping you get a clear understanding of how to send measured data to the cloud. The book will wrap up by showing you how to communicate and control an existing device and build your own home automation system.

What You Will Learn

  • Connect home automation sensors to the Arduino platform
  • Use the XBee technology to build low-power wireless motion sensors
  • Interface a relay with Arduino to control devices in your home
  • Utilize Wi-Fi to control a lamp remotely
  • Employ Bluetooth and Arduino to measure the temperature remotely
  • Send energy consumption data to the cloud
  • Hack an existing home automation device using Arduino

Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

Table of Contents

  1. Arduino Home Automation Projects
    1. Table of Contents
    2. Arduino Home Automation Projects
    3. Credits
    4. About the Author
    5. About the Reviewers
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers, and more
        1. Why subscribe?
        2. Free access for Packt account holders
    7. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    8. 1. Building Wireless XBee Motion Detectors
      1. Hardware and software requirements
      2. Hardware configuration
      3. Interfacing the PIR sensor with Arduino
      4. Programming an XBee motion detector
      5. Building a graphical interface for your XBee motion detectors
      6. Summary
    9. 2. Control Lights from Your Phone or Tablet
      1. Hardware and software requirements
      2. Hardware configuration
      3. Testing the relays and Wi-Fi connection
      4. Building a graphical interface to control the relays
      5. Testing the graphical interface
      6. Summary
    10. 3. Measuring the Temperature Using Bluetooth
      1. Hardware and software requirements
      2. Hardware configuration
      3. Creating the Arduino sketch
      4. Testing the temperature and humidity sensor
      5. Measuring the temperature and humidity remotely
      6. Summary
    11. 4. Weather Station in the Cloud with Xively
      1. Hardware and software requirements
      2. Connecting the different components
      3. Testing the sensors
      4. Setting up your Xively account
      5. Building the Arduino sketch
      6. Log in and display data on Xively
      7. Summary
    12. 5. Monitor Your Energy Consumption in the Cloud
      1. Hardware and software requirements
      2. Making hardware connections
      3. Testing the project
      4. Configuring your Xively account
      5. Sending power consumption data to Xively
      6. Summary
    13. 6. Hack a Commercial Home Automation Device
      1. Hardware and software requirements
      2. Hardware configuration
      3. Controlling the device from your computer
      4. Building a graphical interface
      5. Summary
    14. 7. Build Your Own Home Automation System
      1. Hardware and software requirements
      2. Building an Arduino system from scratch
      3. Testing the Arduino system
      4. Designing a PCB for your home automation system
      5. Fabricating the board
      6. Designing and 3D printing a case for your home automation project
      7. Summary
    15. Index