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

Connecting the different components


In this project, there are basically three things you will have to connect: the CC3000 Wi-Fi chip, the temperature and humidity sensor, and the light sensor.

To know exactly which wires and pins you have to connect, take a look at the following image that describes all the connections of the project:

Let's connect the different components by executing the following steps:

  1. To get started on the hardware connection, first place the different components next to each other and plug the CC3000 module and the sensors into the breadboard. To reduce the number of wires needed, plug one pin of the photocell with one pin of the 10k ohm resistor. Also, plug the 4.7k ohm resistor between pin number 1 and 2 of the DHT11 sensor, just as shown in the previous image.

  2. As we have quite a lot of devices to power, I suggest you first connect the red power rail to the Arduino 5V pin and the blue power rail to the Arduino GND pin.

  3. We'll first take care of the sensors. The DHT11...