Indiana Jones Style Security Sensor with Keypad
For our project, we decided to create a security sensor akin to the ancient traps that Indiana Jones encounters. This project uses a speaker connected with a MOSFET, a microSD reader, a uLCD-144-G2 LCD screen, a Sparkfun Touch Keypad and an IR sensor. The LCD screen displays the status of the alarm: "ARMED" if the object is still in place, "MISSING!" if the object is removed without entering the correct code, or "DISARMED" if the correct code is entered. After pressing four numbers on the keypad, the number entered is displayed and either "INCORRECT" or "Take your item" will appear. If the correct code is entered, the timer will count down from 20, during which time the item can be removed and replaced without the alarm sounding. The alarm will re-arm following the 20 seconds.
An incorrect passcode being entered:
A correct passcode being entered:
Components | Link |
---|---|
IR Sensor | |
Speaker | |
Sparkfun Touch Keypad | http://developer.mbed.org/components/MPR121-I2C-Capacitive-Touch-Keypad/ |
uLCD-144-G2 | http://developer.mbed.org/components/MPR121-I2C-Capacitive-Touch-Keypad/ |
SD Card Reader | http://developer.mbed.org/components/SD-Card/ |
LCD Screen
LCD Pin | mbed Pin |
---|---|
1 | P29 |
2 | GND |
3 | P28 |
4 | P27 |
5 | VU |
IR Module
IR Pin | mbed Pin |
---|---|
Yellow | P20 |
Black | GND |
Red | Vout |
Touch Keypad
Keypad | mbed Pin |
---|---|
VCC | Vout |
IRQ | P26 |
SCL | P10 |
SDA | P9 |
GND | GND |
Micro SD
Micro SD | mbed Pin |
---|---|
D0 | P6 |
GND | GND |
SCK | P7 |
VCC | Vout |
D1 | P5 |
CS | P8 |
Import program4180Lab4AlarmSystem
IR Sensor Security System using a touch keypad, micro SD reader and a speaker.
Please log in to post comments.