Vous êtes sur la page 1sur 28

PVG’s College of Engineering , Nashik

Department of E&TC

ALCOHOL DETECTION
WITH
VEHICLE CONTROL

Guided by:-
Prof. P. J. Mondhe
ALCOHOL DETECTION WITH
VEHICLE CONTROL USING
ARDUINO

Created By:-
16.Vaibhav Chopde
18.Akash Davange
22.Deepak Gaikwad
ABSTRACT
Road accidents are very common in today’s busy
life. Most of the people use private vehicles and
sometimes being careless, people may drive in a
drunken state.
 This may lead to hazardous accidents.

 To avoid such conditions, we have worked upon


this project that enhances safety on roads. It
aims to prevent drunk and driving and thus
avoiding accidents
OVERVIEW
 Introduction
 Literature Review
 Block Diagram
 Circuit Diagram
 Arduino
 Hardware Details
 Software Details
 Benefits Of Project
 Applications
 Future Scope
INTRODUCTION
 An alcohol sensor is being used to detect presence
of alcohol in the inner atmosphere of a car.
 The sensor detection activates the system that is
programmed in Arduino controller which will
trigger an alarm and a flash light in order to
keep driver in conscious state.
 Engine will not start until alcohol sensor senses
the absence of alcohol in inner atmosphere of a
car.
LITERATURE REVIEW
 World Health Organization’s , first ever Global Status
Report on Road Safety reveals that 90% of deaths on
the world's roads occur in low and middle- income
countries (21.5 and 19.5 per lakh of population,
respectively) though they have just 48% of all
registered vehicles.
 India has the second largest road network in the world
with over 3 million km of roads of which 60% are
paved. These roads make a vital contribution to the
India's economy. According to a government report,
road accidents in India killed 1,34,000 people in 2010
(an average of 336 a day).
 Accidents due to drunken driving are a major
problem in India. The problem is unrecognized
and hidden due to lack of good quality research
data.
 A study conducted by Alcohol & drug Information
Centre (AIDC), India revealed that around 40%
of the road accidents have occurred under the
influence of alcohol. Young male drivers are at a
high risk of such accidents.
 Though some efforts are being taken to reduce
the Road Accidents due to drunken driving,
considering the gravity of the situation it is
important to change strategies and mechanisms
with foresight and effective implementation.
BLOCK DIAGRAM
DESCRIPTION
The functional block diagram of the Alcohol Detection
With Vehicle Control system which is shown in the figure,
mainly divided in to three main sections as follows.
 Sensor output section:

The MQ-3 alcohol sensor contains a kind of polymer


which on heats changes its resistance according presence
of alcohol in a car. It sends analog signals to the
microcontroller in the form of several values according to
intensity of alcohol.
 The Microcontroller section:

In this section the microcontroller AT-MEGA 328P


receives the analog signal that comes from alcohol sensor
via inbuilt Analog to Digital Convertor (ADC).

 
The microcontroller processes the input data from
sensor according to coding developed by the user in
ARDUINO software.
  The Display & Controlling section:

This section mainly consists of 16x2 LCD display


and the mainly controlling action of the circuit.
According to the alcohol detected in earlier section
the microcontroller sets the condition as per program
by user.
If alcohol is present in a car, then the
microcontroller sends the message ” ALCOHOL
DETECTED” & prints sensor value on the LCD
display and it controls the car ignition system using
relay driver which is connected to microcontroller and
also sounds the pizeo Buzzer. It glows respective LED
as per the state detected by the microcontroller.
LCD 16X2 DISPLAY
1.Now a days many LCD modules are available which
have built-in drivers for LCD and interface them to
microcontroller and microprocessor system.
2.They available in 16x2,20x2,20x4,40x2 size.
3.The pin are:-
Vss=ground.
Vcc=+5v
Vee=Used for LCD contrast.
RS=0:Data register is selected.
RS=1:Command register is selected.
R/W=1:for reading.
R/W=0:for writing.
E=enable.
D0 to D7=8bit data bus
VOLTAGE REGULATOR IC 7805
o 7805 is a voltage regulator integrated circuit.
o It is a member of 78xx series of fixed linear
voltage regulator ICs.
o The voltage source in a circuit may have
fluctuations and would not give the fixed
voltage output.
o The voltage regulator IC maintains the
output voltage at a constant value.
o The xx in 78xx indicates the fixed output
voltage it is designed to provide.
o 7805 provides +5V regulated power supply.
Capacitors of suitable values can be
connected at input and output pins
depending upon the respective voltage levels.
ATMEGA 328P
 High Performance, Low Power AVR® 8-Bit
Microcontroller
 Advanced RISC Architecture

 131 Powerful Instructions – Most Single Clock


Cycle Execution
 32 x 8 General purpose working register

 23 Programmable I/O Lines

 28-pin PDIP, 32-lead TQFP

 Operating Voltage: 1.8 - 5.5V

 Temperature Range: -40°C to 85°C

 Speed Grade: 0 - 20 MHz @ 1.8 - 5.5V


PIN CONFIGURATION
OF ATMEGA 328P
 Port B (PB7:0) XTAL1/XTAL2/TOSC1/TOSC2 & Port
D (PD7:0) :
Port B & Port D are 8-bit bi-directional I/O port with
internal pull-up resistors (selected for each bit).
 Port C (PC5:0):

Port C is a 7-bit bi-directional I/O port with internal


pull-up resistors (selected for each bit).
 PC6/RESET: If the RSTDISBL Fuse is programmed,
PC6 is used as an I/O pin.
 AVcc: AVcc is the supply voltage pin for the A/D
Converter, PC3:0, and ADC7:6.
 AREF:AREF is the analog reference pin for the A/D
Converter.
 ADC7:6 (TQFP and QFN/MLF Package Only) :

In the TQFP and QFN/MLF package, ADC7:6 serve


as analog inputs to the A/D converter.
ULN 2003
 ULN 2003A is a high-voltage, high-current
Darlington transistor arrays. Each consists
of seven npn Darlington pairs.
 500-mA-Rated Collector Current(Single
Output)
 High-Voltage Outputs . . . 50 V

 Output Clamp Diodes

 Inputs Compatible With Various Types of


Logic
 Relay-Driver Applications
MQ 3 GAS SENSOR
 MQ-3 is semiconductor sensor for Alcohol.
 Sensitive material of MQ-3 gas sensor is SnO2,

which with lower conductivity in clean air. When


the target alcohol gas exist, The sensor’s
conductivity is more higher along with the gas
concentration rising.

 MQ-3 gas sensor has high sensitity to Alcohol, and


has good resistance to disturb of gasoline, smoke
and vapor. The sensor could be used to detect
alcohol with different concentration, it is with low
cost and suitable for different application.
5V DOUBLE POLE RELAY
 92/8 gold silver alloy on silver palladium
contact type is suitable for low level
switching application.
 Small size and light weight can provide

high density P.C. Board mounting.


 2.54gmm Terminal Pitch.

 Low Coil Power Consumption of GS-T Type and


high
Coil Power Consumption of GS-D type are
available to meet user’s selection.
 Employment of suitable plastic materials to be
applied to high temperature and various
chemical solution.
 Plastic epoxy resin sealed type for washing .
DC MOTOR
 When the first start up, they draw a
lot more current, up to 10x more.
 If you “stall” them (make it so they

can’t turn), they also draw a lot of current


 They can operate in either direction, by

switching voltage polarity


 Usually spin very fast: >1000 RPM

 To get slower spinning, need gearing


BUZZER
 The buzzer acts as an alarm in the circuit which
is used to keep the driver in a conscious state
when he or she has consumed alcohol the buzzer
used here is a piezo circuit that produces a sharp
sound when provided with a suitable amount of
voltage.
SOFTWARE
ARDUINO 1.0.5-r2
The Arduino development environment
contains a text editor for writing code, a message
area, a text console, a toolbar with buttons for
common functions, and a series of menus. It
connects to the Arduino hardware to upload
programs and communicate with them.
START
FLOWCHART:-
Initialize gas pin to pin AN0 as input, relay1 to pin 10
as output port, SAFELED to pin 7 as output port,
buzzer to pin 6 as output port

Initialize library for 16*2 LCD


display

Read the analog sensor value

Sensor value/2

Set LCD cursor at position (0,1)

Print sensor value to LCD

A
A

Add delay of 250 ms

NO Is NO
Is sensor
Sensor
value
value
≥350 ?
≤120?
YES YES
Print “ALCOHOL DETECTED”
on LCD Make relay1 and
SAFELED pins to high

Play the Buzzer

Add delay

Print “ALCOHOL ABSENT”,Make


relay1 and SAFELED pin to low state

Stop Buzzer STOP


BENEFITS OF PROJECT
 Almost road traffic deaths could be prevented
every year.
 Easy installation.

 Regular servicing would help curbing vehicle


pollution.
APPLICATIONS
 Helpful for private organizations and police.
 RTO can use this system for curbing vehicle
pollution.
 "Alcohol Detection System in Vehicles" provides
an automatic safety system for vehicles.
CONCLUSION
 This paper gives a detailed concept about ALCOHOL
DETECTION WITH VEHICLE CONTROL by the use
of sensors, microcontroller, etc. These unit scan
because and installed on public transport vehicle and
on heavy duty vehicles, for industries, schools and in
college’s uses.
 The project “ALCOHOL DETECTION WITH
VEHICLE CONTROL” has been successfully designed
and has been developed by using integrating features
of all the hardware components used. Presence of
every module has been reasoned out and placed
carefully thus contributing to the best working of the
unit.
FUTURE ASPECTS
 The system can be further advanced by
interfacing a GPS in the system that will inform
about the position of the car; thus provides easy
location.
 The car using alcohol and proximity sensor can
be increased in side for sideways protection and
easy alcohol detection. Since the blood pressure
changes due alcohol consumption instead of using
alcohol sensor we can monitor the blood pressure
or heart beat by different sensors thus it can lead
to a better method.
THANK
YOU....

Vous aimerez peut-être aussi