Create a Smart System to Control Ambient Light

This chapter describes how to create a system that uses Android Things to control ambient light. During this project, we will explore how to use the Android Things app to control IoT boards such as Arduino. As we will see later, Android Things can be used as an IoT gateway that manages one or more remote IoT boards in a master-slave architecture.

The main topics covered in this chapter are:

  • How to use Android Things in a master-slave architecture
  • Implementing an Arduino sketch to control a RGB LED strip
  • How to use HTTP protocol to exchange data
  • Creating an Android Things UI

At the end of this chapter, we will build a real-life working IoT project based on Android Things that we can use in our ...

Get Android Things Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.