Designand Implementationof Children Tracking Systemusing Io T
Designand Implementationof Children Tracking Systemusing Io T
net/publication/336836612
CITATION READS
1 980
1 author:
Sama S. Samaan
University of Technology - Iraq
10 PUBLICATIONS 26 CITATIONS
SEE PROFILE
All content following this page was uploaded by Sama S. Samaan on 15 July 2021.
Abstract
Author affiliation: In the past few years, all over the world, crime against children has
1) Computer Engineering been on the rise, and parents always worry about their children whenever
Department, University of
they are outside. For this reason, tracking and monitoring children have
Technology, Baghdad-Iraq.
[email protected]
become a considerable necessity. This paper presents an outdoor IoT
tracking system which consists of a child module and a parent module.
Paper History: The child module monitors the child location in real time and sends the
information to a database in the cloud which forwards it to the parent
Received: 17th March 2019 module (represented as a mobile application). This information is shown
Revised: 23th April 2019 in the application as a location on Google maps. The mobile application
is designed for this purpose in addition to a number of extra functions. A
Accepted: 17th Sep. 2019 Raspberry Pi Zero Wireless is used with a GSM/GPS module on shield
to provide mobile communication, internet and to determine location.
Implementation results for the suggested system are provided which
shows that when the child leaves a pre-set safe area, a warring message
pops up on the parent’s mobile and a path from the current parent
location to the child location is shown on a map.
Keywords: IoT, Database on the Cloud, Firebase DB, Raspberry Pi Z W, GSM
module, GPS module, Python, Android Application.
تصممي وتنفيذ نظام مراقبة لالطفال بأس تخدام انرتنت الاش ياء
سام سالم مسعان
:اخلالصة
شلكت اجلرامئ حبق الاطفال ارتفاعا ملحوظا يف مناطق خمتلفة من العامل مما،يف الس نوات القليةل السابقة
أصبحت مراقبة وتعقب الاطفال ذات، لهذا السبب.يشلك سببا لقلق الوادلين لكام اكنو خارج املزنل مع الاطفال
، النظام املقرتح يتكون من جزئني. هذا العمل يقدم نظام تعقب لالطفال بأس تخدام انرتنت الاش ياء.امهية كبرية
اجلزء اخلاص ابلطفل يراقب موقع الطفل ابلزمن احلقيقي ويقوم.الاول يكون مع الطفل واجلزء الثاين مع الوادلين
بأرسال هذه املعلومات اىل قاعدة بياانت يف السحب واليت تقوم بأرسالها اىل الوادلين (اجلزء الثاين) واملتثل بتطبيق
مت تصممي تطبيق للهاتف اذليك. هذه املعلومات تظهر َكوقع عىل تطبيق خارطة كولك.مثبت عىل الهاتف اذليك
Raspberry Pi Zero مت اس تخدام.واذلي يوفر مجموعة اضافية من الوظائق فضال عام هو مذكور انفا
اظهرت نتائ التنفيذ. لتوفري اماكنية االتصال املتنقل والانرتنت ولتحديد املوقعGSM/GPS معWireless
فأن رساةل تنبيه،للنظام املقرتح انه عندما يصبح الطفل خارج املنطقة الامنة واحملددة سابقا من قبل الوادلين
سرتسل اىل هاتف الوادلين كام س يظهر عىل خارطة كولك املسار الواجب سلكه من موقع الوادلين احلايل اىل موقع
.الطفل
1. Introduction the Raspberry Pi and it can only be programmed
Children tracking system is used to assure parents using Arduino or C/C++ while the Pi has the entire
that their children are safe from suspicious actions or Linux software stack available and it can be
loss (J. Mohan, 2019). The information related to the programmed using a variety of languages.
child location is sent to a database in the cloud in real To provide an overview of earlier works, some
time and this location is sent directly to an application researches presented by diverse authors are reviewed:
which is set up in the parent’s mobile and this • (Shatha K. Jawad et al., 2009) they designed a
location is shown on Google map. system to work indoor or outdoor. GPS is used for
Compared to Arduino, Raspberry Pi connects outdoor distance computation, while for indoor
easily to the internet. Arduino is not as powerful as
NJES is an open access Journal with ISSN 2521-9154 and eISSN 2521-9162
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License
172
NJES 22(3)172-179, 2019
Samaan
3. The Child Module The device’s main storage which contains the OS files
3.1 The Hardware Part (image file), the uploaded code and a log of the
The child module shown in Fig.2 consists of the device’s routes.
following hardware parts: • External microphone and Speaker
• Raspberry Pi Zero - Wireless Used to initiate calls with the device or just to hear
The Raspberry Pi is a common Single Board the device surroundings.
Computer (SBC). It is a complete minicomputer • Battery and Charger
packed into a single board. The introduction of the With many options for outdoors and portable
Raspberry Pi Zero permits the embedding of an Raspberry Pi projects, it’s important to have a flexible
entire computer in smaller projects like the one power solution which helps the Raspberry Pi to run
proposed in this paper. The Raspberry Pi Zero W has outdoors, whatever the project. In this project we use
all the functionality of the original Pi Zero, but comes a power bank (5V).
with added GSM/GPS Raspberry pi modular. The Pi
must be able to use both the GPS and GSM
simultaneously. The modular should be connected to
the pi with no USBs. The Raspberry pi hat/modular
receives AT-COMANDS from the raspberry pi
through IO pins and responds with the appropriate
data (a map location, SMS messages, or call events).
The extension board shown in Fig.2 (b) is simply
plugged onto the GPIOs of the Raspberry Pi. The
RPI Expansion has a SIM card holder.
• SIM Card
We can connect our Pi to the internet through
Ethernet or Wi-Fi.
• SD card
(a)
173
NJES 22(3)172-179, 2019
Samaan
174
NJES 22(3)172-179, 2019
Samaan
175
NJES 22(3)172-179, 2019
Samaan
4.2 Enter child info activity a notification will be sent to the phone. If the device
In this activity the user enters the child's is still outside, with each data change the notification
information, like the name, age and gender of the will refresh itself. This process will keep working in
child. After the data is entered, it is saved into two the background even if the app isn’t running in the
locations: the first location is the phone memory foreground. The "add new child" button will
(local), and the second location is the firebase navigate the user to Enter info activity to add a new
database (cloud), so that if there is a second user (the child. The "Make call" button is responsible of
other parent) they will have the same data straight making a call between the parent's phone and the
from the firebase database without the need to re- device. The parent can also mute the mic while
enter the data. The activity layout is shown in Fig.6. calling so they can listen to the surroundings of the
4.3 Dashboard activity child without gaining the attention of anyone who is
This is the activity that contains the main near the child. Because of Raspberry Pi's lack for a
elements to control the device functions; it also second serial port (as we mentioned in Cycle part),
shows the child info in the top section of the layout. the call will be detected and answered only in the
The main functions it provides are: GPS part. The "Send alarm" button was created so
• Shows the child info that if the device was lost within a short range or
inside a building (like when you can't find a remote
• Add new child – button
controller), and its GPS coordinates can’t show its
• Show next child info – button specific location, so when the device receives this
• Make a call to the device it is associated with – action it starts making a noise so that the owner can
button find it. The noise will stop after the user pushes a
• Send alarm – button physical button on the device indicating that they
• Map – button found it. The "Battery" icon shows the battery
• Control – button percentage of the device, so if the battery goes low, it
• Battery percentage notifies the user to charge the device. The Dashboard
As a start, this activity (in the background) starts activity is shown below in Fig.7.
establishing a connection with the Firebase database, 4.4 Map activity
and starts listening to data changes. While the device This activity is responsible for showing the
is sending coordinates to the database, the device's location on the map; we used Google maps
applications receives these coordinates, starts services for this purpose. The user can set a safe zone
measuring the distance between the device and the simply by clicking on any location on the map and a
safe zone coordinates (safe zone will be discussed in red circle will be drawn on it, there is also a bar on
map activity). If the device is inside the safe zone, the top to specify the radius of the safe zone circle.
nothing will happen, but if it is outside the safe zone, Once that is done, the circle will be saved on the
176
NJES 22(3)172-179, 2019
Samaan
177
NJES 22(3)172-179, 2019
Samaan
Figure (7): Child Notification Alert Figure (9): Child Out of Safe Zone Area
Figure (8): Identifying Safe Zone Area Figure (11): Path from Parent to Child
Figure (13): The Safe Zone Structure Figure (14): The Child Info
178
NJES 22(3)172-179, 2019
Samaan
5. Conclusions
In this paper, an IoT children tracking system is
developed. The implementation originally focuses on
monitoring a child and sending its location to the
Firebase database which forwards this information in
real time to an application which is created for this
purpose and is set up in the parent mobile phone.
The parent will be notified if the child has moved
outside a specific area (Safe Zone Area). In addition
to tracking the child, the app provides a number of
services. The designed system allows the parent to
monitor multiple children at the same time. This
research shows that GSM/GPS tracking technology
is a practical approach for monitoring and tracking
children with the help of Google database service,
Firebase. Except the Internet fee, there is no cost
associated with the presented service.
6. References
1. Shatha K. Jawad, Al-Gawagzeh Mohammed
Yousef and Balkiest Essa Al-Shagoor, "A
Multipurpose Child Tracking System Design and
Implementation", International Journal of Soft
Computing Applications, ISSN: 1453-2277 Issue 4
(2009), pp.57-68.
2. P. Santha Raj and V. Anuradha, "Design and
Implementation of Children Tracking System using
ARM7 on Android Mobile Terminals", international
Journal of Scientific Engineering and Technology
Research, ISSN 2319-8885, Vol.03, Issue.21,
September-2014, Pages:4327-4332.
3. Loganathan.M, Aswathi Dileep and Kamatchi.K,
"Child Tracking System Based on GSM ",
International Journal of Innovative Research in
Science, Engineering and Technology (IJIRSET),
Volume 4, Special Issue 4, April 2015.
4. Rita H. Pawade and Arun N. Gaikwad, "Android
Based Children Tracking System", International
Journal of Science, Engineering and Technology
Research (IJSETR), Volume 4, Issue 6, June 2015.
5. Shubhangi P. Mankar, Monali Pawar and Manisha
Shinde, "Child Tracking System based on GPS
System", International Journal on Recent and
Innovation Trends in Computing and
Communication (IJRITCC), Volume 4, Issue 4, April
2016.
6. A. Saranya, C. Venkatesh and S. Selva Kumar,
"Design and Implementation of Automatic Child
Monitoring (ACM( System Using Wireless Network",
International Journal of Computer Science and
Mobile Computing, IJCSMC, Vol. 5, Issue. 4, April
2016, pg.356 – 363.
7. Maria Clenisha, Sandra, A Pio Sajin and B Baron
Sam, "Survey on Automated Child Monitoring
System Using Image Processing", International
Journal of Pure and Applied Mathematics, Volume
118, No. 24, 2018.
8. J. Mohan, B.Ragul, M. Saravanakumar, Mrs. V.
Hemalatha and Dr. P. Gomathi, "Enhancement Of
Smart Child Monitoring System", International
Research Journal of Engineering and Technology
(IRJET), Volume 06, Issue 02, Feb 2019.
179