Recently, I exhausted my stock of common passive infrared (PIR) motion sensor modules and was looking for a new one to play with. I searched the web for a small type with self-contained electronics.
A brilliant wireless way to detect presence, the Aqara Presence Multi-Sensor FP300 expands what you can do with routines.
The presented schematic shows how to build a simple PIR motion sensor. PIR sensors allow motion sensing, it is almost always used to detect whether someone has moved in or out of the sensors range.