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

Making hardware connections

It's now time to make the hardware connections of the project. You need to connect three things: the CC3000 Wi-Fi chip to the Arduino board, the current sensor to the Arduino board, and the power cables to the current sensor.

Because we have several devices to power, I suggest that you should first connect the red power rail to the Arduino 5V pin and the blue power rail to the Arduino GND pin.

There are quite a few pins to connect for CC3000; therefore, follow the instructions carefully so that the module can work correctly. First, connect the IRQ pin of the CC3000 board to pin number 3 of the Arduino board, VBAT to Arduino pin 5, and CS to Arduino pin 10. After that, you need to connect the remaining SPI pins to the Arduino board. The pins called MOSI, MISO, and CLK go to Arduino pins 11, 12, and 13, in this precise order.

The current sensor is quite easy to connect. Connect the V pin to the red power rail, the G pin to the blue power rail, and the S pin to...

lock icon The rest of the chapter is locked
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