-
·
[TUT] Android Things – Writing a PIR Motion Sensor Driver
This blog will show you how to write an Android Things driver for the HC-SR501 PIR Sensor Module. This module can detect movement and uses a GPIO pin on your Android Things board for communication. What are we going to do: – Understand how HC-SR501 PIR Sensor Module works – Write a MotionSensor interface for…