The thesis describes the development of a solution for upgrading classical indoor house installation to a "smart" automated building. It comprises planning of the system, choosing the hardware, preparation of the working environment, prototyping circuits and prototyping software.
The system consists of a control part that contains the mini-computer Raspberry Pi, of user interface software that runs on Android smartphone, of a microcontroller subsystem and of sensors on the I2C bus.
Microcontroller subsystem is completely modular and can be optionally upgraded. With one subsystem, we can regulate 16-channel dimmable lighting. By adding I/O modules, we can control up to 56 digital signals (DI/DO). Actuating buttons, motion sensors and relay modules that control motor drives for raising and lowering window blinds are connected to digital input/output modules. To control a larger number of consumers, we can add complete microcontroller subsystem.
Our prototype system contains a microcontroller module, two DI and two DO modules. DO module controls a four-channel relay module for controlling blinds. Motion sensor, push-buttons for controlling lights and push-buttons for controlling the roller shutters are connected to a DI module. Dimmer module has four channels. We are using one temperature sensor to demonstrate adding sensors to the system.
Mini-computer Raspberry Pi, the microcontroller sub-system and the sensor are communicating over I2C communication bus. The Raspberry Pi is placed into the role of the master device.
The control system allows us to connect multiple smart phones with the control system. In the final test, we have connected eight smartphones at once, while operating the microcontroller by the local push-buttons. The system remained functional and well responsive
|