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 important aspect of the IoT ecosystem: IoT cloud platforms. We will learn how to use IoT platforms and how to integrate them with Android Things and stream data to the cloud.