Skip to content

Filipanderssondev/course3_projectgroup2_security_system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

136 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SAFE - Security system

Project Group 2 - Course 3
Assignment to summarize our third course and prepare for the next.
Contributors: Sabina, Alexander, Filip, Jacob, Johan

SAFE Security system

File tree/Structure:

course3_projectgroup2_security_system/
├── docs/
│   ├── Assignment/
│   │   └── Projectassignment.pdf
│   ├── Functionality/
│   │   └── Variable & function-list.md
│   └── Instructions/
│       ├── Arduino_IDE.md
│       ├── connect.md
│       └── manual.md
│   
├── src/
│   └── SAFE_AlarmSystem_V1/
│       └── SAFE_AlarmSystem_V1.ino
│
├── tools/
│   ├── Saf.png
│   ├── SAFE_Alarm_System_V1.png
│   └── SAFE_Alarm_System_V1_Schematic.pdf
│
└── README.md 

Links that we have used during the construction of our prototype


Overview:

Develop a security alarm system that detects motion using an infrared sensor. The alarm system consists of the following components:

  • Infrared motion sensor - detects movement.
  • One buzzer - signals when motion is detected and when the alarm is activated.
  • Pushbutton - deactivates the alarm.
  • LCD display - outputs the current alarm status (on/off/alarm triggered).
  • RGB-LED - indicates system status: Green = alarm is off and red = alarm is on.

Components (no extensions included):

  • One Arduino Uno R4 Wifi or other compatible controller
  • One breadboard
  • One buzzer
  • One LCD display
  • One *infrared sensor
  • One pushbutton
  • One RGB-LED (can be replaced by a red and green LED)

Potential extensions (if time and resources are available):

  • Replace pushbuttons with a keypad for code entry.
  • Replace current LCD display with a LCD I2C-display
  • Enable admin access to change the personal password.
  • Expand with servo function (door latch).
  • Expand the alarm with diffrent sensors for example ultrasound or vibrationdetector.

Instructions for usage:

Follow these instructions to build a complete prototype.

  1. Connect the hardware. Link to instructions to connect physical hardware
  2. Build code using C++/Arduino IDE. Link to source code
  3. Schematics for prototype. Link to schematics
  4. Manual for completed prototype. How to use the device

  • System Requirements – SAFE Security System

    • Hardware

      • Microcontroller:
      • Arduino Uno or compatible board.
      • Minimum 13 digital I/O pins (9 used: pins 2–12).
      • RAM: 2 KB is sufficient.
      • Flash memory: Approximately 5–10 KB used (Uno has 32 KB – more than enough).
    • Required Components:

      Component Pin(s) Description
      LCD Display (16x2) RS (11), E (12), D4 (2), D5 (3), D6 (4), D7 (5) Displays system messages
      PIR Motion Sensor Pin 6 Detects motion
      Pushbutton Pin 10 Turns alarm mode ON/OFF and stops the alarm
      Buzzer Pin 9 Sounds when motion is detected
      Red LED Pin 7 Blinks when alarm is triggered
      Green LED Pin 8 Indicates system is active and in standby mode
      • Power Supply:
        • 5V via USB or an external power source (e.g. 9V adapter).
  • Software

    • Requirements:

      • Arduino IDE (version 1.8.x or higher recommended)
      • LiquidCrystal Library (included by default in Arduino IDE)
  • General notes:

    • This code is designed for entry-level Arduino boards like the Uno or Nano.
    • It does not require additional memory or advanced features.
    • All functionality fits well within the limitations of the Arduino Uno.
    • All components used are commonly available in be

About

Chas Academy Software developer C/C++, course 3, projectgroup 2: Security system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages