Professional Documents
Culture Documents
Artikel 1
Artikel 1
Abstract—In current era, the Internet of Things (IoT) problem. Because, you can observe the system status
is becoming an important part of our daily life. It is via the cloud based log and can turn on/off the devices
employed in a variety of applications like smart cities, remotely like from workplace, university, etc.
intelligent transportation, smart grid, wearables, etc. Moreover, while approaching home, you can turn on
The aim of this project is to contribute to the evolution of
the air conditioner. It will make the home ambiance
Internet of Things (IoT) application in smart homes. It
uses DTMF (Dual Tone – Multi-Frequency) connection comfortable while you reach there. Besides improving
to control the home appliances remotely via a GSM the consumer comfort level, it also makes the system
network. It overwhelms the confines of conventional wall cost effective by lowering the energy consumption and
switches, have to be functioned physically. The idea is to electricity bills. Another merit of a home automation
employ a DTMF decoder through which home system is security. The kids may unintentionally leave
appliances can be controlled by dialing a predefined the door unlocked post catching their bus to school. No
number, via smart phone, for a specific load. It allows to need to worry, in such case, you as the user, can lock
operate the system globally via cellular phone. The the door while you are away from home. Moreover, it
system receives commands from a smartphone, decode it
can allow you to monitor your household appliances
via a DTMF decoder and generates a digital output
which passes through a CMOS based active low decoder and insure safety in your home by using surveillance
and Flip Flops to activate or deactivate an intended load cameras [7, 8]. In this context, several home
in the home. The load activation and deactivation automation systems were put forward [9]. In [10],
activities are also logged on the cloud. It is done by authors have presented an Arduino based home
observing the Flip Flops status via a front-end controller automation system. The Arduino is connected to the
and passing this information to the server via a Bluetooth nearby smartphone via a Bluetooth interface. An
liaison. The server then updates the system status on the Android based application runs on the smartphone for
cloud via the Thingspeak liaison. The front-end switching the home appliances. In [11], authors have
electronics Truth Table and logic diagrams are
employed a similar principle for the home automation.
presented. The system modules are modeled with
Multisim and MATLAB. The simulation results have However, the liaison between the smartphone and the
shown a proper system operation. front-end controller is realized via the Wi-Fi interface.
Another home automation system is presented in [12].
Index Terms— IoT, DTMF, GSM, Smart Home, Front- In this case, the household appliances are remote
End Electronics, ThingSpeak controlled with an Infrared (IR) tele-command.
Methods presented in [10, 11, 12] share a common
I. INTRODUCTION limitation that is the range of reception. For instance,
a typical Wi-Fi router extends its reception to around
The Internet of Things (IoT) refers to devices which 32meter. The communication range of Bluetooth
are mutually connected via the Internet [5]. It is similar module extends to 9m and for the reception range of an
to devices talking to each other in order to improve the IR module it is only 6m. It limits these systems
quality of our life. The IoT is an important wide functionality within or around the intended homes.
spreading technology. Recently it is employed in a In order to overcome the above mentioned
variety of applications like smart cities [1], wearables drawbacks the devised home automation system is
[2], smart grid [3], smart agriculture [4], etc. based on the Global System for Mobile
Communications (GSM) Network [14]. It is a
An interesting application of the IoT is a home
continuation of the worked presented in [13]. The idea
automation system. It allows to remotely control the
to employ the GSM based liaison between the
home appliances such as light, air conditioner, curtains,
smartphone and the front-end electronics module. It
door lock, laundry, oven, etc. It shows many
allows to globally control the intended home
advantages like consumer comfort, energy
appliances via the smartphone. Moreover, the home
conservation, etc. [6]. For example, forgetting to turn
appliances status is periodically logged on the cloud. In
off lights, when leaving out of home, would not be a
52
this way the intended appliances status can be globally
supervised at any time. It allows a timely interaction
and cure in case of need.
53
as its brain. It is configured via a C based specifically enables and can have any value between 1, 2, 3, and 4.
developed application. The command memory outputs Table 2: The Truth Table of DTMF Decoder [18].
present the concerned device status. These outputs are
continuously monitored by the front-end controller.
The updates are shared with the server via a Bluetooth
Low Group High Group
interface. At the end of front-end controller, the (Hz) (Hz)
Digit D2 D1 D0
BC417 Bluetooth stick is employed for this purpose
[16]. On server side the Bluetooth port is linked with
this stick. For he studied case the server is realized 941 1633 0 0 0 0
with a Windows operating system based personal 697 1209 1 0 0 1
computer (PC) which is configured by employing a 697 1336 2 0 1 0
specifically developed MATLAB based application 697 1447 3 0 1 1
[17]. 770 1209 4 1 0 0
The front-end module function is clear from Table 770 1336 5 1 0 1
1 and its logic diagram shown on Figure 9. It shows 770 1447 6 1 1 0
that the user will first make decision on what appliance 852 1209 7 1 1 1
he wants to control, and according to table 1, he will Table 3: The Truth Table of employed Decoder.
dial a certain digit via smartphone. The system
functionality is illustrated with the help of following Inputs Outputs
example. ̅
E A1 A0 ̅̅̅0
O ̅̅̅
O1 ̅̅̅2
O ̅̅̅3
O
Let us suppose that after consulting the cloud based 1 X X 1 1 1 1
system log. The user decides to turn on lights in the 0 0 0 0 1 1 1
intended home. At first step he establishes the liaison 0 0 1 1 0 1 1
with the GSM receiver, connected to the front-end 0 1 0 1 1 0 1
electronics (cf. Figure 1). It is done by calling the 0 1 1 1 1 1 0
receiver through the GSM network [13, 14]. Then he Table 4: The Truth Table of employed D-Latches.
dials ‘1’ (cf. Table 1). The command is received by the
GSM receiver and is later on conveyed to the DTMF Previous
Inputs Outputs State
Value
receiver via a USB port. The DTMF receiver decodes
the command and generates a binary code of ‘001’. It ̅̅̅
EA D Qprev. QI 𝐐𝐢
means that both D2 and D1 are ‘0’and D0 is ‘1’. The
process is further clear from the DTMF decoder Truth 0 X X Qprev 1 Hold
Table, shown in Table 2.
The D2 and D1 will act as the selection lines of the 1 0 X 0 1 Reset
active low decoder, the output O0 will be activated (cf. 1 1 X 1 0 Set
Table 3). Being an active low decoder the active output
O0 will be turned to ‘0’. The deactivated outputs, O1,
O2 and O3, will remain ‘1’. The employed decoder
functionality is further described with the help of
Table 3 and the logic diagram shown on Figure 4.
The decoder outputs status will be converted into
the standard logic by passing them through invertors.
In this way the invertors network output Y1 becomes
active ‘1’, and the rest, Y2, Y3 and Y4, remains Figure 4: The employed decoder logic diagram.
deactivated ‘0’. As a result, it enables the first D-Latch
(DA). It makes QA to follow the data line DA. The DA
is driven by the DTMF decoder output D0. For this
case, the D0 is ‘1’. Therefore, QA will also become ‘1’
and it will turn on the intended home lights. The other
D-Latches are in a hold state. It is because of the
reason that their enable pins remain deactivated. The Figure 5: The employed D-Latch logic diagram.
functionality of employed D-Latches is further The status of D-Latches is also conveyed to the
described with the help of Table 4 and the logic front-end processor. It is implemented by using an
diagram shown on Figure 5. Where, I is indexing the Arduino Uno card [15]. It is configured by employing
D-Latches inputs and outputs and can have any values a specifically developed C based application. The
between A, B, C and D. n is indexing the generated linkage between D-Latches outputs and the front-end
54
processor is realized via the Arduino Uno digital PINs described in Section-III. In this case, after establishing
2, 4, 7 and 8. a connection between the mobile transmitter and the
GSM receiver modules, the command ‘1’ is dialed by
the user. It results into the DTMF decoder output of
D2=0, D1=0 and D0=1. The process is further clear
from Table 1. The four intended appliances, light, door
lock, air conditioner and curtains, statuses are modeled
with LEDs. Figures 8-A and 8-B, show that with
respect to the generated command ‘1’, intended to turn
Figure 6: The Arduino Uno card [15]. on the concerned home lights, the status of first LED
The front-end processor transfers this information is successfully updated as on. It assures a proper
to the server. The liaison is developed by employing functionality of the devised system front-end
the BC417 Bluetooth stick [12]. This module is electronics. A similar mechanism is repeated to test all
powered by Arduino Mega. Its input and output data eight possibilities, shown on Table 1. The simulation
lines are connected with the Arduino Mega Tx (Serial and experimental results achieved the desired
Transmitter) and Rx (Serial Receiver) lines [19]. objective to control the intended home appliances via
remote smartphone based originated commands. It
allows the user to globally control the desired
appliance status and at any time.
55
remotely and allows a timely interaction and cure and efficiency [22-25]. Integration of these tools in the
whenever required. suggested system is another future work.
V. CONCLUSION VI. REFERENCES
[1] Zanella, A., Bui, N., Castellani, A., Vangelista, L.,
In this paper an IoT based smart home automation & Zorzi, M. (2014). Internet of things for smart cities. IEEE
system is devised. It is realized by intelligently Internet of Things journal, 1(1), 22-32.
[2] Wei, J. (2014). How Wearables Intersect with the
combining the emerging IoT technology with a smart Cloud and the Internet of Things: Considerations for the
combination of an Android based smartphone, developers of wearables. IEEE Consumer Electronics
Bluetooth wireless interface, PC and a smart front-end Magazine, 3(3), 53-56.
electronics module. [3] Spanò, E., Niccolini, L., Di Pascoli, S., &
Iannacconeluca, G. (2015). Last-meter smart grid
A design methodology and implementation embedded in an Internet-of-Things platform. IEEE
strategy of different system modules is described. The Transactions on smart grid, 6(1), 468-476.
front-end electronics moulded are modelled and
simulated with Multisim. The functionality is verified [4] Ray, P. P. (2017). Internet of Things for smart
agriculture: technologies, practices and future road
with electric simulations. map. IOS J. Ambient Intell. Smart Environ.
The front-end processor is implemented with [5] J. Morgan, "A Simple Explanation Of 'The
Arduino Uno. It is configured with a C based Internet Of Things'", Forbes.com, 2014. [Online].
Available:
specifically developed application. The liaison
https://www.forbes.com/sites/jacobmorgan/2014/05/13/si
between front-end processor and server is realized by mple-explanation-internet-things-that-anyone-can-
employing the Bluetooth interface. The system understand/#73e072701d09. [Accessed: 01- Dec- 2017].
operation is successfully emulated and tested for a [6] R. Delgado, "Top 10 Benefits of Automating Your
Home", Freshome.com, 2013. [Online]. Available:
range of less than or maximum equal to 50meters https://freshome.com/2013/01/17/top-10-benefits-of-
distance between the server and the front-end automating-your-home/. [Accessed: 01- Dec- 2017].
electronics. [7] Al-Yamani, N., Qaisar, S., Alhazmi, A.,
Mohammad, S., & Subasi, A. (2016, December). An event
The server based operations are achieved with a
driven surveillance system. In Electronic Devices, Systems
MATLAB based specifically developed application. and Applications (ICEDSA), 2016 5th International
The developed codes are kept structural and Conference on (pp. 1-4). IEEE.
interactive. Most of the system inputs and outputs are [8] Diware, S. M., & Iskande, S. A. (2013). Remote
surveillance system for mobile application. Network and
kept accessible. It allows to easily scale this system for Complex Systems, 3(8), 14-20.
more complex applications. Moreover, it can also be [9] T. Agarwal, "List of Home Automation Projects
employ for students’ concept building and for Engineering Students 2015", Elprocus, 2015. [Online].
demonstration purpose. Available: https://www.elprocus.com/home-automation-
projects-engineering-students/. [Accessed: 01- Dec- 2017].
The intended home appliances status is [10] D. Brion, "Arduino Home Automation
successfully updated on the cloud via the MATLAB (Bluetooth)", Instructables.com. [Online]. Available:
based developed server application. This cloud based http://www.instructables.com/id/Arduino-Home-
Automation-Bluetooth/. [Accessed: 01- Dec- 2017].
log is also successfully accessed on a Smartphone via
[11] A. MP, "Connecting ESP8266-01 to Arduino
the ThingView application. It allows to access the UNO/ MEGA and BLYNK", Instructables.com. [Online].
devised system status globally and at any time. It Available: http://www.instructables.com/id/Connecting-
makes possible to monitor the intended home ESP8266-01-to-Arduino-UNOMEGA-and-BLYNK/.
[Accessed: 01- Dec- 2017].
appliances status remotely and allows a timely [12] "IR Remote Controlled Home Automation",
interaction and cure whenever required. Instructables.com. [Online]. Available:
The devised system is easily scalable. A future http://www.instructables.com/id/IR-Remote-Controlled-
Home-Automation/. [Accessed: 01- Dec- 2017].
work is to add more sensors in the front-end
[13] "Digitally Controlled Home Automation Project |
electronics module. It will allow to monitor other NevonProjects", Nevonprojects.com. [Online]. Available:
parameters of intended appliances like temperature, http://nevonprojects.com/digitally-controlled-home-
power consumption, etc. Moreover, addition of automation-project/. [Accessed: 01- Dec- 2017].
[14] Rashdi, A., Malik, R., Rashid, S., Ajmal, A., &
machine learning and event driven tools will Sadiq, S. (2013). Remote energy monitoring, profiling and
respectively improve the devised system reliability
56
control through GSM network. Arabian Journal for Science
and Engineering, 38(11), 3249-3257.
[15] D’Ausilio, A. (2012). Arduino: A low-cost
multipurpose lab equipment. Behavior research
methods, 44(2), 305-313.
[16] Rai, N., Rasaily, D., Wangchuk, T. R., Gurung,
M., & Khawas, R. K. Bluetooth Remote Controlled Car
using Arduino.
[17] Release, M. A. T. L. A. B. (2016). Natick,
Massachusetts, United States: The MathWorks.
[18] "HT9170 DTMF Receiver", Ece.usu.edu, 2017.
[Online]. Available:
https://www.ece.usu.edu/ece_store/spec/HT9170.pdf.
[Accessed: 02- Dec- 2017].
[19] Rai, N., Rasaily, D., Wangchuk, T. R., Gurung,
M., & Khawas, R. K. Bluetooth Remote Controlled Car
using Arduino.
[20] Naidu, R., Bindu, D., Jyothi, A., & Roshini, G.
Android Based Healthcare Monitoring
System. International Journal of Advance Foundation and
Research in Computer (IJAFRC) Volume, 2.
[21] ZHANG, J., & LI, X. G. (2005). Multisim based
schematic design and simulation . Computer Simulation, 5,
032.
[22] Qaisar, S. M., Yahiaoui, R., & Gharbi, T. (2013,
September). An efficient signal acquisition with an
adaptive rate A/D conversion. In Circuits and Systems
(ICCAS), 2013 IEEE International Conference on (pp. 124-
129). IEEE.
[23] Qaisar, S. M. et al. "Electronic management
system for rechargeable battery has measuring circuit
measuring parameter determining variation of parameter
transmitting data to electronic processing unit if variation
is higher than predetermined threshold."
[24] Qaisar, S. M., Fesquet, L., & Renaudin, M. (2009,
May). Effective resolution of an adaptive rate ADC.
In SAMPTA'09 (pp. Special-session).
[25] J. Han, J. Pei, and M. Kamber, Data mining:
concepts and techniques. Elsevier, 2011.
DTMF Output Demultiplexer Output Inverter Output Command Memory Outputs (4 modules)
D2 D1 D0 O0 O1 O2 O3 Y1 Y2 Y3 Y4 QA QB QC QD
Mobile
Digit Demultiplexer Input to D
Inverter Input Input to D Latch(s) Appliances
Input Latch (s)
DoorLock AC Curtains
A1 A0 DA,B,C,D A1 A2 A3 A4 E1 E2 E3 E4 Light Q1
Q2 Q3 Q4
D 0 0 0 0 1 1 1 1 0 0 0 Reset
Hold Hold Hold
1 0 0 1 0 1 1 1 1 0 0 0 Set
2 0 1 0 1 0 1 1 0 1 0 0 Reset
Hold Hold Hold
3 0 1 1 1 0 1 1 0 1 0 0 Set
4 1 0 0 1 1 0 1 0 0 1 0 Reset
Hold Hold Hold
5 1 0 1 1 1 0 1 0 0 1 0 Set
6 1 1 0 1 1 1 0 0 0 0 1 Reset
Hold Hold Hold
7 1 1 1 1 1 1 0 0 0 0 1 Set
57
.
58