You are on page 1of 22

Contents:

 Aim
 Introduction to embedded systems
 Introduction for microcontroller based automatic engine locking system for
drunken drivers
 Block diagram of project
 Power supply
 Microcontroller
 Alcohol detection sensor
 Buzzer driver circuit
 Transformer
 LCD
 Motors
 LM324 op-amp
 Advantages
 Applications
 Future enhancement
 Conclusion
Aim:
The main purpose behind this project is “Drunken
driving detection”. Now-a-days, many accidents are
happening because of the alcohol consumption of the
driver. Thus drunk driving is a major reason of
accidents in almost all countries all over the world.
Introduction to 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.
Introduction to Microcontroller based
automatic engine locking system for drunken
drivers
 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:
Buzzer
Alcohol
Detection AT89S52
sensors Micro
Controller
LM324 Motors

Power
supply
Power supply:

 The above process is needed for the conversion of AC to


DC using rectifier and then ripples are removed using
filter circuit(capacitor).
 Here we use 7805 voltage regulator.
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.
AT89S52
Micro Controller
Driver
circuit Buzzer

Fig: Buzzer driver circuit


TRANSFORMER:
LCD:

Fig: LCD pin diagram

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
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.
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.





Future enhancement:
 We can implement GSM technology to inform the relatives or
owners of the vehicle about the alcohol consumption.
 We can implement GPS technology to find out the location
of the vehicle.
References:
 Embedded systems
 Microcontroller AT89S52
 www.wikipedia.org
 www.atmel.com
 Passive Alcohol Sensors Tested in 3 States of Youth Alcohol
Enforcement-NHSA(1996)
QUERIES..?

You might also like