System inteligentnego budynku z wykorzystaniem platformy Arduino i telefonu z systemem Android
Intelligent building control system with the use of Arduino platform and Android smartphones
Streszczenie
Przedmiotem pracy dyplomowej jest zagadnienie automatyki budynkowej, popularnie określanej
terminem „inteligentny budynek”. System składa się z dwóch elementów: centrali mikroprocesorowej
wyposażonej w kartę sieciową, zbudowaną na platformie Arduino oraz dedykowanej aplikacji sterującej
pracą systemu uruchamianej na telefonie z systemem Android. Oba te elementy komunikują się za pomocą
sieci Internet.
Centrala wraz z obudową jest przystosowana do montażu w rozdzielnicy elektrycznej budynku.
Urządzenia peryferyjne (lampy, gniazda elektryczne i inne) kontrolowane są z wykorzystaniem
przekaźników. Każde urządzenie może być sterowane z aplikacji lub ręcznie za pomocą fizycznych
przycisków podpiętych do centrali. Do odczytu temperatury zewnętrznej i wewnętrznej służy wejście
scalonych czujników temperatury. Centrala posiada również dedykowane wejście alarmowe.
Dzięki przejrzystemu interfejsowi graficznemu, aplikacja zapewnia użytkownikowi możliwość
wygodnego odczytu parametrów systemu i sterowania jego systemem. Graficzne kontrolki pozwalają
zmieniać stan podłączonych urządzeń peryferyjnych – niezależnie do fizycznych przycisków podłączonych
do centrali. Dodatkowo wyposażone zostały w wirtualne ikony informujące o zmianie stanu danego urządzenia w czasie rzeczywistym. Zarejestrowane wartości temperatury wyświetlane są w dedykowanej
zakładce aplikacji i również można je śledzić w czasie rzeczywistym. Naruszenie wejścia alarmowego
centrali powoduje wybudzenie urządzenia z uruchomioną aplikacją i wyświetlenie ekranu alarmowego wraz
z dźwiękiem syreny.
Abstract
The subject of the thesis is the issue of building automation, commonly referred to as an intelligent
building system. Proposed solution consists of two components: a microprocessor control panel equipped
with a network card (based on the Arduino platform) and a dedicated control application running on an
Android phone. Both of these elements communicate via the Internet.
The control panel and its enclosure is designed for installation in the building's electrical switchboard.
Peripheral devices (lamps, electrical outlets and others) are controlled by relays. Each device can be
controlled from the application or manually with physical buttons attached to the control panel. Integrated
temperature sensors (used for outdoor and indoor temperature measurements) are connected to dedicated
inputs. Additional input is also designated as an alarm function.
Thanks to its clear graphical interface, the application provides the user with the ability to conveniently
read system parameters and control its state. Graphic controls allow the user to change the state of the
connected peripheral devices – in parallel to the physical buttons connected to the control panel. In addition, virtual icons inform (in real-time) about the state of each output. The registered temperature values are
displayed in the application on a designated screen and also can be tracked in real time. Violation of the
dedicated alarm input awakens the device with the running application and displays the alarm screen with the
sound of the siren played back to draw the attention of the user.