DIGITAL LIBRARY
DOMOTIC-BASED SETUPS USING A RASPBERRY PI TO INCREASE INTEREST IN COMPUTER ENGINEERING
1 University of Almería (SPAIN)
2 University of Vilnius (LITHUANIA)
About this paper:
Appears in: ICERI2023 Proceedings
Publication year: 2023
Pages: 8472-8477
ISBN: 978-84-09-55942-8
ISSN: 2340-1095
doi: 10.21125/iceri.2023.2159
Conference name: 16th annual International Conference of Education, Research and Innovation
Dates: 13-15 November, 2023
Location: Seville, Spain
Abstract:
The Raspberry Pi consists of a series of numbered pins that can be configured to connect to input/output (I/O) devices. The study of these connections is very interesting as it allows for the analysis of the synchronization mechanisms between the I/O unit and the CPU, with special emphasis on the interrupt system. Understanding the functioning of these synchronization mechanisms is highly relevant in subjects related to Computer Engineering.
In this paper, input/output events have been explored using a high-level language like Python. Several state-of-the-art libraries have been considered for implementing a series of routines related to home automation security.
The main objective is to handle events to control different peripherals that will allow the development of routines related to home automation using a Raspberry Pi 4. To enable the user to manage the platform from anywhere with an internet connection, a unified interface has been created where implemented routines can be executed considering different parameters.
As a result of this work, a series of setups related to home automation security have been obtained, which can be used as didactic and informative material to motivate students in the field of Computer Science and Computer Engineering. Specifically, the implementations derived from this work consist, firstly, of a set of basic setups that have allowed testing and analyzing different sensors independently. Subsequently, these setups have been useful for creating a unified project that uses various sensors/actuators and is controlled from a platform accessible from a mobile phone. The options provided by the unified platform are as follows:
1. Intruder detection: An ultrasonic sensor has been used to trigger an alarm and send a picture to the user's email when an individual is at a distance less than a set value.
2. Fire or high-temperature detection: A temperature sensor has been used to send a message to the user's phone when the room temperature exceeds an estimated value.
3. Alarm deactivation: This option allows deactivating an alarm, for example, to allow entry into a building or house. A code entered through a button allows deactivating the alarm when correct, leading to the opening of a door, for example. Otherwise, the alarm remains connected, and the door remains closed.
Keywords:
Low-cost platform, motivation, Computer Engineering, Raspberry Pi, setups.