Vehicle Tracking and Security with Ecall Standard Framework
This proposed work is an attempt to design and develop a smart anti-theft system that uses GPS and GSM module to determine the exact location of vehicle. Using this system, vehicle can be located easily. Operations such as Engine on/off, AC, lights and door lock/unlock will be controlled by a smart-
2025-06-28 16:36:35 - Adil Khan
Vehicle Tracking and Security with Ecall Standard Framework
Project Area of Specialization RoboticsProject SummaryThis proposed work is an attempt to design and develop a smart anti-theft system that uses GPS and GSM module to determine the exact location of vehicle. Using this system, vehicle can be located easily. Operations such as Engine on/off, AC, lights and door lock/unlock will be controlled by a smart-phone application. The main component of the project is microcontroller ESP32 .The GPS and GSM modules, IP Camera, Engine Immobilizer circuit and door lock/unlock circuit will be interfaced with the microcontroller. In case of car theft android application will be used to immobilize engine and lock the doors so that the thief would not be able to leave the car and escape .GEO fencing and alarm for speed limit crossing will be implemented with SMS and android updates. SMS alert will be sent to the owner on exceeding speed limit and GEO fence crossing. GEO fencing will create a virtual boundary and if vehicle crosses that boundary, the owner will be notified through an SMS alert and android notification. Speed alert functionality sets a specific speed limit, if the speed limit is exceeded, user will get an instant SMS alert on the cell phone. Whenever either of the condition violates microcontroller generates a signal to GSM module which will send SMS alert and Android notification to user as explained above.
As this project is focusing on security as well as safety, Emergency call system will improve the response time of rescue services by notifying the nearest PSAP (Public Safety Answering Point) in case of any accident or mishap. MSD (minimum set of data) will be sent to the nearest PSAP (Public Safety Answering Point) which will contain exact location, time of accident and vehicle registration number which will help the rescue services to locate the car in minimum time. E-call system will be a mandatory and standard requirement for all new vehicles in Europe in the coming years.
Meanwhile, driver’s driving behavior will be observed by the application. Driving behavior is assessed by the number of lane changes per unit time. This application will observe psychological state of mind of the driver. This functionality will help to assess the road worthiness of the driver, and might help to prevent the possible accidents. Therefore, this model provides an easy implementation with multiple advantages.
Project Objectives- Implementation of tracking system using GPS and GSM
- Implementation of Engine immobilizer
- Implementation of door lock/unlock
- Implementation of GEO fencing alert on SMS and Android
- Implementation of speed alert on SMS and Android
- Implementation of E-call system
- Interfacing of Android phone for controlling functions of vehicle
- Development of a web server to update present location.
- Implementation in live car
- Observing driver’s driving behavior
Tools
- Arduino IDE
- Android Studio
- Raspbian
- Blue Stacks
Development Stage
In order to work effectively project is divided into different stages defined as following:
Interfacing of LCD and Keypad with ESP32
Keypad is being used for the passcode input as our project is secured in a box made of alucobond. The LCD is being used for display and several other operation that are performed during the functioning of the project are displayed there. We used 4 x 3 keypad for input and 2x16 LCD for the display. Both of these are interfaced with the microcontroller ESP 32. The figure below shows the interfacing of the LCD and Keypad with the ESP 32.
Interfacing GSM with the ESP 32
The GSM was connected to the ESP 32 using the wire cables and the Tx (Transmitter pin) and the Rx (Receiver pin). The supply of 5v was given to it for the working. The GSM uses AT codes these codes are the protocols for the transmitting and receiving the SMS from sim. The code for the interface of the GSM was written in the Arduino IDE software and burned it on the ESP 32
Interfacing of GPS with ESP 32
As we already interfaced GSM with the ESP 32 now we will be interfacing the GPS with the microcontroller. We used pin wires to connect the GPS with the microcontroller and interfaced it through the code. When the message is received with GSM the GPS sends the coordinates of the current location in form of latitude and longitude to the microcontroller for the further assessment. The figure below shows the interfacing code of the GPS module with the ESP 32.
Raspberry Pi 3
We used Raspberry Pi 3 for the image processing for lane detection through use of algorithms. We used Pi camera for the recording purpose. As Raspberry Pi 3 is a mini computer and has its own operating system called “Raspbian”. It does not have any memory so a SD card is added, which will be acting as a memory slot to store the operating system. The camera is interfaced through the command and the window is called the “Command Line”. The figure below shows the command line of the Raspberry Pi 3 in which the commands are written to interface the camera and other things.
Development Stage 1 & 2
After the coordination procedure we joined the circuit and combine to fit it in the plastic box for the testing reason. This was done to test the circuit working and to decide the measure of room it will involve as later we were going to make a box made of alucobond. This material is made of two sheets of aluminum with plastic in the middle of them. The figure beneath demonstrates the primary structure we made and the figure after that is the last venture box planned with the alucobond material. What was remembered was that the crate made ought to be as minimized as conceivable all things considered to be put inside a vehicle.
Android App Development
The Android app is designed for the user ease.It will be used to control some functions from car using this application on android phone.
Benefits of the Project- Engine immobilizer technique will keep vehicle safe.
- GPS module will get exact location and send it to user so that user can keep track of vehicle.
- Through automatic door lock system user can secure vehicle.
- Local graphic display of information such as vehicle status, location coordinates, speed, distance covered, GPS strength, GSM signal strength, time and date
- Send a SMS and Android notification in case of crossing the specified boundary.
- Send a SMS and Android notification in case of exceeding the predefined speed limit.
- Through Ecall system there will be minimum delay in emergency services
- Exact location, time and vehicle registration number will be sent to PSAP in case of mishap or accident.
- Targeting people with Car and knowledge of smartphones applications
- Businessmen with security hazards
- Rent a car businesses can locate their vehicle easily
We have used Sim808 GSM & GPS module in our project. To test it we added a working sim so that it can communicate with us. Firstly we tested the GPS module we done that in outdoor as the signal strength is good there and there is less interference in the ground as less electrical equipment is present there so the signals are less disoriented. As we know that the GPS send string to the satellite and then receives it back. That string contains the location of the device in form of latitude and longitude. That information was useful to us, what we did we put those coordinates in the Google Maps and search for the place, it was giving the same location on which the device was present
The Sim808 works on the AT commands, so to check the proper working of the GSM module we used some AT commands. These are called AT commands as AT is written before each commands. It is a prefix that is used in it, if we write the same commands without AT it will not work. Multiple commands can be written in same line and is separated through the semi-colon. The “Return” key is used to go to the next line and to execute the commands. In order to test the equipment it can either be connected to the PC serial terminal and tested using the software such as Hyper Terminal and others. What we did to test the equipment was that we inserted a sim of a known mobile network provider, having the same frequencies ranges on which our module sim808 works and attached it with ESP 32. Then with the help of AT commands we sent a message to it and observe the behaviour in Arduino IDE software. It was working as expected and was ready to be used in our project. Some of the commands of AT are shown below.
Table 5-1 AT commands for GSM protocol
GSM Commands Functions AT+CGMI To request manufacturer identification AT+CGMM To request Model identification AT+CGMR2 To request revision identification AT+CSCS To select TE character set AT+CGSN To request product serial number identification AT+CIMI To request international mobile subscriber identity
AT+CMGF=0/AT+CMGF=1
To select between message format 1=ASCII 0=PDU AT+CMGS To send message AT+CMGR To read message AT+CPIN To check whether GSM is operating or not
AT+GMI/AT+GMM/AT&V
Gives information about the profile and name of GSM supplier
We are using Raspberry Pi 3 for the live streaming purpose. It was programmed using Raspbian and was updated to the latest version. We used commands on the Command Line to configure the camera with the Raspberry Pi, as we were using this we used Pi camera as it is compatible with it. We were successful in getting results.
Although the Arduino purchased was tested by the company but for our satisfaction we our self, tested it. It was done by the test program provided by the Arduino it-self to test the board. Then we also burned a self-made small program that control the speed of the motor using code. The results were satisfying so, we started programming on it.
Final Deliverable of the Project Hardware SystemType of Industry Security , Telecommunication Technologies OthersSustainable Development Goals Life on LandRequired Resources| Item Name | Type | No. of Units | Per Unit Cost (in Rs) | Total (in Rs) |
|---|---|---|---|---|
| Total in (Rs) | 28110 | |||
| sim808 | Equipment | 1 | 4000 | 4000 |
| esp32 | Equipment | 1 | 900 | 900 |
| multimeter | Equipment | 1 | 750 | 750 |
| jumper wires | Equipment | 4 | 70 | 280 |
| raspberry pi 3 | Equipment | 1 | 5700 | 5700 |
| pi cam | Equipment | 1 | 750 | 750 |
| power supply | Equipment | 2 | 150 | 300 |
| relay | Equipment | 1 | 250 | 250 |
| bradboard | Equipment | 2 | 110 | 220 |
| lcd | Equipment | 1 | 180 | 180 |
| keypad | Equipment | 1 | 90 | 90 |
| gps antenna | Equipment | 1 | 500 | 500 |
| vibration sensor | Equipment | 1 | 250 | 250 |
| voltage rugulators,resistors,potentiometer | Equipment | 5 | 12 | 60 |
| battery | Equipment | 2 | 40 | 80 |
| battery | Equipment | 1 | 750 | 750 |
| pi cam extension wire | Equipment | 3 | 500 | 1500 |
| sd card | Equipment | 1 | 10000 | 10000 |
| card reader | Equipment | 1 | 50 | 50 |
| printing | Miscellaneous | 300 | 5 | 1500 |