Summary
At the end of this chapter, you learned how to use I2C sensors and how to connect them to an Android Things board. Moreover, we implemented a full-working Android Things IoT app that monitors environmental parameters. We have learned how to control GPIO pins using the information retrieved from sensors. This project can be extended by adding new features. An interesting feature that you could add is considering if the pressure is rising or lowering to have a more detailed weather forecast. Using this environmental monitoring system, you gained knowledge about how to implement custom drivers. In this way, you have infinite possibilities to use your Android Things board with several I2C sensors.
In the next chapter, we will cover an ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access