Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Android Things Projects

You're reading from  Android Things Projects

Product type Book
Published in Jun 2017
Publisher Packt
ISBN-13 9781787289246
Pages 232 pages
Edition 1st Edition
Languages
Author (1):
Francesco Azzola Francesco Azzola
Profile icon Francesco Azzola

Table of Contents (15) Chapters

Title Page
Credits
About the Author
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface
Getting Started with Android Things Creating an Alarm System Using Android Things How to Make an Environmental Monitoring System Integrate Android Things with IoT Cloud Platforms Create a Smart System to Control Ambient Light Remote Weather Station Build a Spying Eye Android with Android Things

How to control a LED strip using an Android app


In this first Android project, we want to control an LED strip using an Android app. In more detail, the Android app connects directly to the Android Things app that, in turn, controls one or more LED strips through Arduino boards. As we stated in Chapter 5, Create a Smart System to Control Ambient Light, in this project the Android Things app behaves like a gateway acting as a unique point of access. This approach has several benefits, which were highlighted in Chapter 5, Create a Smart System to Control Ambient Light. In this application context, we exploit the built-in web server implemented in the Android Things app. The idea that stands behind this is to create an Android app that uses the HTTP protocol to remotely control the Android Things app (like a master-slave pattern). To this purpose, we can reuse the Android Things app we have developed and attach to it the Android app. In this way, we can control the Android Things app using...

lock icon The rest of the chapter is locked
arrow left Previous Chapter
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 $15.99/month. Cancel anytime}