Embedded Automobile Engine Locking System Using GSM Technology
Embedded Automobile Engine Locking System Using GSM Technology
Submitted by
B.Sreeya
19RH1A0213
BACHELOR OF TECHNOLOGY
2022-23
MALLA REDDY ENGINEERING COLLEGE FOR WOMEN
(Autonomous Institution-UGC, Govt. of India)
Accredited by NBA & NAAC with ‘A’ Grade
Band-Excellent National Ranking by ARIIA, Accepted by MHRD,Govt.of India
Approved by AICTE, ISO 9001:2015 Certified Institution
NIRF Indian Ranking , Accepted by MHRD, Govt. of
India
Maisammaguda, Dhullapally(post), Secunderabad, TELANGANA
CERTIFICATE
This is to certify that the work embodies in this dissertation entitled ‘EMBEDDED
AUTOMOBILE ENGINE LOCKING SYSTEM USING GSM TECHNOLOGY’
being submitted by B.Sreeya (19RH1A0213) for partial fulfillment of the requirement for
the award of Bachelor of Technology in Electrical and Electronics Engineering to Malla
Reddy Engineering College for Women, Maisammaguda, Secunderabad during the
academic year 2022 - 2023 is a record of bonafide piece of work, undertaken by her under
the supervision of the undersigned.
ABSTRACT 1
1. INTRODUCTION 2
2. PROPOSED SYSTEM DESIGN 3
2.1. Components, interfacing and protocols 4
2.1.1. Microcontroller unit 4
2.1.2. Features of the Microcontroller 5
2.1.3. DC power supply unit 6
2.1.4. 4x Matrix keypad 7
2.1.5.Liquid crystal display 8
2.1.6.12V Relay and DC fan 9
2.1.7. Gsm modem 9
2.1.8. Gsm mobile 9
2.1.9. Max232 line driver 10
2.1.10. AT24CO2EPROM 10
3. WORKING OF THE MODULE 11
3.1.Assembly of the system 15
3.2.Interfacing and protocols used 16
4. CONCLUSION 17
REFERENCES 18
EMBEDDED AUTOMOBILE ENGINE LOCKING SYSTEM USING GSM TECHNOLOGY DEPARTMENT OF EEE
ABSTRACT
This paper deals with the design & development of an embedded system, which is being
used to prevent /control the theft of a vehicle. The developed instrument is an embedded system
based on GSM technology. The instrument is installed in the engine of the vehicle. An
interfacing GSM modem is also connected to the microcontroller to send the message to the
owner’s mobile.The main objective of this instrument is to protect the vehicle from any
unauthorized access, through entering a protected password and intimate the status of the same
vehicle to the authorize person (owner) using Global System for Mobile (GSM) communication
technology.
This system deals with the concept of network security. The main concept in this design
is introducing the mobile communications into the embedded system. The entire designed unit is
on a single board.The utility of the GSM standard makes international roaming very common
between mobile phone operators, enabling subscribers to use their phones in many parts of the
world. GSM differs significantly from its predecessors in both signaling and speech clarity, as its
channels is digitized. It means that the GSM system is now considered as a third generation (3G)
CHAPTER 1
INTRODUCTION
In these days, automobile thefts are increasing at an alarming rate all over the world. So
to escape from these thieves most of the vehicle owners have started using the theft control
systems. The commercially available anti-theft vehicular systems are very expensive. Here,
using GSM technology. The instrument is a simple and low cost vehicle theft control
embedded system.
The Global System for Mobile communications (GSM) is the most popular and accepted
standard for mobile phones in the world established in 1982 and it operates in 900 MHz
frequency. Over billion people use GSM service across the world. The utility of the GSM
standard makes international roaming very common between mobile phone operators,
enabling subscribers to use their phones in many parts of the world. GSM differs
significantly from its predecessors in both signaling and speech clarity, as its channels is
digitized. It means that the GSM system is now considered as a third generation (3G) mobile
communication system.
CHAPTER 2
All electronic components are assembled on a single Vero-board. After mounting and
soldering of the components and sockets as shown in the photograph, the other peripherals like
keypad,LCD,Buzzer microcontroller with other ICs are mounted/ inserted.For power supply unit a
230V AC followed by a step down transformer and a full wave bridge rectifier circuit is used as
shown in the circuit diagram.Alternatively a 12V DC supply from a 12V battery is use for circuit
Now, output power supply is given 5v to MCU & 12v to Relay. Relay connected to pin-0 of
port-0 of the MCU. Keypad connected from pin 0 to 3 row wise and from pin 4 to 6 of port-1
column wise. GSM modem connected to pin 0&1of port-3. Again LCD is connected to the pin 0 to
diagram. A 12V dc Fan is connected with the relay replicating the automobile engine. That means
the relay is activated the fan will move. Otherwise it will be idle. The L293D IC-1is interfaced
with port 0-5&6 and port 3-3 &4, where as L293D IC-2 is connected to port 0-1 &7 and port3-2 &
1.AT89S52 Microcontroller
6.GSM Modem
7.GSM Mobile
9.24C02 E2PROM
11.Buzzer
12.DB9 connector
(CMOS) 8- bit microcontroller with 8K bytes of flash programmable and erasable read only
memory (FPEROM). The device is manufactured using Atmel’s high-density nonvolatile memory
technology and is compatible with the industry standard 80C51 and 80C52 instruction set and pin
out. The on-chip flash allows the program memory to be reprogrammed in-system or by a
unit (CPU) with flash on a monolithic chip, the Atmel AT89S52 is a powerful microcontroller,
Block Diagram
This transformer steps down the incoming line voltage depending on the needs of the
power supply.This alternating voltage is then fed to the rectifier The rectifier is a diode circuit
that converts the ac to pulsating dc. This pulsating dc is then applied to the filter circuit.The
filter is a circuit that reduces the variations of the dc voltage. Here the capacitor is used as a
filter. The filtered dc is then fed to a voltage regulator stage. The voltage regulator is used to
maintain a constant voltage at the power supply output. It also provides a further smoothing of
the dc voltage. We are using an IC 7805 as voltage regulator to get a 5V output voltage.
Keypads and LCDs are the most widely used input/output devices. In this section, we first
discuss keypad fundamentals, along with key press and key detection mechanisms, and then it
is shown how a keypad is interfaced to an 8051 µC. Keypads are organized in a matrix of rows
and columns. The CPU accesses both rows and columns through ports. When a key is pressed,
the row and column are connected otherwise there is no connection between them.t port and the
columns are connected to an Input port. If no key has been pressed, reading the input port
The relay is an electromagnetic switch. When relay is activated, then it closes the loop of
ignition, hence start the engine. When relay is de-activated, it opens theyield 1s for all columns
since they are all connected tohigh voltage (Vcc). If all the rows are grounded and a
key is pressed, one of the columns will have 0 since thekey which is pressed provides the
path to ground. It is the function of the microcontroller to scan the keyboard continuously to
detect and identify the key which hasreplicating the automobile engine to verify the operation
of the system.
interact with outside world using input and output devices that operates in 900 MHz
frequency.communicate directly with a human being. One of the most common devices
attached to an 8051 µC is an LCD display. LCD requires 3 control lines as well a I/O lines for
the data bus. So this LCD will require by a GSMmodem such as: text messaging,total of 11 data
lines.
The three control lines are referred to as EN, RS, and RW. The EN line is called "Enable."
This control line is used to tell the LCD that you are sending it data. The enable pin used by the
LCD latches the information presented to its data pins. When data is supplied to data pins, high
to low pulse must be applied to this “EN” pin in order to latch the data present at the data pins.
This pulse must be a minimum of 450 ns wide.The RS line is the "Register Select" line. When
RS is low (0), the data is to be treated as a command or special instruction (such as clear screen,
position cursor, etc.). When RS is high (1), the data being sent is text data, which should be
displayed on the screen. The RW line is the "Read/Write" control line. When RW is low .
ignition, hence start the engine. When relay is de-activated, it opens the loop of ignition, hence
stop the ignition of the automobile. A DC Fan is connected with the relay replicating the
automobile engine to verify the open.replicating the automobile engine to verify the operation
of the system.
the GSM/GPRS Modem comes with a serial interface through which the modem can be
controlled using AT command interface. Here a SIMCOM made (SIM300) modem interfaced
with the microcontroller operates in 900 MHz frequency.The protocol used by GSM modems
for setup and control is based on the AT-Command set. The GSM modem specific commands
are adapted to the services offered by a GSMmodem such application is to show how to send
and receive text messages, only a subset of the AT-Command set needs to be implemented.
In our project we used a GSM mobile to receive the SMS sent by the instrument regarding the
engine-on status. The mobile number must be programmed with the source code. So that the
control unit can send theSMS and in the same time the authorized personreceived the same
A MAX232 chip is required to convert RS232 voltage levels to TTL levels, and vice versa.
8051 has one transmitter (TxD) and a receiver (RxD) for transferring and receiving serial data
from the port 3 (P3.0 and P3.1).They require a line driver to make them RS232 compatible. A
line driver converts the R232’s signals to TTL voltage levels that will be acceptable to 8051’s
2.1.10 AT24CO2EPROM
The AT24C02 is a 256 byte/ 2K-bit EEPROM, which used to retain the password even after
power failure. The device is organized as a single block of 256 x 8-bit memory with a two-
wired serial interface. The 24C02 supports a bi-directional two-wired bus and data
transmission [I2C] protocol. The bus has to be controlled by a master device (µC) which
generates the serial clock (SCL), controls the bus access, and START and STOP conditions,
automobile. Since, MCU can interpret the logic 1as 5v & 0 as 0v, so L293D motor driver IC
is used to convert 5v logic to 12v logic to drive the motor efficiently with full RPM. Here
used one IC to drive 2 motors. Accordingly there are used two ICs for our prototype model.
2.11 BUZZER
A buzzer is an audio signaling device, which may be mechanical, electro-mechanical or
electronic. Typical use of buzzers / beepers includes alarms and timers etc.
soldering of the components and sockets as shown in the photograph, theother peripherals like
keypad,LCD,Buzzer microcontroller with other ICs are mounted/ inserted.For power supply unit a
230V AC followed by a step down transformer and a full wave bridge rectifierAlternatively a 12V
DC supply from a 12V battery is use for circuit operation.Now, output power supply is given 5v to
MCU & 12v to Relay. Relay connected to pin-0 of port-0 of the MCU. Keypad connected from
pin 0 to 3 row wise and from pin 4 to 6 of port-1 column wise. GSM modem connected to pin
0&1of port-3Again LCD is connected to the pin 0 to 7 of port -2 and pin 2 to pin 4 of port -0
shown in the circuit diagram. A 12V dc Fan is connected with the relay replicating the automobile
engine.
Now, output power supply is given 5v to MCU & 12v to Relay. Relay connected to pin-0 of
port-0 of the MCU. Keypad connected from pin 0 to 3 row wise and from pin 4 to 6 of port-1
column wise. GSM modem connected to pin 0&1of port-3.Again LCD is connectedto the pin 0 to
7 of port -2 and pin 2 to pin 4 of port -0 as shown in the circuit diagram. A 12V dc Fan is
connected with the relay replicating the automobile engine. That means when the relay is activated
the fan will move. Otherwise it will be idle. The L293D IC-1is interfaced with port 0-5&6 and
port 3-3 &4, where as L293D IC-2 is connected to port 0-1 &7 and port3-2 & port1-7 as shown in
CHAPTER -3
WORKING OF THE MODULE
The embedded system installed in the engine of the vehicle along with the GSM modem. By
entering a correct password(like: *abcd) the instrument allows to activate the 12V relay and then
ignition of the engine will start. Hence start the vehicle.If anyone tries to enter the password
randomly, then after three trials, the MCU will block the entry of further password. Then, the
buzzer will turned on to create a noise to panic the culprit, followed by sending a message “Alert:
Car Is Under Threat” through GSM modem to the owner’s mobile for further action for prevention
of his vehicle.According to the prototype model after entering correct password the Fan will move
and at the sametime, according to the instruction it will run forward for 10 sec and backward for10
sec like an automobile.Password can be changed by the following proper procedure. First enter #,
then enter the old password, then new password. Now test, whether the new password is working
or not. As per algorithm given below the new password will retain even after power failure. So it
will work as usual.The source code is written in embedded C language. To develop the source
code the flow chart of the project is shown in the figure below.
Electronic innovation has made extraordinary steps and these days the nature of electronic parts—
execution, power, and unwavering quality—empowers utilizing them notwithstanding for basic
frameworks. In the meantime, the diminishing expense of electronic innovation permits them
to be utilized to support any function in a car.Generally, a vehicle contains a dozen to nearly 100
electronic control units (ECUs). There are two main modules of electronic systems i. e.
The demand for safety features in vehicles has been incorporated by different companies based
on the requirement by the end user and further motivated by the regulations imposed the
regulatory bodies. During recent years, the number of traffic fatalities has come down
throughout the developed economies. These number are becoming stagnant and the whole credit
goes to widespread use of safety systems. To include safety feature in the vehicles, OEM’s are
focusing on technological advancements which includes many sensors and advanced technical
systems in the vehicle. To inbuilt all the sensor and technical features in vehicle the need of
embedded system arises. These technological advancements are further fuelling the global
Major example of active safety system could be recognised as pedestrian recognition, adaptive
speed control, blind spot detection, lateral collision warning, cooperative lane changing
indication, merging assistance, car breakdown warning, integrated car safety, etc. These features
are anticipated to minimize the accident and accident related deaths. This is one of the majo
reason for the growth in the demand for embedded system market globally.
MALLA REDDY ENGINEERING COLLEGE FOR WOMEN(UGC AUTONOMOUS) PAGE
EMBEDDED AUTOMOBILE ENGINE LOCKING SYSTEM USING GSM DEPARTMENT OF
In automotive systems, more and more equipment is being changed from the mechanical systems
to electronic systems. Embedded system is the heart of a vehicle’s electronic system because of its
versatility and flexibility. The revolution of electronics has manipulated in automotive design
including the fuel combustion, powertrain crash protection, etc. Advanced usage of the embedded
system in the vehicle can help in controlling the pollution, increasing the facility to provide
systems monitoring features that consumers demand. Today a typical vehicle contains around 25
per vehicle.
Today, a typical automobile on the road has computer controlled electronic systems, and the most
commonly used embedded system in a vehicle includes Airbags, anti-lock braking system, black
box, adaptive cruise control, drive by wire, satellite radio, telematics, emission control, traction
control,automobile parking, in-vehicle entertainment systems, night vision, heads-up display, back
up collision sensors, navigational systems, tyre pressure monitor, climate control, etc.
soldering of the components and sockets as shown in the photograph, theother peripherals like
keypad,LCD,Buzzer microcontroller with other ICs are mounted/ inserted.For power supply unit a
230V AC followed by a step down transformer and a full wave bridge rectifierAlternatively a 12V
DC supply from a 12V battery is use for circuit operation.Now, output power supply is given 5v to
MCU & 12v to Relay. Relay connected to pin-0 of port-0 of the MCU. Keypad connected from
pin 0 to 3 row wise and from pin 4 to 6 of port-1 column wise. GSM modem connected to pin
0&1of port-3Again LCD is connected to the pin 0 to 7 of port -2 and pin 2 to pin 4 of port -0
shown in the circuit diagram. A 12V dc Fan is connected with the relay replicating the automobile
engine.
Now, output power supply is given 5v to MCU & 12v to Relay. Relay connected to pin-0 of
port-0 of the MCU. Keypad connected from pin 0 to 3 row wise and from pin 4 to 6 of port-1
column wise. GSM modem connected to pin 0&1of port-3.Again LCD is connectedto the pin 0 to
7 of port -2 and pin 2 to pin 4 of port -0 as shown in the circuit diagram. A 12V dc Fan is
connected with the relay replicating the automobile engine. That means when the relay is activated
the fan will move. Otherwise it will be idle. The L293D IC-1is interfaced with port 0-5&6 and
port 3-3 &4, where as L293D IC-2 is connected to port 0-1 &7 and port3-2 & port1-7 as shown in
In this project there are six interfacings used like 4x3 Matrix Keyboard, 16x2 LCD, GSM Modem,
addition, three protocols are being used like RS232, I2C, UART to functional the instrument
successfully.
CHAPTER 4
CONCLUSION
This is a unique method of designing and assembling a low-cost, compact theft control system
for an automobile. This instrument is an ultimate threat to vehicle thieves. By installing this
instrument in the automobile engine it is very difficult to access by an unknown person, since it is
based on GSM Technology. In future, there is no doubt, that all of the vehicles will be embedded
with this unique kit. In addition to the above features we can also add extra features like
REFERENCES
Energy Conversion Congress and Exposition (ECCE), Montreal, QC, Canada, 20–24
2. Hong, D.K.; Woo, B.C.; Koo, D.H.; Seo, U.J. A single-phase brushless DC motor with
improved high efficiency for water cooling pump systems. IEEE Trans. Magn. 2011, 47,
4250–4253. [CrossRef]
3. Chand, V.; Kalamkar, V.R. Solar photovoltaic water pumping system—A comprehensive
4. Singh, S.; Singh, B. Power factor correction in permanent magnet brushless DC motor
drive using single-phase Cuk converter. J. Eng. Sci. Technol. 2010, 5, 412–425.
5. Shi, T.; Guo, Y.; Song, P.; Xia, C. A New Approach of Minimizing Commutation Torque
Ripple for Brushless DC Motor Based on DC–DC Converter. IEEE Trans. Ind. Electron.
7. Mandel, Y.; Weiss, G. Reduction of torque ripple in brushless DC motor drives. IFAC
8. Bahari, N.B.; Jidin, A.B.; Abdullah, A.R.B.; Othman, M.N.B.; Manap, M.B. Modeling and
the 2012 IEEE Symposium on Industrial Electronics and Applications, Bandung, Indonesia,
9. Mohanty, S.; Subudhi, B.; Member, S.; Ray, P.K. A New MPPT Design Using Grey Wolf
Optimization Technique for Photovoltaic System Under Partial Shading Conditions. IEEE