Book Image

Arduino Home Automation Projects

By : Marco Schwartz
Book Image

Arduino Home Automation Projects

By: Marco Schwartz

Overview of this book

Table of Contents (14 chapters)
Arduino Home Automation Projects
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Hardware and software requirements


First, let's look at the components we will need in this project. Just as in the previous chapter, you will need an Arduino Uno board and a board with the CC3000 Wi-Fi chip. For more information on how to choose these two boards, please refer to the previous chapter.

Then, you will need a current sensor. I used a ITead Studio breakout board that hosts the AC712 current sensor. This sensor is an analog sensor that returns a signal that is proportional to the measured current. Later in this chapter, we are going to learn how to calculate the measured current from the output's voltage. You can find more information on how this sensor works inside the datasheet of the sensor at https://www.sparkfun.com/datasheets/BreakoutBoards/0712.pdf.

The following is an image of the board that I used:

You can see in the preceding image that the board has three pins: G for ground, V for VCC, and S for signal, which will deliver the output voltage that is proportional to the...