Skip to content

LucaMeschiari/Burglar-Alarm-FreeRTOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Burglar Alarm System

Declaration
The Burglar Alarm Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

The Burglar Alarm Project is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details. See <http://www.gnu.org/licenses/> for a copy of the GNU General Public License.

Program overview
The program developed is a simple house burglar alarm system, it uses 4 sensors to check if there is any effraction, 4 led to signal on what sensor the anomaly is sensed and a touch screen to give the user the basic informations about the system and get input from the visualized virtual keyboard.
The sensors are simulated by 4 pushbutton connected to the I2C controller and the first sensor(so the first button) is assumed to be the one connected to the front door.
The system has 3 main states:
Not armed: when the alarm is turned off
Armed:when the alarm is turned on and is checking for effractions
Alarm: when the system has recognized an anomaly on one of the sensors and so is ringing.
There is also one more state that I have introduced to allow the user to have 30 seconds to deactivate the system when he enter from the front door before the system pass in the alarm state. This fourth state is called in this project Pre-Alarm state.
The activation and the deactivation of the system, since there is only the fully armed option, is done entering a for digits code code. (The code used is 1-2-3-4).
The touch screen lcd display offers a graphical interface to the user communicating the state of the system also informing the user on the amount of time remaining if the sensor 1 is triggered (in the armed state) before switching to the alarm state. it also show a virtual numeric keyboard which can be used to enter the code to manage the system, the code inserted is shown on the screen and in case a wrong code is typed an error message appears on the screen to notify the user.
The LEDs will show the sensors who has detected the effraction (only when the system is in Alarm state) and also if another sensor is triggered its corresponding LED would be turned on. Thanks to that the user can have a full overview of the state of the system.


Check readme.pdf for the complete documentation.

Copyright (c) 2012 Luca Meschiari <[email protected]>  <http://www.lucameschiari.com>.

About

Burglar Alarm implementation for a FreeRTOS embedded system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published