Security Proof


Overview

The purpose of this project was to develop a security system that detects the movement of an object inside the box. Before the object is moved, the first alarm system must be deactivated by typing in the correct passcode on the touchpad and saying the right command through the microphone. Second alarm system is activated after the object is removed. The camera will start to take pictures and upload them to the SD card. A second voice command must be said to deactivate this alarm or the alarm will go off.

Team Members

  • Twanika Douglas
  • Vince Li

Pictures /media/uploads/tdouglas6/img_20141206_133635532.jpg /media/uploads/tdouglas6/img_20141206_123421639.jpg /media/uploads/tdouglas6/img_20141206_133650559.jpg /media/uploads/tdouglas6/img_20141206_133654611_hdr.jpg

Components

  1. 2 NXP LPC1768 Microcontrollers
  2. 2 IR Distance Sensors
  3. 2 uLCD
  4. 2 EasyVR
  5. JPEG Color Camera
  6. Touch Keypad
  7. SD card and reader
  8. 8Ohm Speaker

Connections

128 x 128 uLCD Color LCD

uLCDMBED
5VVU (5V)
GndGnd
RXp28
TXp27
Resetp11

IR Distance Sensors

The sensors need 5V to work. Pins p15 through p20 can be used for the analog connection from the sensors to the mbed.

EasyVR

EasyVRMBED
VccVout (3.3V)
GndGnd
RXp13
TXp14

JPEG Color Camera

The camera was placed on the second mbed.

CameraMBED
VccVU (5V)
GndGnd
RXp13
TXp14

Touch Keypad

Touch keypadMBED
VccVout (3.3V)
GndGnd
SDAp9
SCLp10
IRQp26

SD Card

Touch keypadMBED
VccVout (3.3V)
GndGnd
CSp8
DIp5
SCKp7
DOp6
CD

Speaker

The speaker can be connected to any of the pins from p15 to p18. VU or Vout can be used as well.

Demo

Code

For the first alarm system:

Import programSecurity_Proof

A security system that detects the movement of an object in a box using IR distance sensors

For the second alarm system:

Import programSecurity_Proof_2

A security system that is activated after the object is removed from the box.

Problems Encountered

  • Audio files not playing and locking the program in a loop.
  • Late detection from the left sensor once the object was removed.
  • uLCD code would execute and then lock the program in a loop.
  • Distance sensor sensitivity was strongly affected by the lights in the lab.

Further Implementation

  • Add facial recognition with webcam
  • Bridging a serial connection between the two mbeds
  • Add audio files to the first alarm system
  • Add more sensors and/or other components


Please log in to post comments.