Upload
ijafrc
View
4
Download
0
Embed Size (px)
DESCRIPTION
The GPS enabled emergent tracing and nearest facility avaliance system uses AVR microcontroller ATmega16. In this, the inbuilt ADC receives analog data from sensors and converts it to digital data and passes it to the microcontroller. This system is to attempt to design a tracking unit for the emergency situations. The android phone itself acts as transmitter and relay station forms using ATmega16 microcontroller, SIM300, LCD DISPLAY 16X2, power supply section.
Citation preview
International Journal of Advance Foundation and Research in Computer (IJAFRC)
Volume 1, Issue 7, July 2014. ISSN 2348 - 4853
48 | © 2014, IJAFRC All Rights Reserved www.ijafrc.org
Android Application for GPS Enabled Emergent Tracking
And Nearest Facility Availance System
N.S.Gawai, A.N.Shire, S.A.Fanan, B.V. Chikte, B.M.Faruk
Department of Electronic and Telecommunication
Jawaharlal Darda Institute of Engineering Technology, Yavatmal
Sant Gadge Baba Amravati University, Amravati
A B S T R A C T
The GPS enabled emergent tracing and nearest facility avaliance system uses AVR microcontroller
ATmega16. In this, the inbuilt ADC receives analog data from sensors and converts it to digital
data and passes it to the microcontroller. This system is to attempt to design a tracking unit for
the emergency situations. The android phone itself acts as transmitter and relay station forms
using ATmega16 microcontroller, SIM300, LCD DISPLAY 16X2, power supply section.
Index terms — Tracking unit, Facility Availance, AVR microcontroller, SIM300, Android
Application
I. INTRODUCTION
The proposed embedded system uses GPS for tracing exact location of an affected person and the GPS
coordinates of the same is transmitted to the relay station. The transmission of GPS coordinates is carried
out by Android Application. The relay station is developed using Atmega16 Microcontroller with Sim300
GSM module. The relay station enabled with GSM and GPRS can find the nearest available emergency
facilities that can be provided to the affected person. The nearest facilities are tracked by comparing
difference of distance vector with distance vector of affected person using the android application.
II. SYSTEM OVERVIEW
The block diagram of system prototype is shown in figure (1). The bridge rectifier is used to convert the
9V supply output of transformer into DC voltage. A voltage regulator IC 7805 is used to obtain fixed
output voltage of +5V. Separate supply of same specification requirement is used for microcontroller and
GSM module. The microcontroller used is ATMEGHA-16 and GSM modem is SIM-300. The TXD pin of
microcontroller is connected to the RXD pin of GSM model and vice–versa.
Figure 1. Block Diagram of Prototype System
III. IMPLEMENTATION
International Journal of Advance Foundation and Research in Computer (IJAFRC)
Volume 1, Issue 7, July 2014. ISSN 2348 - 4853
49 | © 2014, IJAFRC All Rights Reserved www.ijafrc.org
Figure.2 gives the flow chart for prototype implementation
Figure 2 Flowchart for prototype implementation
The below figure (3) shows the circuit diagram in which overall architecture of system can be
summarized. It shows interconnection between microcontroller, GSM Modem and LCD display.
IV. HARDWARE AND SOFTWARE REQUIREMENTS
1. Power Supply: The power supply used in this project is in figure (4). The step down transformer is
used which convert 9-0-9 V. We used bridge rectifier to convert the 9V supply output of transformer
into DC voltage. A voltage regulator IC is used to have the fixed output voltage of +5V. For
microcontroller and GSM module separate supplier are used of same specification requirement.
International Journal of Advance Foundation and Research in Computer (IJAFRC)
Volume 1, Issue 7, July 2014. ISSN 2348 - 4853
50 | © 2014, IJAFRC All Rights Reserved www.ijafrc.org
Figure 3.Circuit Diagram.
Figure 4. Power Supply
2. Microcontroller Atmega16: The ATmega16 is a low-power CMOS 8-bit microcontroller based
on the AVR enhanced RISC architecture. By executing powerful instructions in a single clock cycle,
the ATmega16 achieves throughputs approaching 1 MIPS per MHz allowing the system designed
to optimize power consumption versus processing speed.
3. GSM Module: For sending message, a GSM Module named SIMCOM 300 with RS232, power
supply, buzzer and audio interface are used. This can be connected to PC by using a USB to Serial
Adaptor. Terminal programs such as Real term are used to send & receive data. The interface
between GSM Module and microcontroller can also be done directly with the help of wires. GSM
Module works with AT COMMANDS where AT stands for Application Terminal.
4. Inter Connection Between Microcontroller And GSM Module: Receiver Pin (Rx) of
Microcontroller is connected to the Transmitter Pin (Tx) of GSM Module and Transmitter Pin (Tx)
International Journal of Advance Foundation and Research in Computer (IJAFRC)
Volume 1, Issue 7, July 2014. ISSN 2348 - 4853
51 | © 2014, IJAFRC All Rights Reserved www.ijafrc.org
of Microcontroller is connected to the Receiver Pin (Rx) of GSM Module. Also Ground Pin (GND) of
both are connected as in figure.(5)
Figure 5.Interfacing of At Mega 16 with GSM Module
5. LCD Display: The display used here (shown in fig. 9) is 16x2 LCD (Liquid Crystal Display) that
displays 16 characters per line by 2 lines. A very popular standard exists which allows us to
communicate with the vast majority of LCDs regardless of their manufacturer. The standard is
referred to as HD44780U, which refers to the controller chip which receives data from an
external source (in this case, the Atmega16) and communicates directly with the LCD. The 44780
standard requires 3 control lines as well as either 4 or 8 I/O lines for the data bus. Here we are
using 8-bit mode of LCD, i.e., using 8-bit data bus.
6. PCB Layout: PCB Layout is fabricated using PCB Express software. Refer figure (6) for layout.
Figure 6. PCB Layout
V. RESULT
AT commands with GSM/GPRS MODEM or cellular phone can be used to access sms services, they were
used to control MODEM. The Android application consists of location sensing file with extension .apk
with a purpose to trace the location of affected person to fined nearest emergency facility that are most
nearby. This application is installed on Android phone. After running application one enters the server
International Journal of Advance Foundation and Research in Computer (IJAFRC)
Volume 1, Issue 7, July 2014. ISSN 2348 - 4853
52 | © 2014, IJAFRC All Rights Reserved www.ijafrc.org
number and has to click on “Send Location”. The global positioning system (GPS) determines the GPS
coordinates of a person to provide emergency facilities. Accordingly, microcontroller ATMEGA16 finds
the nearest available facility by comparing the difference of the distance vector with the distance vector
of that affected person.
If X be the subject/affected person whose location is required to be traced. The GPS will trace the co-
ordinates of location of that subject X. The receiving station will get these co-ordinates in the form of SMS
that is received at server/receiving station as follows:-“Please send Ambulance at the location: Latitude:
20,3947648,Longitude: 78,086835 Please send Ambulance at the location EAT+CREG?
Figure 7. Prototype System
VI. CONCLUSIONS
This prototype system is an attempt to design a tracking unit for the emergency situations. This project
had tried a simple way to find the emergency facilities that are most nearby to the affected person. The
android application helps to find location of the person and providing them nearest available emergency
facility that are most nearby to that affected person. The nearest facilities are tracked by comparing
difference of distance vector with distance vector of affected person. Using this system and with a simple
android application we are able to access the emergency facilities.
VII. REFERENCES
[1] ATiny2313 Data Book. (2003, September). AVR Microcontroller. Retrieved April 12, 2011, from
ATmel Corporation: http;/www.atmel.com
[2] Adedjouma A.S., Adjovi G., Agaï L. and Degbo B., 2006. A system of remote control car lock with a
GSM based geo-location by GPS and GSM. African Journal of Research in Computer Science and
Applied Mathematics, Vol. 1.
[3] Bouchikhi B., El Harzli M., 2005. Design and realization of acquisition system and climatic
parameters control under the greenhouse. Phys & Chem. News, Vol. 22
[4] Jiang P., Xia H., Zhiye He Z. and Wang Z., 2009. Design of a water Environment monitoring system
based on wireless sensor networks. Journal of Sensors Vol. 9
[5] SIM300 Hardware Interface Description version 01. 06 date:- 2005-12-27 doc.id:-
SIM300_HD_V1.06
International Journal of Advance Foundation and Research in Computer (IJAFRC)
Volume 1, Issue 7, July 2014. ISSN 2348 - 4853
53 | © 2014, IJAFRC All Rights Reserved www.ijafrc.org
[6] Relay - Wikipedia, the free encyclopediaen. wikipedia.org/wiki/Relay
[7] max232 datasheet SLLS047L − FEBRUARY 1989 − REVISED MARCH 2004
[8] http://www.circuitvalley.com/2012/09/atmel-avr-lcd-16x2-interfacing-hd44780.html
[9] http://www.alldatasheet.com/datasheet-pdf/pdf/184066/ETC2/SY-HS-230.html