A-SLI02 -Smart light using PIR and RGB (WHITE)
in SkillBot Learning KitAbout this course
PIR
Motion Detection with RGB LED and LCD project.
Project
Overview
This project
demonstrates a basic motion detection system using a PIR sensor,
an RGB LED, and a 16x2 LCD display (No I2C), all controlled by an
Arduino board. When the system detects motion, the RGB LED lights up
white and the LCD shows a “Motion Detected” message. After no motion is
detected for 10 seconds, the system updates the LCD to “No Motion” and turns
off the LED.
This system
is ideal for home security, automatic lighting, and interactive
environments, providing both visual alerts and real-time
monitoring in a compact, beginner-friendly format.
Project
Objectives
- Detect human or animal movement
using a PIR sensor. - Display motion status using a
16x2 LCD(No I2C). - Provide visual alerts using an
RGB LED. - Introduce beginners to sensor
interfacing and timed logic with Arduino. - Demonstrate how to use
conditional logic and timers in embedded systems. - Build a low-power, responsive
motion detection system suitable for real-world applications.
Key
Features
- Real-Time Motion Detection: Instantly identifies movement
using a PIR sensor. - Visual Feedback: Displays “Motion Detected” or
“No Motion” on the LCD. - RGB LED Indicator: Lights up white upon motion,
turns off after 10 seconds of inactivity. - Timed Response Logic: LED remain active for a set
time after motion stops. - Low Power Operation: Ideal for battery-powered or
energy-conscious setups. - Easy to Build & Customize: Uses basic Arduino components
and can be expanded easily. - Beginner-Friendly Code: Simple logic with clear
function structure for easy understanding.
Required
Components
Component | Description |
Arduino | Microcontroller |
PIR Motion | Detects |
RGB LED | Produces |
16x2 LCD | Shows |
Resistors | Current |
Jumper | For |
Breadboard | Easy |
Power | USB or |
Learning
Outcomes
By
completing this project, learners will:
- Understand the working principle
of PIR motion sensors. - Learn how to interface and
program a 16x2 LCD using the LiquidCrystal library. - Gain experience with PWM
to control an RGB LED. - Use the millis() function for non-blocking
time-based operations. - Learn basic embedded programming
concepts such as digital input/output, flags, timing,
and event handling. - Build a practical system that
responds to real-world events.
Applications
This motion
detection system has a wide range of practical applications:
- Home Security Systems: Detect unauthorized movement
and activate lights or alarms. - Automatic Lighting: Turn lights on when someone
enters a room and off after leaving. - Energy-Saving Devices: Control lights or fans based
on room occupancy. - Interactive Exhibits: Trigger lights or displays
when a visitor is nearby. - Smart Home Automation: Integrate with alarms,
cameras, or smart lighting systems. - Intruder Alarms: Alert homeowners to unexpected
motion. - Visitor Counters: Track movement into and out of
areas like stores or exhibitions. - Pet Monitoring: Detect pet activity and
respond accordingly (e.g., lights or cameras).
Comments (0)
Project Overview
This project demonstrates a basic motion detection system using a PIR sensor, an RGB LED, and a 16x2 LCD display (No I2C), all controlled by an Arduino board. When the system detects motion, the RGB LED lights up white and the LCD shows a “Motion Detected” message. After no motion is detected for 10 seconds, the system updates the LCD to “No Motion” and turns off the LED.
This system is ideal for home security, automatic lighting, and interactive environments, providing both visual alerts and real-time monitoring in a compact, beginner-friendly format.
Please download the program code with detail step by step explanation.
