Unik Systems Logo
Unik Systems
IoT · Electronics · Branding
DashboardShop
Builder
PC Forge
Visual AI planner with live benchmarks
Build Wizard
Quick questionnaire → preset build
3D PrintBrandingQuoteTutorials
Sign in
Your cart
0 items
🛒
Your cart is empty

Add Arduino boards, sensors, kits, or anything from our 170+ product catalog.

Browse products

Free Shipping.

Starting from ₹899 across India

Customer Support

Hardware engineers ready to help

Online Payment.

100% Secure & Shop with Confidence

Fast Delivery.

24-48h Dispatch via BlueDart & Delhivery

7 Days Return

Doorstep replacement for defects

About

  • About Us
  • Contact Us
  • Our Presence (Karol Bagh)
  • Careers

Information

  • PC Components & Hardware
  • Electronics & Robotics
  • Offer Zone & Deals
  • Maker Tutorials & Guides
  • FAQ & Knowledge Base

Account

  • My Account
  • Order History
  • Track Order
  • Wishlist
  • Compare Products

Policy

  • Privacy Policy
  • Refund & Return Policy
  • Shipping Policy
  • Terms & Conditions

Contact Us:

EmailUnik.systems98@gmail.com
WhatsApp+91 9311349121
Phone No+91 9311349121
Address

Karol Bagh, New Delhi 110005, India

Shipped By:
Delhivery
BlueDart
DTDC Express
Porter
Ecom Express
Trackon
Payment System:
NetBanking
UPIUPI (GPay/PhonePe)
VISA
RuPay
MasterCard
PaytmPaytm
Unik Systems Pvt. Ltd © 2012 - 2026. All Rights Reserved.
Our Social Links:
HomeKnowledge BaseDIY Motion-Activated Security Floodlight & Alarm Using PIR Sensor HC-SR501
Back to knowledge base
guides

DIY Motion-Activated Security Floodlight & Alarm Using PIR Sensor HC-SR501

Design an energy-saving motion-sensing security lighting system with ambient daylight override and adjustable delay timing using the HC-SR501 PIR sensor.

Kunal (Founder & Owner) 1 min read7 Oct 2026
DIY Motion-Activated Security Floodlight & Alarm Using PIR Sensor HC-SR501

DIY Motion-Activated Security Floodlight & Alarm Using PIR Sensor HC-SR501

Passive Infrared (PIR) sensors detect changes in thermal blackbody radiation emitted by moving warm bodies (humans and animals). In this project, we combine an HC-SR501 sensor with an ESP32 and optocoupled relay to automate exterior floodlights, firing push notifications to your phone upon unauthorized perimeter breach.


1. Tuning the HC-SR501 Potentiometers

The HC-SR501 features two onboard trimpots:

  1. Sensitivity (Distance): Clockwise increases detection range up to 7 meters.
  2. Time Delay: Clockwise increases latch duration from 3 seconds up to 5 minutes.

Parts used in this tutorial

Buy them in one click — ships from Pune across India.

3 ITEMS
  • PIR Motion Sensor Detector Module HC-SR501
    Sensors
    ₹59.00
    + GST
  • ESP32 Development Board with WiFi & Bluetooth – CH340C USB Type-C
    Microcontrollers
    ₹419.00
    + GST
  • Relay Module 5V 10A (1-channel)
    Power & Components
    ₹45.53
    + GST
Approx. total ₹523.53 (before GST)Add all to cart
#security#esp32#motion-detector
Found this useful? Tell us what you'd like to read next via our RFQ form.