Sie sind auf Seite 1von 6

BOSNIA AND HERZEGOVINA

THE FEDERATION OF BOSNIA AND HERZEGOVINA


UNA SANA CANTON
JU Mjeovita elektrotehnika i drvopreraivaka srednja kola, Biha
Dr. Irfana Ljubijankia 64
www.etsbi.edu.ba
___________________________________________________________________________________________

Web Home Alarm Security

Supervisor: Pra Igor

Student: umi Dalibor

Biha, Maj 2014.

Intruduction
Because of the obvious reasons that prevail in our society, the world in which we live
has two sides, positive and negative. Every day we read in the newspapers, watch on
televisions and listen to radio broadcasts news of burglaries, robberies and other types of
crimes. However, the way to protect our homes against burglaries and other crimes is the
installation of home security systems, whether it is about access control, video surveillance
and alarm systems.
In addition to these problems, we should pay attention to people with disabilities.
People with disabilities are often immobile, unable to perform activities that non-disabled
people can very easily perform, such as turning on lights, a variety of devices, appliances and
many similar things.
Thanks to the development of open-source hardware platform such as the Raspberry
Pi and Arduino, men and engineers got an opportunity to secure their homes with very little
financial cost compared to standard alarm systems. In addition to securing homes, there is
the possibility of remote control of home appliance, lighting and stuff like that from a
distance.
Alarm systems are one of the most effective ways to protect our homes and
businesses. Alarm systems consists of a sensor system, alarm center and panel / interface. In
this project, as alarm center is used currently the smallest computer in the world - Raspberry
Pi and as a panel / interface something completely new - a dynamic website. In this project
are sued magnetic contacts for doors, cabinets tamper contacts, motion sensors, gas and
smoke sensors, rain sensors, humidity sensors and temperature sensors.
In addition to these sensors, the solution for people with disabilities is home
automation. This involves connecting the relay panel with RPI computer and through the
website ON and OFF buttons. In the following pages will describe how to use a website of
this system.

Web Home Alarm Security


As the interface of the system is used dynamic website. In project were used
programming languages: pHp, CSS, HTML and JavaScript. In addition, the Raspberry Pi
computer uses Python as the main program of which depends websites. The main program
loads the sensor state and sends a PHP script information about these sensors.

Website consists of four sections :


Alarmni nadzor ( alarm monitoring );
Automatizacija ( automation );
Vremenska stanica ( weather station ) i
Video nadzor ( video monitoring ).

The first section includes oversight of control over input-output units such as doors
and windows, oversight of drawers, cabinets or safes and motion detection. For monitoring
the input-output units are used magnetic contacts that are connected to the RPI computer,
and in the main program are set by PULL_UP techniques. Then, for monitoring the drawers,
cabinets or safes is used tamper contact that connects on the same principle as magnetic
contacts. Finally, for the motion detection is used PIR (Passive Infrared) sensor that when
detects a movement, then generates a logical signal "1" and sends it to RPI computer. The
following figure shows the section "Alarm monitoring".

Figure 1. Section "Alarmni nadzor"

As seen in the figure, it provides four monitoring units. Condition of these units is
updated every three seconds and the state depending on events.

The second section involves control devices or appliances such as in the case of
lighting, ventilation and audible alarm. Automation is done by simply clicking on the buttons
"Ukljui" to activate the device and "Iskljui" to turn off the device. This system as software
uses PHP and Java scripts, and as hardware the relays.

Figure 2. Section "Automatizacija"

The third section shows the weather conditions as you can check for air humidity,
temperature, and the possibility of harmful gas emissions into the air. In addition, it can be
checked whether it rains or not using rain detector. For the detection of harmful gas
emissions is used MQ-2 sensor for smoke, gas and alcohol. For temperature measurement is
used Dalass DS18S20 digital thermometer and for humidity measuring is used DHT22 that
can also measure the temperature.

Figure 3. Section "Vremenska stanica"

The fourth and last section shows that it can be easy make video monitoring by using
a simple USB web camera. Every three seconds a new image appears, which is generated by
the main Python program.

Figure 4. Section "Video nadzor"

It should be noted that the Raspberry Pi can connect to wireless internet, give to
Raspberry Pi a static IP address and we can use that IP address to access website on a laptop,
tablet or smart phone and thus make it easier access regardless of location.

Conclusion
Again, thanks to the development of open-source hardware platform such as the
Raspberry Pi and Arduino, men and engineers got an opportunity to secure their homes with
very little financial cost compared to standard alarm systems. In addition to securing homes,
there is the possibility of remote control of home appliance, lighting and stuff like that from
a distance.
What are the advantages of these alarm systems? In terms of ordinary citizens do not
require large financial costs, it can be easily adapted to human needs, makes a easy way of
life and make it safe. In terms of electronics engineers and hobbyists, it presents them the
opportunity to do what they've always dreamed about - smart house controlled wirelessly.
Most attention should be paid to manage devices through wireless control. What this
allows us to? It allows us to control the things that we would not for a moment think that
they can manage such as lighting, household appliances, electric motors and many other
machines, devices, compositions, etc.
This system can be implented in family homes for family needs, the security for for
the company building and what's important - the bosses who are absent to follow through
their smart phones for what happens while they are absent, then monitoring their workers,
then in dormitories or campuses as for example when a student uses a laptop at
unauthorized times, chief educator can easily through the website shut down the flow of
electricity in room. In addition, this system is great help for people with disabilities.
The implementation of this system is guaranteed in all business and private sectors.

Das könnte Ihnen auch gefallen