finally done

30
SMART ADVERTISING SYSTEM USING GPS WITH REMOTE LOCATION UPDATE AND MEDICAL EMERGENCY SERVICE BY SHAHIL BABU ASHOK M DISHAREE RAY GAUTAM RAJ UNDER THE GUIDANCE OF NAZNEEN M.G

Upload: disharee-ray

Post on 22-Jan-2017

64 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: finally done

SMART ADVERTISING SYSTEM USING GPS WITH REMOTE LOCATION UPDATE AND MEDICAL EMERGENCY SERVICE

BY

SHAHIL BABU ASHOK M

DISHAREE RAYGAUTAM RAJ

UNDER THE GUIDANCE OFNAZNEEN M.G

Page 2: finally done

INTRODUCTION• Advertisement is the one of the largest industries and it has

turn over in billions. • In this project we present a smarter way to advertise in

moving vehicles like local city buses, cabs, auto rickshaw etc.• System consists of suitable display, embedded system and

GPS receiver.• With the help of GPS receiver location of the vehicle can be

known and we can feed the display with the relevant advertisement for that particular area, which affects the user positively and advertise.

• Not only this we have GSM/GPS modem in our system which enables us to remotely update and program the advertisements.

Page 3: finally done

INTRODUCTION• In our project we provide a solution with the help of GPS

technology to get the location and GSM technology to send alert regarding accident or medical emergency to the hospital.

• We have added one more smart feature called KNN (K-Nearest Neighbours) algorithm in the system, it first finds out the nearest hospital and sends sms to that hospital for ambulance.

Page 4: finally done

BLOCK DIAGRAM

GPS

GSM

EEPROM

Embedded Board

Graphics LCD

128 x 64 Pixels

Max232

PC

Page 5: finally done

DESCRIPTION

• GPS gives multitude of information every one second via NMEA protocol ( National Marine Electronics Association ) .• Embedded system continuously reads the output and filters out RMC messages which contains location of the system, this location is updated in system memory .• Piezoelectric sensor is used to detect shocks and impact but output is amplified and to detect threshold point equivalent to accident and disaster a comparator is used whose output is fed to MCU interrupt pin .

Page 6: finally done

DESCRIPTION

• Hence whenever accident occurs a interrupt is generated in the system. And then system gets the current location of the vehicle and starts to search nearest hospital from the database.

• Now system sends location, vehicle number to the nearest hospital. A manual trigger is also provided to do the same task but this is used when there is medical emergencies like heart attack, paralysis attack etc.

• GPS is connected to embedded board using UART and GSM also uses UART interface to MCU. commands are used to communicate with GSM modem via UART interface .

Page 7: finally done

HARDWARE REQUIREMENT

• GPS• GSM• P89V51RD2-8051 controller• I2C based EEPROM• 128x64 graphics LCD• MAX RS232• Piezoelectric sensor• fire sensor• Dongle

Page 8: finally done

PIN DIAGRAM OF 89V51

Page 9: finally done

GPS OVERVIEW• When people talk about "a GPS," they usually mean

a GPS receiver. The Global Positioning System (GPS) is actually a constellation of 27 Earth-orbiting satellites (24 in operation and three extras in case one fails).

• The U.S. military developed and implemented this satellite network as a military navigation system, but soon opened it up to everybody else.

• A GPS receiver's job is to locate four or more of these satellites, figure out the distanc e to each, and use this information to deduce its own location.

• This operation is based on a simple mathematical principle called trilateration. 

Page 10: finally done

FEATURES65 channels to acquire and track satellites

simultaneously• Industry-leading speed• Tracking sensitivity reaches -161 dBm• Integral LNA with low power control• Cold start 29 sec under clear Sky

Page 11: finally done

COMPONENTS OF THE GPS

S p ace S eg m en t C on tro l S eg m en t U ser S eg m en t

G P S

Page 12: finally done

SPACE SEGMENTS• 24 GPS space

vehicles(SVs).• Satellites orbit the

earth in 12 hrs.• 6 orbital planes

inclined at 55 degrees with the equator.

• This constellation provides 5 to 8 SVs from any point on the earth.

Page 13: finally done

USER SEGMENTS• It consists of receivers that decode the signals

from the satellites.

• The receiver performs following tasks:– Selecting one or more satellites– Acquiring GPS signals– Measuring and tracking– Recovering navigation data

Page 14: finally done
Page 15: finally done

APPLICATIONS

• Location - determining a basic position• Navigation - getting from one location to

another • Tracking - monitoring the movement of people

and things • Mapping - creating maps of the world • Timing - bringing precise timing to the world

Page 16: finally done

GSM OVERVIEW

• GSM modem is controlled using AT commands.

• These AT commands are send to GSM modem from 8051 using UART or PC using Serial Port.

• TTL-RS232 converters may be required if both devices are not at same level.

Page 17: finally done

WHAT IS GSM ?

• Global System for Mobile communications (GSM) is

an international standard. Originally, the acronym

GSM stood for Groupe Spécial Mobile.

• GSM operates in the 900 MHz band (890 MHz - 960

MHz) in Europe and Asia and in the 1900 MHz band

in the United States.

Page 18: finally done

AT Commands• AT commands are used to control MODEMs. AT is the

abbreviation for Attention. These commands come from Hayes commands that were used by the Hayes smart modems. The Hayes commands started with AT to indicate the attention from the MODEM.

• The dial up and wireless MODEMs (devices that involve machine to machine communication) need AT commands to interact with a computer. These include the Hayes command set as a subset, along with other extended AT commands.

Page 19: finally done

I2C Protocol• Name I2C is shorthand for a standard Inter-IC (integrated

circuit) bus. • Philips originally developed I2C for communication between

devices inside of a TV set. Examples of simple I2C-compatible devices found in embedded systems include EEPROMs, thermal sensors, and real-time clocks.

• The main objective behind the invention of I2C bus is to establish a simple low pin count bus that can connect different ICs on a circuit board of Television or Radio.

• Later I2C grew beyond the limits of TV and Radio and now it can be found in almost every computer motherboards and other embedded devices.

Page 20: finally done

Interfacing with I2C• I2C is a two-wire serial bus, as shown in Figure 1. There's no

need for chip select or arbitration logic, making it cheap and simple to implement in hardware.

• The two I2C signals are serial data (SDA) and serial clock (SCL). Together, these signals make it possible to support serial transmission of 8-bit/bytes of data, 7-bit device addresses plus control bits-over the two-wire serial bus.

• The device that initiates a transaction on the I2C bus is termed the master. The master normally controls the clock signal. A device being addressed by the master is called a slave.

Page 21: finally done

Communication with I2C• The master begins the communication by issuing the start

condition (S).The master continues by sending a unique 7-bit slave device address, with the most significant bit (MSB) first.

• The eighth bit after the start, read/not-write (), specifies whether the slave is now to receive (0) or to transmit (1).

• This is followed by an ACK bit issued by the receiver, acknowledging receipt of the previous byte.

• Then the transmitter (slave or master, as indicated by the bit) transmits a byte of data starting with the MSB.

Page 22: finally done

• At the end of the byte, the receiver (whether master or slave) issues a new ACK bit. This 9-bit pattern is repeated if more bytes need to be transmitted.

• In a write transaction (slave receiving), when the master is done transmitting all of the data bytes it wants to send, it monitors the last ACK and then issues the stop condition (P).

• In a read transaction (slave transmitting), the master does not acknowledge the final byte it receives. This tells the slave that its transmission is done. The master then issues the stop condition.

Page 23: finally done

• TO CHECK THE MODEM: AT • TO CHANGE SMS SENDING MODE: AT+CMGF=1• TO SEND NEW SMS: AT+CMGS=“MOBILE NO.” <MESSAGE

{CTRL+Z}• TO MAKE A VOICE CALL: ATD(MOBILE NO.);• TO REDIAL LAST NO. : ATDL• TO RECEIVE INCOMING CALL: ATA• TO HANG UP OR DISCONNECT A CALL: ATH

COMMANDS IN GSM

Page 24: finally done

SOFTWARE REQUIREMENT• Uvision Keil to write, compile, debug and simulate embedded

code.

• HyperTerminal to interface to serial port and test various parts of project

• Code Blocks IDE for C with GNU GCC complier.

• XCTU from digi for serial packet interface.

• Flash Magic for program downloading

Page 25: finally done

ADVANTAGES

• It’s a low cost, low power and compact system which can be fit easily in cars and bikes.

• It’s a maintenance free system and no monthly charges are there.• High speed detection and notification enhances safety.• This system does immediate action in calling the ambulance

hence it’s a life saver system not advantage is bigger than saving life.

• Accuracy is GPS is in meters hence location accuracy of the accident spot or medical emergency spot is good.

• Nearest Neighborhood algorithm searches nearest hospital which again cut off some time of travel of ambulance to reach the spot.

Page 26: finally done

DISADVANTAGES• Piezoelectric sensor can give false alarm for accident during

sudden breaking, small accident but strong impact, humps or pothole can also trigger false alarm.

• If GSM network is not there then alert couldn’t be sent.• GPS satellites sometimes do not lock at start up this can lead

to problem called cold start and hence for first few minutes of system start up location cannot be determined by GPS.

• If the car meet with an accident then it may also affect the hardware used to detect the impact and to send the information to the server, so, it should be kept at safe place.

Page 27: finally done

FUTURE SCOPE• We can add medical test facility in each and every ambulance so

patient data will reach hospital before patient and doctors can plan course of action.

• Instead of piezoelectric sensor, MEMS accelerometer and smart algorithms can be used to detect accident to reduce false alert in the system.

• Instead of finding nearest hospital and then send sms to it we can send sms to server who will find nearest ambulance and send that ambulance to spot .

• Development of Apps for android system so that person sitting in a bus can access all information using Bluetooth or WIFI in the Bus.

Page 28: finally done

REFERENCES• Remote Intelligent Monitoring system based on

embedded internet technology ,(2007 IEEE ) by Zhen Zhu

• Medical alert system with telemed monitoring using GPS and GSM, (2012 IEEE) Suganthi J, Uma Reddy and Aswathy ,VTU Belgaum

• Vehicle tracking based on GPS and GSM by Sagar Parmar

• Automation Testing and quality Robotics(AQRT),2010 IEEE International conferrence

Page 29: finally done

REFERENCES[1] Remote Intelligent Monitoring system based on embedded internet

technology,(2007 IEEE ) by Zhen Zhu [2] Medical alert system with telemed monitoring using GPS and GSM, (2012

IEEE) Suganthi J, Uma Reddy and Aswathy ,VTU Belgaum[3] Automation Testing and quality Robotics(AQRT),2010 IEEE International

conferrence[4] An Intelligent Mobile Advertising System (IMAS): Location-Based

Advertising to Individuals and Business by Evans, C (IEEE July12)[5] IEEE: Design and development of GPS/GSM based vehicle tracking and

alert system for commercial inter-city buses by Fleischer, P.B. ; Dept. of Comput. Eng., Univ. of Ghana, Accra, Ghana.

[6] M.Jalaluddin, M. Jabeen, D. Vijayalakshmi, "Service-Oriented Architecture based Global Positioning System", IOSR Journal of Engineering (IOSRJEN), Volume 2, Issue 10 (October 2012).

[7] S. Kim, "Evaluation of Cooperative Techniques for Hybrid/Integrated Satellite Systems", Communications (ICC), 2011 IEEE International Conference, Jeonju, South Korea 

Page 30: finally done

THANK YOU