{"product_id":"hc-sr501-pir-motion-sensor-module-for-arduino-raspberry-pi","title":"HC-SR501 PIR Motion Sensor Module for Arduino \u0026 Raspberry Pi","description":"\u003ch1\u003ePIR Motion Detection Sensor – HC-SR501\u003c\/h1\u003e\n\u003cp\u003eThe HC-SR501 is a passive infrared (PIR) motion sensor module that detects changes in infrared radiation from warm bodies. Widely used in security alarms, automatic lights, and presence-triggered devices, it outputs a digital HIGH signal for a configurable time when motion is sensed.\u003c\/p\u003e\n\n\u003ch2\u003eKey Specifications\u003c\/h2\u003e\n\u003ctable\u003e\n  \u003cthead\u003e\u003ctr\u003e\n\u003cth\u003eSpecification\u003c\/th\u003e\n\u003cth\u003eValue\u003c\/th\u003e\n\u003c\/tr\u003e\u003c\/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n\u003ctd\u003eOperating Voltage\u003c\/td\u003e\n\u003ctd\u003e4.5V to 20V DC (nominal 5V)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eDetection Range\u003c\/td\u003e\n\u003ctd\u003e3–7 metres (adjustable)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eDetection Angle\u003c\/td\u003e\n\u003ctd\u003e\u0026lt; 140° cone\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eOutput Signal\u003c\/td\u003e\n\u003ctd\u003e3.3V HIGH when triggered (TTL)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eDelay Time\u003c\/td\u003e\n\u003ctd\u003e5–200 seconds (adjustable)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eQuiescent Current\u003c\/td\u003e\n\u003ctd\u003e\u0026lt; 50 µA\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch2\u003eWhat You Can Build With This\u003c\/h2\u003e\n\u003cul\u003e\n  \u003cli\u003eBurglar alarm that triggers a buzzer and sends alerts via IoT\u003c\/li\u003e\n  \u003cli\u003eAutomatic corridor or staircase lighting when someone approaches\u003c\/li\u003e\n  \u003cli\u003eEnergy‑saving fan controller that runs only when a room is occupied\u003c\/li\u003e\n  \u003cli\u003e\u003ca href=\"\/products\/kit-wildlife-camera-trap-kit-with-raspberry-pi-5-plus-camera\"\u003eWildlife camera trap that captures photos on movement\u003c\/a\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch2\u003eCompatibility\u003c\/h2\u003e\n\u003cp\u003eWorks directly with Arduino, ESP8266, ESP32, and Raspberry Pi. The module operates at 5V but outputs a 3.3V logic signal, so no level shifting is needed for 3.3V microcontrollers. Common pairings include relay modules to switch mains appliances, or a buzzer\/LED for simple alert systems.\u003c\/p\u003e\n\n\u003ch2\u003eWiring Notes\u003c\/h2\u003e\n\u003cp\u003eConnect VCC to 5V, GND to ground, and OUT to a digital input pin. Avoid placing the sensor near heat sources, windows, or in direct airflow to prevent false triggers. The onboard 3.3V regulator means the module can also be powered from a 9V battery in standalone setups.\u003c\/p\u003e\n\n\u003ch2\u003eWhy Buy from Compoden\u003c\/h2\u003e\n\u003cp\u003eEvery component is sourced from verified suppliers and tested for compatibility before listing. We've spent 10 years building projects for makers, schools, and institutions across India. Ships from Bengaluru in 3-5 days. If defective on arrival, replace within 7 days.\u003c\/p\u003e\n\n\u003cdetails\u003e\u003csummary\u003eIs this compatible with Arduino Uno?\u003c\/summary\u003e\u003cp\u003eYes, connect VCC to 5V, GND to GND, and OUT to any digital pin (e.g., D2). Use the digitalRead() function to detect motion.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eHow do I adjust sensitivity and delay?\u003c\/summary\u003e\u003cp\u003eThere are two orange potentiometers on the module: one sets detection range (approx. 3–7m), the other sets the output HIGH duration (approx. 5–200s). Turn clockwise to increase the value.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eCan it detect through walls or glass?\u003c\/summary\u003e\u003cp\u003eNo, PIR sensors need a direct line of sight to detect infrared radiation changes. They cannot penetrate solid objects like walls or glass.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdiv class=\"compoden-handoff\" style=\"margin-top:24px;padding:16px;background:#f0f4ff;border-left:4px solid #2B4D8F;border-radius:4px;\"\u003e\n  \u003cp style=\"margin:0 0 6px 0;font-weight:600;color:#1A3560;\"\u003e📦 Free Setup Handoff Document Included\u003c\/p\u003e\n  \u003cp style=\"margin:0;font-size:0.95em;color:#333;\"\u003eEvery Compoden order includes a free setup handoff document — step-by-step instructions to get your component working within minutes. Download it via QR code on your package. The handoff document is also trained to help you troubleshoot the majority of problems.\u003c\/p\u003e\n\u003c\/div\u003e\n","brand":"Compoden","offers":[{"title":"Default Title","offer_id":53445107843437,"sku":"CDN-0384","price":70.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0999\/3997\/5533\/files\/download_eb35d3d7-7bff-43a2-b19a-d4d23a8e4c4e.jpg?v=1781526097","url":"https:\/\/compoden.com\/products\/hc-sr501-pir-motion-sensor-module-for-arduino-raspberry-pi","provider":"Compoden","version":"1.0","type":"link"}