Exploring the PIR Sensor: Navigating HC-SR501's Capabilities.