官术网_书友最值得收藏!

Creating an Alarm System Using Android Things

In this chapter, we will build an alarm system using Android Things. The target of this project is creating a system that detects movements using PIR sensors and when this event happens the Android Things app will send a notification to the user smartphone. The principles of this project are commonly used in real alarm systems we have in our homes, but we will build it with a totally new operating system. This is an interesting project because it uses, at the same time, sensors and cloud platforms. Through this project, we will explore how to use GPIO pins in Android Things and how to interact with two states sensors.

The main topics covered in this chapter are:

  • How to use build an alarm system
  • How to use GPIO pins and PIR sensors
  • How to handle events from a GPIO pin
  • How to build an app that is independent of the board
  • How to notify events from Android Things to Android smartphones

This project demonstrates how powerful Android Things SDK is and how we can build an IoT project using our Android expertise. Let us start describing the project that we will build.

主站蜘蛛池模板: 锡林郭勒盟| 宁南县| 昌都县| 双柏县| 翁牛特旗| 贵阳市| 景洪市| 交口县| 昌图县| 柏乡县| 岳阳市| 电白县| 曲松县| 榆中县| 赤壁市| 松桃| 山西省| 寿光市| 广元市| 栖霞市| 依安县| 施甸县| 辰溪县| 西盟| 廉江市| 龙南县| 哈巴河县| 周口市| 大田县| 贵德县| 尤溪县| 洞头县| 泾川县| 阿鲁科尔沁旗| 天气| 芮城县| 临湘市| 霍邱县| 昌邑市| 新巴尔虎右旗| 嘉荫县|