Before diving into the project implementation details, it is useful to have an overview of the project we want to build. The idea that stands behind this project is building a system that has a unique center of control, represented by Android Things, and several remote IoT boards that are connected to RGB LED strips. These IoT boards receive the commands from the Android Things app and according to these commands, they set various RGB LED color or apply several light effects.
This project uses two different IoT boards:
- Android Things compatible boards such as Raspberry
- PI 3 Arduino Uno R3
The following diagram gives an overview of this project and the roles played by these two boards:
As you can notice, the LED strips are connected to Arduino boards that manage them directly. In turn, the Arduino boards receive commands from the Android Things board using HTTP protocol. HTTP protocol is a web-oriented protocol that we can use to exchange data between different...