Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Arduino Android Blueprints

You're reading from   Arduino Android Blueprints Get the best out of Arduino by interfacing it with Android to create engaging interactive projects

Arrow left icon
Product type Paperback
Published in Dec 2014
Publisher Packt
ISBN-13 9781784390389
Length 250 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

Hardware and software requirements

First, let's see the required hardware components for this chapter.

We need an Arduino Uno board. To control the lamp remotely (the lamp was used as an example in the chapter, but of course any 110V or 230V device can be used here), you will also need a relay module. We used a 5V relay module from Polulu, but you can use any 5V relay module that you want.

To measure the instant power consumption of the device connected to the plug, you will also need a current sensor. For this part, we will choose a breakout board based on the ACS712 chip. The following is a picture of the board I used:

Hardware and software requirements

You will also need a board that includes the CC3000 Wi-Fi chip, which we will use to receive commands via the Android device. For this project, we will choose a CC3000 breakout board from Adafruit. Of course, you can also use a shield from the same brand for this project; the code will be exactly the same.

To make the different connections, you will also need a breadboard...

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
Banner background image