
Arduino PIR Motion Sensor with LED | KitKraft DIY Security Lighting Project
Looking to enhance your home security with a smart lighting system? This DIY project using an Arduino Nano, PIR Motion Sensor, and LED lights is perfect for beginners and tech enthusiasts! The system automatically lights up when motion is detected and turns off after a few seconds, making it ideal for outdoor security lighting or energy-efficient hallway lights. Let's dive into the details of building your own security lighting system!
Components Required
- Arduino Nano
- PIR Motion Sensor (HC-SR501)
- LED (or multiple LEDs for brighter light)
- Resistor (appropriate value for LED)
- Jumper Wires
- Breadboard
How It Works
The PIR (Passive Infrared) motion sensor detects movement by sensing changes in infrared radiation in its field of view. When motion is detected, the sensor sends a signal to the Arduino Nano, which then turns on the LED lights. After a preset time, the lights automatically turn off, ensuring energy efficiency.
Circuit Diagram & Arduino Code
The circuit is simple and easy to build. Here's how to connect it:
-
PIR Sensor:
- VCC → 5V on Arduino
- GND → GND on Arduino
- OUT → Digital Pin 2 on Arduino
-
LED:
- Positive leg → Digital Pin 3 on Arduino (through a resistor)
- Negative leg → GND on Arduino
Check the detailed schematic on our GitHub repository:
GitHub - KitKraft/Arduino-PIR-Motion-Sensor-LED
How to Build It
- Connect the PIR sensor and LED as shown in the circuit diagram.
- Upload the code to your Arduino Nano using the Arduino IDE.
- Place the PIR sensor in the desired location to detect motion.
- Power up the Arduino Nano, and you're ready to go!
YouTube Shorts Video
Watch our quick demo and tutorial for this project on YouTube:
Don't forget to like, share, and subscribe to our channel for more exciting projects!
Applications
- Home Security Lighting
- Automatic Hallway Lights
- Energy-efficient Outdoor Lights
- Motion-activated Night Lamps
Conclusion
This Arduino PIR Motion Sensor with LED project is a great way to enhance security while saving energy. It’s easy to build, budget-friendly, and perfect for beginners looking to explore home automation. Try this project and bring smart lighting to your home!
For more exciting DIY projects and components, visit KitKraft.in.
Get Components from KitKraft
Follow Us for More Updates
Stay connected with us for the latest DIY projects, tutorials, and tech tips:
- YouTube: KitKraft
- Facebook: KitKraft
- Instagram: @kitkraftindia
#KitKraftIndia #Arduino #PIRMotionSensor #LEDLighting #DIYProject #HomeSecurity #SmartLighting #TechProjects #MakersGonnaMake #STEM
This project is a fun and educational way to learn about motion sensors and LEDs while making your home smarter and more secure. Give it a try and share your creations with us using #KitKraftIndia! Happy Making!