0% found this document useful (0 votes)
95 views

Smart Home Security System CSE 326

This project implements a customizable home security system using an Arduino, keypad, motion sensor, push button, LED, and alarm. The system responds dynamically to input from the keypad and sensors, changing states to activate security measures according to detected motion or invalid keypad entries. It provides adaptable security tailored to individual household needs.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
95 views

Smart Home Security System CSE 326

This project implements a customizable home security system using an Arduino, keypad, motion sensor, push button, LED, and alarm. The system responds dynamically to input from the keypad and sensors, changing states to activate security measures according to detected motion or invalid keypad entries. It provides adaptable security tailored to individual household needs.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Smart Home Security System

with Keypad Control

Radowan Islam

Date: 08.12.2023

Course Title: Computer Peripherals
and Interfacing Lab


Course Code: CSE 326

Teacher’s name: Tazeen Tasneem
Introduction

This project centers on leveraging Arduino and diverse components to enhance home security
measures through a tailored security system.

• Importance of Personalized Security


Creating personalized security systems for homes is crucial. Off-the-shelf solutions often fall short in
meeting individual household needs. This project addresses this gap by emphasizing a customizable
approach to home security.

• Problem Statement
The challenge is to design an effective security system using Arduino and components, aiming to
elevate the security standards of homes beyond conventional methods.

In essence, this project aims to revolutionize home security by utilizing technology to create adaptable
and personalized security solutions.

Objective

Aim: Create a versatile home security system integrating a keypad, motion sensor, and alarm for
robust security measures.

Rationale: Address the necessity for a flexible security system capable of adapting to diverse
home settings. This project aims to provide an adaptable security solution catering to varying
household needs.

PAGE 2
Methodology

Components and Connections

Hardware Setup:
• Keypad: Connect the row pins (2, 3, 4, 5) to the keypad's rows and the column pins (6, 7, 8, 9)
to the columns.
• Liquid Crystal Display (LCD): Connect the LCD to the Arduino. [Include details of the
connections here, e.g., data pins, power, and ground connections]
• LED: Connect the LED's anode (longer leg) to pin 10 (greenLEDPin) and the cathode (shorter
leg) to ground or through a current-limiting resistor.
• Motion Sensor: Link the output pin to pin 12.
• Push Button: Connect one leg to pin 13 and the other to ground.
• Alarm: Ensure proper connection of the alarm pin to pin 11 for sound output.

Code Implementation

Arduino Code Structure:


• Keypad and Sensor Initialization: Define the keypad layout (4x4) and assign pins
(rowPins and colPins). Initialize sensor pins (motionSensorPin, pushButtonPin) and output
pins (greenLEDPin, alarmPin).
• Display Initialization: Configure the LCD setup, including initializing the library, defining
display dimensions, and setting up backlighting.
• System Logic Implementation: Code for system activation, deactivation, keypad entries,
and sensor inputs.
• Display Output: Utilize LCD commands to showcase prompts, system statuses, and user
feedback based on input and sensor data.

PAGE 3
Results/Outcome

System Behavior

1. Keypad Entry:
The security system responds dynamically to keypad entries. Correct inputs activate system functions,
enabling access or system deactivation. Incorrect entries prompt error messages and may lead to
security protocol initiation, such as the activation of an alarm after multiple failed attempts.

2. Motion Detection:
Upon detecting motion, the system responds by assessing the current state. Motion triggers a
potential activation of the security system or alters the system's response based on whether it's
already active or inactive. For instance, motion might activate or deactivate certain functionalities
based on the system's current status.

3. Push Button Interaction:


Interactions with the push button influence the LED (light) behavior. Its engagement might toggle or
trigger responses, such as enabling or disabling LED (light) based on the system's active or inactive
status.

4. LED and Alarm Activation:


The LED and alarm components play a pivotal role in visual and auditory feedback. The LED
illuminates or dims based on system states or responses to inputs like motion or keypad entries.
Similarly, the alarm system activates based on predefined conditions, potentially signaling security
breaches or alarming situations.

PAGE 4
Illustrative Representations

1. Keypad Entry Flow:


A flowchart delineating the sequence of actions triggered by correct or incorrect keypad entries. It
showcases how the system navigates through various states based on user inputs, guiding access or
activating security measures.

PAGE 5
2. State Transition Diagram:
An illustrative diagram showcasing the system's state changes influenced by keypad entries, motion
detections, and push button interactions. It visually outlines the transitions between different system
states and the conditions triggering those transitions.

PAGE 6
3. Motion Detection Chart:
A visual representation, perhaps in the form of a table or diagram, depicting the system's responses to
different levels or instances of motion detection. It illustrates how the system reacts to varying
degrees of motion intensity or frequency.

Conclusion

Summary and Achievements


This project successfully implemented a versatile home security system integrating a keypad, motion
sensor, push button, LED, and alarm functionalities. The system demonstrated robust responses to
user inputs and sensor detections, enhancing home security measures effectively.

Significance of the Security System


The developed security system holds paramount importance in providing customizable and adaptable
security measures tailored to diverse home environments. Its ability to respond dynamically to
various inputs and sensor activations signifies its pivotal role in modernizing home security.

PAGE 7
Future Enhancements
To further augment its capabilities, future enhancements could focus on integrating additional
sensors for expanded surveillance coverage or implementing remote monitoring features. These
improvements would elevate the system's functionality and broaden its scope in ensuring
comprehensive home security.

References

Libraries Used:
1. Keypad Library: Mark Stanley, Carmine Noviello, v3.1.1,
Link: https://github.com/Chris--A/Keypad
Description: Used for interfacing and managing keypad inputs.

2. Adafruit_LiquidCrystal Library: Adafruit Industries, v1.0.7,


Link: https://github.com/adafruit/Adafruit_LiquidCrystal
Description: Utilized for controlling the Liquid Crystal display.

3. Wire Library: Arduino, v1.0,


Link: https://www.arduino.cc/en/reference/wire
Description: Employed for communication with I2C devices.

4. Tinkercad: Autodesk, Virtual Simulator,


Link: https://www.tinkercad.com
Description: Online virtual simulator used to prototype the circuit connections

Virtual Project Link:


https://www.tinkercad.com/things/ezTpeGtSXjW-final-dld-project-221410003/editel?sharecode=-
AhiP2jSwQtRA2_n0uFXBdUZMu9LjNzZj8Yucgw-aOM

PAGE 8

You might also like