Smart Home Security System CSE 326
Smart Home Security System CSE 326
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.
• 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
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
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.
PAGE 4
Illustrative Representations
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
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.
PAGE 8