Professional Documents
Culture Documents
INTRODUCTION
ABOUTELECTRONI
DEPARTMENTOFPHYSICS,ANANDACOLLEGE,DEVAKOTTAI
Page1
MICRO CONTROLLER BASED VEHICLE SECURITY SYSTEM 2024
CS
DEPARTMENTOFPHYSICS,ANANDACOLLEGE,DEVAKOTTAI
Page2
MICRO CONTROLLER BASED VEHICLE SECURITY SYSTEM 2024
CHAPTER-
IINTRODUCTIO
ELECTRONICDEVICES
RECTIFICATION
Theconversionofalternatecurrentintodirectcurrentiscalledasrectification.El
ectronics devices can convert into a.c.power into d.c.power withvery high
efficiency.This d.c.supply can be used for charge storage batteries,field
supplyofd.c.generators,electroplating.
DEPARTMENTOFPHYSICS,ANANDACOLLEGE,DEVAKOTTAI
Page3
MICRO CONTROLLER BASED VEHICLE SECURITY SYSTEM 2024
AMPLIFICATION
Theprocessofraisingthestrengthofaweaksignalisknownasamplification.Ele
ctronics devices can accomplish the job of amplification andthus act as
amplifiers.The amplifiers are used in a wide variety of ways.Forexample, an
Amplifier is used in radio-set where the weak signal is amplified sothat it can be
heard loudly.Similarly, amplifiers are used in public
addresssystem,televisionetc,
CONTROL
Electronicdevicesfindwideapplicationsinautomaticcontrol.Forexample,sp
eed ofamotor,voltageacrossa refrigeratoretc.
GENERATION
Electronicdevicescanconvertd.c.powerintoa.cpowerofanyfrequency.
Whenperformingthisfunction,theyareknownasoscillator.
CONVERSIONOFLIGHTINTOELECTRICITY
CONVERSIONOFELECTRICITYINTOLIGHT
ICVOLTAGEREGULATORS
A voltage regulator is one of the most widely used electronic circuitry
and it is very important for many digital electronics circuits or devices and it is
DEPARTMENTOFPHYSICS,ANANDACOLLEGE,DEVAKOTTAI
Page4
MICRO CONTROLLER BASED VEHICLE SECURITY SYSTEM 2024
important for the smooth functioning of many digital electronic
devices.Acommon case is with micro controllers, where a smooth regulated
input voltagemustbe suppliedforthemicrocontrollertofunctionsmoothly.
REGULATEDPOWERSUPPLY
STEPDOWNTRANSFORMER
ELECTRONICSCOMPONENTS
DEPARTMENTOFPHYSICS,ANANDACOLLEGE,DEVAKOTTAI
Page6
MICRO CONTROLLER BASED VEHICLE SECURITY SYSTEM 2024
CHAPTER –
IIELECTRONICCOMPONENTS
TYPESOFCOMPONENTS
ElectronicComponentsaremainlydividedintotwotypes.They
are
1. ActiveComponents
2. PassiveComponents
ACTIVECOMPONENTS
Thecomponentswhichproducetheenergyintheformofcurrentorvoltagearecalleda
sactivecomponents.
Example:
Transistor,Semiconductor,Diodeetc.,
PASSIVECOMPONENTS
The components which store the energy in the form of current or voltage
arecalled aspassivecomponents.
Example:Resistors,Capacitor,Inductorsetc.,
TRANSFORMER
VoltageTransformerBasics
DEPARTMENTOFPHYSICS,ANANDACOLLEGE,DEVAKOTTAI
Page7
MICRO CONTROLLER BASED VEHICLE SECURITY SYSTEM 2024
country using anational grid of pylonsand cablesoververy long distances.The
reason for transforming thevoltageis that higher distribution
voltagesimplylowercurrents and thereforelowerlossesalongthegrid.
RESISTORS:
Aresistorisanelectricalcomponent,whichhasbeenmanufacturedwitha
resistance.The resistors can conduct current in both the directions.Thus
theresistorsmaybeconnectedinanelectriccircuitwithoutconcernforlaidpolarization
.Theresistorsareusedmainlyfortwopurposes,namelycontrolling the flow of
electric current and providing desired amounts o voltageinelectricor
electroniccircuits.
DEPARTMENTOFPHYSICS,ANANDACOLLEGE,DEVAKOTTAI
Page8
MICRO CONTROLLER BASED VEHICLE SECURITY SYSTEM 2024
TYPESOFRESISTORS
Theresistorsarebasicallyoftwotypes, thereare
Fixedresistor
Variableresistor
FIXEDRESISTOR
Thefixedresistorsarethose,whosevaluesdonotchangewiththevariations in
applied voltage temperature and light intensity.Such resistors
areavailableinvariousshapesandsizes,withbothaxialandradial.
DEPARTMENTOFPHYSICS,ANANDACOLLEGE,DEVAKOTTAI
Page9
MICRO CONTROLLER BASED VEHICLE SECURITY SYSTEM 2024
VARIABLERESISTOR
These resistors, like fixed resistors, are used to control current flow
andprovidedesiredamountsofvoltageinelectriccircuits.Butunlikefixedresistors,
the resistance values of variable linear resistors can be varied 0 to aspecified
value.A simple application of a variable resistor the intensity of lampcan be
changed from full brightness to total darkness.Another application of avariable
resistor, where it is used to vary the gain of amplifier.When a
variableresistorisused inthismanner,itiscalledavolume control.
INDUCTORS
DEPARTMENTOFPHYSICS,ANANDACOLLEGE,DEVAKOTTAI
Page10
MICRO CONTROLLER BASED VEHICLE SECURITY SYSTEM 2024
used in transformers and coupled circuitsto transfer (or couple) energy
fromonecircuit toanother.
Inmanyapplications,theinductorsareusedtominimizealternatingcurrents,wh
ile permitting flow of directcurrent.In such applications,theinductor is called a
choke.Thus we have chokes for audio-frequency and radio-frequency
range.These chokes are called audio-frequency chokes (AFO) andradio-
frequencychokes(RFC).Theinductorsaregenerallyspecifiedwithinductancevaluea
nd currentcapacity.
TYPESOFINDUCTORS:
Theinductorsareoftwotypesnamelyfixedinductorsandvariableinductors
depending upon the type of core, whether it is fixed or
variable.Nowweshalldiscussboththetypesofinductors.Thereare
Fixed inductor
Variableinductor
DEPARTMENTOFPHYSICS,ANANDACOLLEGE,DEVAKOTTAI
Page11
MICRO CONTROLLER BASED VEHICLE SECURITY SYSTEM 2024
FIXEDINDUCTORS:
The fixed inductors are of three types namely air inductors, iron
coreinductorsandferritecoreinductors.
Air-coreinductors:
Iron-coreinductors:
Ferrite-coreinductor:
This inductor is made of coils or wire wound on a ferrite core.A ferrite isa
magnetic consisting of fine particles of iron, cobalt or nickel embedded in
aninsulator binder.The ferrite core has very low eddy current
loss.Thereforeferrite-coreinductorsareused athigherfrequencies.
VARIABLEINDUCTORS
DEPARTMENTOFPHYSICS,ANANDACOLLEGE,DEVAKOTTAI
Page12
MICRO CONTROLLER BASED VEHICLE SECURITY SYSTEM 2024
TRANSISTOR
\
Whenathirddopedelementisaddedtoacrystaldiodeinsuchawaythattwopnjunct
ionsareformed,theresultingdeviceinknownas a transistor.
A transistorconsistsoftwopn junctionsformedbysandwichingeitherp-
typeorn-typesemiconductorbetweenapairofoppositetypes.
Accordinglytherearetwotypesoftransistors,namely;
I. n-p-ntransistor
II. p-n-ptransistor
Ann-p-ntransistoriscomposedoftwon-
typesemiconductorsseparatedbythinsection ofp-type.
However,ap-n-ptransistorisformedbytwop-sectionsseparatedbythinsectionof
n-type.
Ineachtypeoftransistor,thefollowingpointsmaybenoted:
The weak signal is introduced in the low resistance circuit and output
istakenfromthehighresistancecircuit. Therefore,atransistoristransfersa
signalfromlowresistancetohighresistance. Theprefix‘trans’meansthe
DEPARTMENTOFPHYSICS,ANANDACOLLEGE,DEVAKOTTAI
Page13
MICRO CONTROLLER BASED VEHICLE SECURITY SYSTEM 2024
signaltransfer
propertyofthedevicewhile‘istor’classifiesitasasolidelementinthesamegeneralfami
lywithresistors.
NAMINGTHETRANSISTORTERMINALS
EMITTER
The section on one side that supplies charge carries (electrons or holes)
iscalled the emitter.The emitter is always forward biased w.r.t base so that it
cansupplyalargenumber ofmajoritycarriers.
DEPARTMENTOFPHYSICS,ANANDACOLLEGE,DEVAKOTTAI
Page14
MICRO CONTROLLER BASED VEHICLE SECURITY SYSTEM 2024
The emitter (n-type) of n-p-n transistor has a forward bias and
suppliesfreeelectronstoitsjunctionwiththebase.
COLLECTOR
Thesectionontheothersidethatcollectsthechargesiscalledthecollector.The
collector is always reverse biased.Its function is to
removechargesfromitsjunctionwiththebase.TheCollector(p-type)ofp-n-
ptransistor has a reverse bias and receives hole charges that flow in the
outputcircuit.The collector(n-type) of n-p-n transistor has reverse bias and
receiveselectrons.
BASE
The middle section which forms two p-n junctions between the
emitterand collector is called the base.The base-emitter junction is forward
biased,allowing low resistance for the emitter circuit.The base-collector junction
isreversingbiasedand provideshighresistance inthe collectorcircuit.
TRANSISTORACTION
Theemitter-basejunctionofatransistorisforwardbiasedwhereascollector-
base junction is reversing biased.If for a moment, we ignore thepresence of
emitter-base junction, then practically no current would flow in
thecollectorcircuitbecauseof thereversebias.However,if theemitter-basejunction
is also present, then forward bias on it causes the emitter current
toflow.Therefore the current in the collector circuit depends upon the
emittercurrent.Ifthe emitter current is zero, then the collector current is nearly
zero.However if the emitter current is 1mA, then collector current is also about
1mA.Thisispreciselywhathappensinatransistor.
DEPARTMENTOFPHYSICS,ANANDACOLLEGE,DEVAKOTTAI
Page15
MICRO CONTROLLER BASED VEHICLE SECURITY SYSTEM 2024
RELAY
CAPACITOR
TYPESOF CAPACITOR
Fixedcapacitor
Variablecapacitor
FIXEDCAPACITOR
ELECTROSTATICCAPACITOR
ELECTROLYTICCAPACITOR
DEPARTMENTOFPHYSICS,ANANDACOLLEGE,DEVAKOTTAI
Page17
MICRO CONTROLLER BASED VEHICLE SECURITY SYSTEM 2024
deposited on one of the metal plates.The electrolyte used is either in a
liquidform or intheform of apaste,whichsaturatesapaper or agauge.Thecapacitor
is packed in metal cylinder.The cathode is connected to the cylinder.The
cylinder is usually, enclosed in a paper tube or cardboard tube, in order
toinsulateitfromoutside.
SYMBOL
VARIABLECAPACITOR
DIODE
DEPARTMENTOFPHYSICS,ANANDACOLLEGE,DEVAKOTTAI
Page18
MICRO CONTROLLER BASED VEHICLE SECURITY SYSTEM 2024
The commercially available diodes usually have some notation to
identifytheP andNterminals.
The diode has a color band located near the one of ends.The end is
nearthe color band, is defined as cathode. And the other end, obviously, is
theanode. The diode has a schematic symbol actually painted as its cathode
andthe other end as anode. The diodes can pass a forward current of 100mA
andare known as low current diodes. The diode has a color dots marked on
itsbody.The end lying near the blue dot is cathode, while the other end is
anode.The diodes of this size can pass a forward current of 500Ma and are
known ascurrent diodes which can pass a forward current of several amperes.
Thereforeitisknownashighcurrentdiodes.
SYMBOLOFDIODE
APPLICATIONOFDIODE
DEPARTMENTOFPHYSICS,ANANDACOLLEGE,DEVAKOTTAI
Page19
MICRO CONTROLLER BASED VEHICLE SECURITY SYSTEM 2024
poorlyin reversedirection.Thischaracteristicsmakesadiodeveryuseful
inanumber ofapplication:
I. Asrectifiersorpowerdiodesind.c.powersupplies.
II. As signaldiodesincommunicationcircuits.
III. Aszenerdiodeinvoltagestabilizingcircuits.
IV. AsvaractordiodeinradioandT.Vreceivers.
V. Asaswitchinlogiccircuitsusedincomputers.
DEPARTMENTOFPHYSICS,ANANDACOLLEGE,DEVAKOTTAI
Page20
MICRO CONTROLLER BASED VEHICLE SECURITY SYSTEM 2024
The circuit is made of copper foil so thin that it needs a base to support
it.The base is also mounting device, used to fasten the complete package to
thecase.An etchedorprintedcircuitconsistsof athinlayerofcopperinachemical.The
copper foil acts as the wire or conductor in the
circuit.Thecomponentlikeresistors,transistors,andcapacitorsaresolderedtothecon
ductivefoilto completetheelectricalpathand circuit.
POWERSUPPLY
All electronic circuits need d.c power supply either from battery or power
packunits.It may not be economical and convenient to depend upon battery
powersupply.Hence,manyelectronicequipmentcontaincircuitswhichconvertthe
a.c supply voltage into d.c voltage at the required level.The unit
containingthesecircuitsiscalledthelinearmodepowersupply(LPS).Intheabsenceof
a.c mains supply, the d.c supply from battery can be converted into required
a.cvoltagewhihmaybeusedbycomputerandotherelectronicfortheiroperation.
Linearpowersupply(LPS):a.c/d.cpowersupply–converter.
Switchedmodepowersupply(SMPS):
I. d.c/d.cpowersupply–converter
II. d.c/a.cpowersupply–inverter
An a.c/d.c power supply converts a.c mains (230 v, 50Hz) into required
d.cvoltagesandisfoundinallmainsoperablesystem.
D.C/D.Cposersuppliesord.c/d.cconvertersareusedinportablesystems.DC/
ACpowersuppliesorinvertersareusedinportablemains
DEPARTMENTOFPHYSICS,ANANDACOLLEGE,DEVAKOTTAI
Page21
MICRO CONTROLLER BASED VEHICLE SECURITY SYSTEM 2024
operablesystemsandasasupplementtoa.cmainsinnon-portablemainsoperable
system, where a disruption in the power supply can affect the job beingdone by
the system.An inverter is a form of UPS or SPS and is very popular incomputer
system.
DEPARTMENTOFPHYSICS,ANANDACOLLEGE,DEVAKOTTAI
Page22
MICRO CONTROLLER BASED VEHICLE SECURITY SYSTEM 2024
Thesemiconductingmaterialsusedformanufacturinglightemittingdiodes are
gallium arsenide, gallium arsenide phosphide..Moreover,
thesematerialsareverypoorinemittinglight radiations.
SYMBOL OFLED
DEPARTMENTOFPHYSICS,ANANDACOLLEGE,DEVAKOTTAI
Page23
MICRO CONTROLLER BASED VEHICLE SECURITY SYSTEM 2024
DEPARTMENTOFPHYSICS,ANANDACOLLEGE,DEVAKOTTAI
Page24
MICRO CONTROLLER BASED VEHICLE SECURITY SYSTEM 2024
DEPARTMENTOFPHYSICS,ANANDACOLLEGE,DEVAKOTTAI
Page25
MICRO CONTROLLER BASED VEHICLE SECURITY SYSTEM 2024
COMPONENTSREQUIRED
ESP 8266-micro controller
Ignition key
Buzzer
Breadboard
ConnectingWires
PowerSupply
DEPARTMENTOFPHYSICS,ANANDACOLLEGE,DEVAKOTTAI
Page26
MICRO CONTROLLER BASED VEHICLE SECURITY SYSTEM 2024
Ignition key:
by the vehicle’s internal computer, to get your vehicle started. Beginning with the
ignition coil, it takes power from the battery and turns it into a spark powerful
enough to ignite fuel vapor. The coil itself is made up of two windings called the
primary and secondary. The primary winding gathers the power to create a spark
and the secondary’s job is to send it to the distributor. The distributor is a precise
spinner that distributes the sparks via the spark plug wires to the individual spark
plugs with precise timing by the use of a rotor. The spark plugs are plugged
into the cylinder head. When the intake valves have distributed the proper amount
of fuel and vapor into the cylinder, the spark plug produces a hot spark that
Buzzer.
A buzzer or beeper is an audio signaling device,[1] which may
beepers include alarm devices, timers, train and confirmation of user input such as
DEPARTMENTOFPHYSICS,ANANDACOLLEGE,DEVAKOTTAI
Page27
MICRO CONTROLLER BASED VEHICLE SECURITY SYSTEM 2024
1K Resistance
The Crystal oscillator has a frequency of 16MHz, which provides
theclock signal to the microcontroller. It provides the basic timing and control
totheboard.
DEPARTMENTOFPHYSICS,ANANDACOLLEGE,DEVAKOTTAI
Page28
MICRO CONTROLLER BASED VEHICLE SECURITY SYSTEM 2024
PRINCIPLE&WORKING
DEPARTMENTOFPHYSICS,ANANDACOLLEGE,DEVAKOTTAI
Page29
MICRO CONTROLLER BASED VEHICLE SECURITY SYSTEM 2024
CHAPTERIV
It can track, monitor and stop the stolen two wheelers too by this system. The two-
microcontroller, which then sends the message to the user smart phone through
the GSM moduleThis paper implements for theft prevention in two-wheeler using
GSM, GPS. It can track, monitor and stop the stolen two wheelers too by this
system. The two-wheeler position is obtained by the GPS module, which is send
to the microcontroller, which then sends the message to the user smart phone
The main purpose of this project is to prevent vehicle theft. This functionality is achieved by detecting
vehicle status in theft mode and by sending an SMS which is generated automatically. This SMS is then
sent to the owner of the vehicle. The owner can then send back the SMS tin order to disable the ignition of
the vehicle. Thus in this way crimes can be reduced to a great extent as vehicles today are being stolen in
large number. Hence, vehicles today require high security which can be achieved with the help of this
application. How the system works is when a person tries to steal the vehicle, the microcontroller is
interrupted and the command is sent to the GSM modem to send SMS. On the receipt of the message, the
owner sends back the SMS to the GSM modem. This is done in order to stop the engine. This GSM
DEPARTMENTOFPHYSICS,ANANDACOLLEGE,DEVAKOTTAI
Page30
MICRO CONTROLLER BASED VEHICLE SECURITY SYSTEM 2024
modem is interfaced to the microcontroller. This microcontroller on the receipt of the message uses a
mechanism that helps to stop the engine. Motor is being used in this project in order to indicate vehicle
ON/OFF state.
Further enhancement can be done to this project by using a GPS system that helps to find out the exact
position of the vehicle with the help of its latitude and longitude which then can be sent to the owner of
the vehicle via SMS. This data can be then entered by the owner on Google map to find out the exact
location of the vehicle.
DEPARTMENTOFPHYSICS,ANANDACOLLEGE,DEVAKOTTAI
Page31
MICRO CONTROLLER BASED VEHICLE SECURITY SYSTEM 2024
ESP8266 Functions
ESP8266 has many applications when it comes to the IoT. Here are just some of
the functions the chip is used for:
PROGRAM CODING:
#define RELAYPIN 2
#define WARNLEDPIN 2
char tag[] ="4000350ABAC5";
char input[12];
int count = 0;
boolean flag = 0;
void setup()
{
Serial.begin(9600);
pinMode(RELAYPIN,OUTPUT);
pinMode(WARNLEDPIN,OUTPUT);
}
void loop()
{
if(Serial.available())
{
count = 0;
if(count == 12)
{
count =0;
flag = 1;
count++;
}
}
if(flag == 1)
{
Serial.println("Access Allowed!");
digitalWrite(RELAYPIN,HIGH);
delay (5000);
digitalWrite (RELAYPIN,LOW);
}
else
{
Serial.println("Access Denied");
digitalWrite(WARNLEDPIN,HIGH);
delay(5000);
digitalWrite(WARNLEDPIN,LOW);
}
DEPARTMENTOFPHYSICS,ANANDACOLLEGE,DEVAKOTTAI
Page33
MICRO CONTROLLER BASED VEHICLE SECURITY SYSTEM 2024
DEPARTMENTOFPHYSICS,ANANDACOLLEGE,DEVAKOTTAI
Page34
MICRO CONTROLLER BASED VEHICLE SECURITY SYSTEM 2024
CHAPTER–V
CONCLUSION
DEPARTMENTOFPHYSICS,ANANDACOLLEGE,DEVAKOTTAI
Page36