Professional Documents
Culture Documents
Abstract—This project exposes the guidelines and activities this drags. The significance of this project lies in the
carried out for the design and implementation of a prototype for technological advance implemented for its realization, by
the supervision and monitoring of lights and electronic devices having open-source platforms such as Raspberry Pi and
through a PBX, using a wireless solution based on IoT, which Arduino that will help in its implementation. With this design,
serves as a base for the search of technological solutions using
platforms of access and development as Arduino and Raspberry,
resources can be managed remotely from a PBX.
obtaining energy and economic savings. Likewise, seeks to At present, all companies have to comply with the
optimize the variables of time, cost and benefit that can provide the standards and characteristics that differentiate them from
communities the use of domotic systems, the use of the necessary others, which make them better regarding service standards
resources provided by data networks and telecommunications to and quality. The same organizations develop these activities
perform actions remotely. For this, VoIP systems are used, with the firm intention of being better every day. For this
converting the Raspberry card into a PBX plant with software on reason, you would not have a contrary implementation, much
a server based on Asterisk. With respect to IoT, its four pillars more knowing that it will help to have very relevant monetary
(People, Processes, Data and Things) have created the need to savings. This exciting project describes the current structure
have a society that empowers the new generations of digital of the connections, and the prototype design will solve the
citizens who understand the emerging technologies offered by IoT,
problems presented. Likewise, its operation and what it
the impact it has on the community, the widespread adoption of the
same and the correct application of the information captured. For represents for home and business will be exposed, to improve
the prototype we have used components (sensors) that can work, the efficient use of resources and thus offer a more effective
or that can act as a starting point for an IoT solution such as solution to the management of lights and electronic devices.
LoRaWAN, since the traffic that must be sent does not require The main benefit of this implementation is the care of the
wide bandwitdhs. For the development of the project, the authors environment, this in its effect will bring results with
used the methodology of descriptive and applied research. economic and social impact. This will be carried out with the
support of Raspberry Pi and Arduino electronics prototyping
Keywords—control; home automation; VoIP; Raspberry Pi platforms, since these allow to program, for the site, the
3; asterisk; PBX; Arduino required needs, and will have monitoring sensors to control
consumption, motion sensors for control of the lights, by
I. INTRODUCTION means of which it is determined according to specific
The management and efficient use of resources are parameters or Patterns. When it must be turned off
increasingly essential in companies, universities, homes and concerning the time of inactivity and to program schedules of
everyday life in general, they no longer belong to a select on and off according to the day of the week; all this
group of people, but are necessary for many human beings programming can be managed in the elements using a PBX
around the world. At present, in most situations, lights and remotely that will help to implement the home automation of
electronic devices are used independently and without any the place.
management that allows their efficient use, but above all
pointing to the saving of resources that is also very linked to II. THE MATERIAL AND METHOD
the monetary factor. Global trends in saving resources have
A. Description of the Problem
the first place so it is beneficial to connect the lights and
electronic devices in this approach, since they are critical The population increase and multiplication of needs have
points of daily consumption and that by managing them reflected greater consumption of natural resources, making
efficiently you can have significant savings. Electronic the production of electric energy one of the fundamental
platforms such as Raspberry Pi and Arduino will implement priorities of the human being. Without taking into account
the management of these resources, which will be the basis of that the indiscriminate use of electricity deprives a natural
the prototype since with them you can have a simple wall that has been handed over to humanity for its survival.
administration managed remotely from a PBX, which will Including that the economic scourge that is affected with all
add a lot of friendliness to its use. the activities that derive from it as industrial activity, the
The purpose of this project is to implement a device to degradation of the elements in ecosystems, the multiple uses
manage the efficient management of resources in lights and of soils and another without the number of operations that
electronic devices in a home and corporate environment. This limit the free environmental development. If only the use of
proposal seeks to improve the use of resources, which is an luminosity in homes is defined, it is easy to observe how
excellent point of great importance at present both for the care unnecessary spending causes cultural, social and
of the environment, as well as for the monetary savings that psychological changes in each belonging to the geographic
core. The traditional management provided by this practice hospitals or care centers for the elderly. The second part
without feeling belonging to know new technologies that consisted of the constant monitoring of the variables of
protect and improve the quality of life in people generates temperature and heart rate of the patients to whom the
high costs in homes, they contribute to environmental application sense, with the aim of sending an alert to medical
damage, expenses in electronic accessories that can even personnel, in case any of the variables mentioned above are
cause incidents in the infrastructures. outside of the established range. Barahona and Huilcapi [3]
The implementation of the domotic economic system in their research "Design and Implementation of a Domotic
allows users to have control of the use of energy through the Control System Supervised by a Mobile Phone Using the
prototype designed that reveals that electronic devices are on Asterisk" showed the design and implementation of a home
or off, and which should remain in that state. The energy automation control system supervised by a mobile phone by
saving is considerable in this way, which contributes to using Asterisk. The system allows access to a menu by voice
environmental care and generates awareness of the or interactive voice response (IVR) by making a call to an
appropriate use that must be given to maintaining the natural extension to access a series of actions which are executed by
balance of ecosystems. The prototype reduces the probability pressing a key on the mobile phone. Rueda and Vargas [4] in
of fires caused by short circuits because it controls the state their project "Design and implementation of a domotic
of electronic devices at times when the electrical conditions system for home security controlled via central Asterisk and
are not optimal for its operation. Likewise, it will contribute Arduino hardware interface." made the design and
to the economic saving of households that pay excessive bills implementation of a home automation system based on the
due to the misuse of electrical energy, for example, by free technologies of Asterisk and Arduino, for the
controlling the intensity of the bulbs. It is worth mentioning development of an alternative in the security of the home.
that the use of new technologies that limit the electrical This system would serve as a base for the search of
demand allows researchers and scientists to find appropriate technological solutions from platforms of free access and
techniques for energy. Finally, monitoring the consumption development. Hernandez et al. [5] designed a prototype based
of the equipment allows the customer to measure the energy on sensors to measure environmental conditions of a data
savings achieved with the system, motivating the efficient use center. For this, they used the DTH11 sensor, which this
of electrical networks and combating the environmental project will implement. There are several investigations about
deterioration caused by the high generation of fuels for the Internet of Things. The studies carried out by Etzion [6],
electric power. Gubbi [7] support this work. For PBX configuration with
Currently, there are intelligent systems for the control of Asterisk, the investigations made by Mohammad [8] and
devices using, PIC, microcontrollers, PLC, among others. Maksimov [9].
This project seeks to use new tools for the implementation of The Internet has evolved in ways that we could never have
home automation, which leads to research new technologies imagined. In the beginning, advancements occurred slowly.
such as the use of free hardware interfaces such as Raspberry Today, innovation and communication are happening at a
PI and Arduino by coupling the cards to the concept of remarkable rate. Fifty billion things provide trillions of
wireless interconnection as the Internet of Things. Create an gigabytes of data (estimated number of devices connected to
efficient demotic system achieving economic, social and the Internet in 2020) [15]. There are a lot of applications and
environmental benefits, which allows people to efficiently technologies that can work with IoT. Lee in his research [11]
manage their electronic devices and luminaires through PBX, explains five techniques for the development of IoT. Bauer in
without having to get up to push a button or have to be at his study [12] shows the IoT reference model, which provides
home to be able to turn off or turn on a light bulb because IP several concepts and definitions. IoT has positively impacted
telephony will do the communication. All this focused on several productive sectors. Hernandez et al. [13] in their
saving electricity, the comfort of individuals and the help this research highlight the importance for higher education
project can provide to people with mobility problems. institutions of the development of IoT projects, their
participation in the industry and their influence in today's
society.
B. Domotic Systems and IoT. A Literature Review
C. Electronic Relay
The Relay is an electronic device that functions as a
switch controlled by an electrical circuit in which,
employing a coil and an electromagnet, a set of one or
several contacts is activated that allow opening or closing
Fig. 1. Phases of the Project other independent electric circuits. The project used a
wireless relay, which is an adaptive RF receiver codec with
The topology of the network to develop is similar to that a single channel relay. This component helps in the smooth
exposed by Serkov et al. [14] in their research, shown in Fig. implementation of wireless AC control technology for
2. The author configured an Asterisk server to connect to a electrical appliances. This device will allow the control of
Wireless Access Point, and through the Wireless network electrical flow for equipment that allows on and off through
control attacks from external devices, be these Wireless it including connected equipment that is not used and thus
phones or laptops unauthorized. avoid waste of energy.
purpose.interface eth0
static ip_address=192.168.0.4/24
static routers=192.168.0.1
static domain_name_servers=192.168.0.1
Fig. 5. AP – GUI