The aim of my thesis was to build a home alarm system. An alarm system is a set of components that controls a specific protected object and informs competent authorities about unusual events. It consists of a control unit, a stack of sensors and a remote server. The control unit uses the sensors that constantly receive data from the environment, to monitor the assigned space. Should the data deviate from optimal values, a signal is sent to authorities. The remote server runs a web application, where the settings of the system can be monitored.
The thesis describes the structure of the whole system – from the control unit of the system to infrared motion sensor, magnetic sensor, gas sensor, remote server and GSM module. After this it deals with the initialisation of the sensors, their interrupt routines and serial communication with microcontrollers. Finally, it discusses the Raspbian operating system and a web application, where the state of the system can be monitored and its settings adjusted. The final product is a fully functioning, efficient and affordable alarm system for home control.
|