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
Android Things Projects

You're reading from   Android Things Projects Efficiently build IoT projects with Android Things

Arrow left icon
Product type Paperback
Published in Jun 2017
Publisher Packt
ISBN-13 9781787289246
Length 232 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Francesco Azzola Francesco Azzola
Author Profile Icon Francesco Azzola
Francesco Azzola
Arrow right icon
View More author details
Toc

Table of Contents (9) Chapters Close

Preface 1. Getting Started with Android Things FREE CHAPTER 2. Creating an Alarm System Using Android Things 3. How to Make an Environmental Monitoring System 4. Integrate Android Things with IoT Cloud Platforms 5. Create a Smart System to Control Ambient Light 6. Remote Weather Station 7. Build a Spying Eye 8. Android with Android Things

Implementing the spying eye project in Android Things


It is time that we focused our attention on developing the project. Now we have all the information and the knowledge we need to build the Android Things app. This app can be divided into two different parts:

  • Control servomotor
  • Use camera in Android Things

In the first part, we describe, according to the information explained previously, how to control a servomotor while, in the second part, we will describe how to acquire images in Android Things using a camera. As you may remember, the servomotor is used in this project to rotate the camera so that we can explore a wider area. Moreover, this project has a UI that we can use to control the servo and take the picture. The user interface is very simple and intuitive; the result is shown in the following figure:

Basically, there are three buttons:

  • The left button is used to turn the camera to left rotating the servo
  • The right button is used to turn the camera to right rotating the servo
  • The button...
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