Micro Controller Based Automatic
Car Locking System For Drunken
Drivers
Presented by:
B.Ruchitha (2451-16-735-159)
I.Sai Krishna (2451-16-735-327)
G.Srikanth (2451-16-735-328)
MVSR ENGGINEERING COLLEGE,NADERGUL
DEPARTMENT OF ELECTONICS AND COMMUNICATION ENGINEERING
Project Work Seminar
Title of the Project:
Project Guide:
B.Bhavani,
Assistant Professor,
Dept of ECE.
Contents
• Abstract
• Need for project
• Characteristics of the Project
• Introduction to Embedded Systems
• Block diagram
• Components
• Flowchart
• Advantages
• Applications
• Conclusion
Abstract
• The main aim of this embedded application is to detect the alcohol drunken
people. We are developing an embedded kit which will be placed in a vehicle. Now,
the vehicle will be under the control of the kit .If any drunken person enter in to the
vehicle it gives a buzzer sound immediately , and now the car will be under the
control of the hardwareused.
• We run the vehicle by using wireless communication i.e. from Control section
,we are ejecting the control signals, then the vehicle receives the signals, according
to the signals it will give a alarm or buzzer.
• It aims at designing and executing the vehicle controlling using RF. By using the
RF communication, whenever alcohol is detected using the alcohol detector, the micro
controller sends the information to the encoder and the encoder encodes the values and
is received by the RF Transmitter. RF Receiver receives the information from the RF
Transmitter and decoder decodes the serial input and sends the output to the micro
controller and according to the information received by the micro controller the robot
will move in that particular direction. The robot movement is driven with the help of
L293D as driver IC.
Need for project
• Compelling need for the innovation “Alcohol Detection with vehicular
system” provides an automatic safety system for cars and other vehicles as
well.
• Frequent and highly publicized enforcement can be effectivein reducing
drinking and driving if people perceive there is a credible
• Threat of being caught –but it will not eliminateit.
• 800 million drink driving trips annually (NHTSA,2003) 0.02% of all trips
• 1.5 million drivers arrested for Drunk and Drive
Characteristics of the project:
• An embedded system is some combination of computer hardware and software,
either fixed in capability or programmable, that is specifically designed for a
particularfunction
• TheKeilmicrovisionCompilerforthe8051microcontrolleristhemostpopular
8051 Ccompilerin theworld.
• We run the vehicleby using wireless communication i.e.fromControl section (actsas
transmitter)we areejectingthecontrol signals,then the vehiclereceives(actsas
receiver)thesignals,accordingtothesignalsitwill giveaalarm orbuzzer.
Introductionto Embedded systems:
 An embedded system is one that has computer-hardware with software
embedded in it as one of its most important component. It is a dedicated
computer-based system for an application(s) or product.
 An embedded system has three main components.
1. It has hardware
2. It has main application software.
3. It has a real time operating system (RTOS)
 An embedded system has software designed to keep in view three constraints:
(i) Available system memory.
(ii) Available processor speed.
(iii) The need to limit power dissipation when running the
system continuously.
Applications of embedded systems
• Military and aerospace embeddedsoftware applications.
• Communication applications.
• Industrial automation and process controlsoftware
• Mastering the complexity ofapplications.
• Reduction of product design time.
• Real time processing of ever increasing amounts of data.
• Intelligent, autonomous sensors.
Introduction
 Most of these days, we hear lot of accidents due to drunken driving.
Drunken drivers will not be in stable condition and so the rash driving is the
inconvenience for other road users and also question of life and death for the
drunken driver and for others.
 The system uses a compact circuitry built around Flash version of AT89S52
microcontroller with a non-volatile memory capable of retaining the
password data for over ten years. Programs are developed in embedded C.
ISP is used to dump the code into the microcontroller.
Block diagram:
Fig: Block Diagram
Components required:
 Power supply
 Microcontroller
 Alcohol detection sensor
 Buzzer driver circuit
 Transformer
 LCD
 Motors
 LM324 op-amp
Power supply:
 The above process is needed for the conversion of ACto DC using rectifier and
then ripples are removed using filter circuit(capacitor).
 Here we use 7805 voltage regulator.
Fig: Block Diagram of Power Supply
Micro controller:
Fig: 8051 microcontroller pin diagram
Alcohol detection sensor:
• The alcohol detection sensor used in our project is MQ-3 sensor.
Fig: MQ-3 alcohol detection sensor
Buzzer driver circuit:
 Microcontroller pins are not sufficient to drive circuits like relays and buzzers.
 So we use driver circuit in between microcontroller and buzzer.
 This complete structure is known as buzzer driver circuit.
Fig: Buzzer Driver Circuit
LCD:
 LCD (Liquid Crystal Display) screen is an electronic display module and find a
wide range of applications. A 16x2 LCD display is very basic module and is
very commonly used in various devices and circuits. A 16x2 LCD means it can
display 16 characters per line and there are 2 such lines.
LM324 op-amp:
 The LM324 series are low-cost, quad op-amps with true differential inputs.
 They have several distinct advantages over standard operational amplifiers.
 Single Supply Operation: 3.0 V to 32 V (LM224, LM324,LM324A).
 Low Input Bias Currents: 100 nA Maximum(LM324A).
 Four Amplifiers Per Package.
Motors:
 Here we use DC motors.
 The speed of a DC motor is directly proportional to the supply voltage.
 If we reduce the supply voltage from 12 Volts to 6 Volts, the motor will run at
half the speed.
Flowchart:
START
A L C O H O L D E T E C T I O N F R O M D R U N K E N D R I V E R S
W I T H E N G I N E L O C K I N G S Y S T E M
M E A S U R I N G A L C O H O L L E V E L O F T H E D R I V E R
1 . C A R E N G I N E O F F
2 . R E D L E D I N D I C A T O R
O N
3 . A L A R M O N
4 . G R E E N L E D I N D I C A T O R
O F F
1 . C A R E N G I N E O N
2 . G R E E N L E D I N D I C A T O R
O N
3 . A L A R M O F F
4 . R E D L E D I N D I C A T O R O F F
STOP
I S
A L C O H
O L
L E V E L
A B O V E
L I M I T
Fig: Flowchart of the entire system
Advantages:
• Low cost.
• Automated operation.
• Low Power consumption.
• It provides an automatic safety system for cars and other
• vehicles as well.
Applications:
• “Alcohol Detector project” can be used in the various vehicles for detecting
whether the driver has consumed alcohol or not.
• This project can also be used in various companies or organization to
detect alcohol consumption ofemployees.
Conclusion:
• In this project we will develop a real time model that can automatically lock
the enginewhen a drunken drivertries to drive a car. Now-a-days caraccidents are
mostly seen. By fitting this alcohol sensor intothe car, wecan save guard the life
of the driverand also the remaining passengers.
References:
 N. H. T. S. Administration, "Traffic Safety Facts 2014", Alcohol-Impaired
Driving, pp. 1-7, December 2015.
 https://ieeexplore.ieee.org/document/8405475
 Arduino - ArduinoBoardUno, 2016, [online]
Available:://www.arduino.cc/en/Main/ArduinoBoardUno
 https://www.electricaI4u.com
 www.wikipedia.org
 www.atmel.com
 Passive Alcohol Sensors Tested in 3 States ofYouthAlcohol Enforcement-
NHSA(1996)
Car locking system
Car locking system

Car locking system

  • 1.
    Micro Controller BasedAutomatic Car Locking System For Drunken Drivers Presented by: B.Ruchitha (2451-16-735-159) I.Sai Krishna (2451-16-735-327) G.Srikanth (2451-16-735-328) MVSR ENGGINEERING COLLEGE,NADERGUL DEPARTMENT OF ELECTONICS AND COMMUNICATION ENGINEERING Project Work Seminar Title of the Project: Project Guide: B.Bhavani, Assistant Professor, Dept of ECE.
  • 2.
    Contents • Abstract • Needfor project • Characteristics of the Project • Introduction to Embedded Systems • Block diagram • Components • Flowchart • Advantages • Applications • Conclusion
  • 3.
    Abstract • The mainaim of this embedded application is to detect the alcohol drunken people. We are developing an embedded kit which will be placed in a vehicle. Now, the vehicle will be under the control of the kit .If any drunken person enter in to the vehicle it gives a buzzer sound immediately , and now the car will be under the control of the hardwareused. • We run the vehicle by using wireless communication i.e. from Control section ,we are ejecting the control signals, then the vehicle receives the signals, according to the signals it will give a alarm or buzzer. • It aims at designing and executing the vehicle controlling using RF. By using the RF communication, whenever alcohol is detected using the alcohol detector, the micro controller sends the information to the encoder and the encoder encodes the values and is received by the RF Transmitter. RF Receiver receives the information from the RF Transmitter and decoder decodes the serial input and sends the output to the micro controller and according to the information received by the micro controller the robot will move in that particular direction. The robot movement is driven with the help of L293D as driver IC.
  • 4.
    Need for project •Compelling need for the innovation “Alcohol Detection with vehicular system” provides an automatic safety system for cars and other vehicles as well. • Frequent and highly publicized enforcement can be effectivein reducing drinking and driving if people perceive there is a credible • Threat of being caught –but it will not eliminateit. • 800 million drink driving trips annually (NHTSA,2003) 0.02% of all trips • 1.5 million drivers arrested for Drunk and Drive
  • 5.
    Characteristics of theproject: • An embedded system is some combination of computer hardware and software, either fixed in capability or programmable, that is specifically designed for a particularfunction • TheKeilmicrovisionCompilerforthe8051microcontrolleristhemostpopular 8051 Ccompilerin theworld. • We run the vehicleby using wireless communication i.e.fromControl section (actsas transmitter)we areejectingthecontrol signals,then the vehiclereceives(actsas receiver)thesignals,accordingtothesignalsitwill giveaalarm orbuzzer.
  • 6.
    Introductionto Embedded systems: An embedded system is one that has computer-hardware with software embedded in it as one of its most important component. It is a dedicated computer-based system for an application(s) or product.  An embedded system has three main components. 1. It has hardware 2. It has main application software. 3. It has a real time operating system (RTOS)
  • 7.
     An embeddedsystem has software designed to keep in view three constraints: (i) Available system memory. (ii) Available processor speed. (iii) The need to limit power dissipation when running the system continuously.
  • 8.
    Applications of embeddedsystems • Military and aerospace embeddedsoftware applications. • Communication applications. • Industrial automation and process controlsoftware • Mastering the complexity ofapplications. • Reduction of product design time. • Real time processing of ever increasing amounts of data. • Intelligent, autonomous sensors.
  • 9.
    Introduction  Most ofthese days, we hear lot of accidents due to drunken driving. Drunken drivers will not be in stable condition and so the rash driving is the inconvenience for other road users and also question of life and death for the drunken driver and for others.  The system uses a compact circuitry built around Flash version of AT89S52 microcontroller with a non-volatile memory capable of retaining the password data for over ten years. Programs are developed in embedded C. ISP is used to dump the code into the microcontroller.
  • 10.
  • 11.
    Components required:  Powersupply  Microcontroller  Alcohol detection sensor  Buzzer driver circuit  Transformer  LCD  Motors  LM324 op-amp
  • 12.
    Power supply:  Theabove process is needed for the conversion of ACto DC using rectifier and then ripples are removed using filter circuit(capacitor).  Here we use 7805 voltage regulator. Fig: Block Diagram of Power Supply
  • 13.
    Micro controller: Fig: 8051microcontroller pin diagram
  • 14.
    Alcohol detection sensor: •The alcohol detection sensor used in our project is MQ-3 sensor. Fig: MQ-3 alcohol detection sensor
  • 15.
    Buzzer driver circuit: Microcontroller pins are not sufficient to drive circuits like relays and buzzers.  So we use driver circuit in between microcontroller and buzzer.  This complete structure is known as buzzer driver circuit. Fig: Buzzer Driver Circuit
  • 16.
    LCD:  LCD (LiquidCrystal Display) screen is an electronic display module and find a wide range of applications. A 16x2 LCD display is very basic module and is very commonly used in various devices and circuits. A 16x2 LCD means it can display 16 characters per line and there are 2 such lines.
  • 17.
    LM324 op-amp:  TheLM324 series are low-cost, quad op-amps with true differential inputs.  They have several distinct advantages over standard operational amplifiers.  Single Supply Operation: 3.0 V to 32 V (LM224, LM324,LM324A).  Low Input Bias Currents: 100 nA Maximum(LM324A).  Four Amplifiers Per Package.
  • 18.
    Motors:  Here weuse DC motors.  The speed of a DC motor is directly proportional to the supply voltage.  If we reduce the supply voltage from 12 Volts to 6 Volts, the motor will run at half the speed.
  • 19.
    Flowchart: START A L CO H O L D E T E C T I O N F R O M D R U N K E N D R I V E R S W I T H E N G I N E L O C K I N G S Y S T E M M E A S U R I N G A L C O H O L L E V E L O F T H E D R I V E R 1 . C A R E N G I N E O F F 2 . R E D L E D I N D I C A T O R O N 3 . A L A R M O N 4 . G R E E N L E D I N D I C A T O R O F F 1 . C A R E N G I N E O N 2 . G R E E N L E D I N D I C A T O R O N 3 . A L A R M O F F 4 . R E D L E D I N D I C A T O R O F F STOP I S A L C O H O L L E V E L A B O V E L I M I T Fig: Flowchart of the entire system
  • 20.
    Advantages: • Low cost. •Automated operation. • Low Power consumption. • It provides an automatic safety system for cars and other • vehicles as well.
  • 21.
    Applications: • “Alcohol Detectorproject” can be used in the various vehicles for detecting whether the driver has consumed alcohol or not. • This project can also be used in various companies or organization to detect alcohol consumption ofemployees.
  • 22.
    Conclusion: • In thisproject we will develop a real time model that can automatically lock the enginewhen a drunken drivertries to drive a car. Now-a-days caraccidents are mostly seen. By fitting this alcohol sensor intothe car, wecan save guard the life of the driverand also the remaining passengers.
  • 23.
    References:  N. H.T. S. Administration, "Traffic Safety Facts 2014", Alcohol-Impaired Driving, pp. 1-7, December 2015.  https://ieeexplore.ieee.org/document/8405475  Arduino - ArduinoBoardUno, 2016, [online] Available:://www.arduino.cc/en/Main/ArduinoBoardUno  https://www.electricaI4u.com  www.wikipedia.org  www.atmel.com  Passive Alcohol Sensors Tested in 3 States ofYouthAlcohol Enforcement- NHSA(1996)