In Partial Fulfillment of The Requirements For The Award of The Degree of
In Partial Fulfillment of The Requirements For The Award of The Degree of
In Partial Fulfillment of The Requirements For The Award of The Degree of
PROJECT REPORT
Submitted by
Sahithi R (Reg no:160801086) Rekhasri S (Reg no:160801080) Vishnu priya R (Reg
no:160801120)
APRIL 2018
BONAFIDE CERTIFICATE
i
Certified that this project report “ALCOHOL ALERT SENSING WITH ENGINE
under my supervision.
Submitted for viva voce Examination to be held at Sri Venkateswara College of Engineering
on __________
i
i
ABSTRACT
The influence of alcohol accounts for about 70 percent of accident fatalities in India.
The purpose of this device is to develop a system that can identify whether the person driving
the vehicle has consumed alcohol. This system provides the unique method to curb drunken
people. This system is developed by using Induino r3 with the alcohol sensor mq3.The LCD
interfaced with the Induino r3 is used to continuously displaying the status of the alcohol
sensor. The Induino r3 interfaced with the integrated chip ATmega328, LCD and alcohol
sensor. If the driver is drunk above the permissible limit and tries to start the vehicle, the
alcohol sensor fixed to the vehicle will identify the alcohol content and its output will be
triggered. The output of the sensor will be sent as an input to the Induino r3 board. Thus, the
Induino r3 immediately alerts the buzzer and stops the engine of the vehicle which makes the
driver unable to drive the vehicle. In another case, if the driver consumes alcohol while
driving the sensor still detects alcohol in his breathe and stops the engine so the vehicle would
not accelerate any further and driver can steer it to roadside. Alcohol breathe analyzer should
be installed in the vehicle. This system provides safe driving for the driver and also helps in
safeguard the life of the people sitting inside the vehicle.
ACKNOWLEDGEMENT
We thank the almighty for being with us through every walk of life. Our thanks to
Dr. S. GANESH VAIDYANATHAN, our principal for their kind support and facilities
provided to complete our work in time.
i
i
i
We wish to convey thanks and gratitude to our Dr.V.Vidhya, Head of the
Department of Information Technology and Dr.G.Sumathi, Professor, Department of
Information Technology for her continuous support.
Finally we express our thanks for all teaching and non-teaching staff of Department of
Information Technology for providing us with the necessary facilities for completion of the
project.
SAHITHI.R
REKHASRI.S
VISHNU PRIYA.R TABLE OF CONTENTS
i
v
1 INTRODUCTION 1
1.1 Purpose
2
1.2 Effects of alcohol consumption by driver 2
1.3 Need for alcohol alert sensing 3
2 LITERATURE REVIEW 4
2.1 Survey 4
2.2 Statistical study 6
3 REQUIREMENTS SPECIFICATION 7
v
3.1.5 LED bulbs 15 3.1.6 Relay circuit
4 DESIGN 17
5 IMPLEMETATION 19
6 CONCLUSION 21
7 FUTURE SCOPE 22
REFERENCE 23
v
i
LIST OF FIGURES
v
i
i
3.3 16x2 LCD 10
3.4 Motor principle and 12
construction
3.5 DC motor 13
3.6 LED 14
3.7 LED working Principle 14
3.8 Relay circuit 15
3.9 Screenshot of Arduino 16
compiling
4.1 Block diagram 17
4.2 Working model 18
6.1 Future model 22
v
i
i
i
LIST OF ABBREVIATION
CHAPTER 1
INTRODUCTION
India had earned the dubious distinction of having more number of fatalities due to
road accidents in the world. According to a survey done by WHO almost every 90 seconds,
a person is injured in drunken and driving crash. One in three people involved in alcohol
related crash in their life time. Road safety is emerging as a major social concern around the
world especially in India.
1
Drinking and driving is already a serious public health problem, which is likely to
emerge as one of the most significant problems in the near future. The figure 1.1 shows the
statistical survey of number of alcohol-related deaths.
The system implemented by us aims at reducing the road accidents in the near future due
to drunken driving. The system is made as compact as possible, senses the alcohol molecules
present in the specific range and if found, fails the attempt of driver to start the engine.
Pushing the envelope and considering the actuality of the situation where the driver may not
be able to drive, the system is interfaced with widely used GSM technology to establish a
quick cellular network. Hence the system reduces the quantum of road accidents and fatalities
due to drunk driving in future.
1.1 Purpose
• To stop the engine when alcohol content is above the permissible limit.
• Reduce concentration.
• Decrease vision.
2
• Inhibit judgement.
To rectify the above effects of alcohol consumption by the driver, the Alcohol
alert sensing has to be installed in the vehicles.
The figure 1.2 illustrates the damage caused without this system.
3
CHAPTER 2
LITERATURE REVIEW
2.1 Survey
Nowadays, road accident’s is major problem all over the world. As report by
WHO in its first global status report (2014) 80,000 of Indian people are killed on roads due
to over speeding and drunken driving. Breathe alcohol testing were first developed for use
by the police in 1940’s.The breathe Analyzer was first invented by Indiana state police in
1954. There are lots of cause of accident of car and they are drunkenness of driver,
drowsiness of driver, unconsciousness of driver, and many time what happen driver is not
responsible for accident but their (car) neighboring car behavior also have made role to
enforce accident. There are also some system have been implemented to avoid accident
but that do not give proper solution to implement in car to avoid various accidents that they
are normally being happen.
[1] , When driver at a speed of 80 km/h the vehicle suddenly stop ignition
system which may lead to chances of dangerous accident.
4
[2] ,Usage of PIC 16876A controller, Alcohol sensor, LCD Display And
Alarm system to notify the driver only, ignition system was immediately off
when it detects alcohol.
[3] , IR sensor was used to detect obstacle which comes in front of this
sensor(vehicle), and when obstacle detected vehicle will stop. It was also
monitoring the toxic gases such as CO2,LPG, alcohol from inside area of
the vehicle .If there is high content of gases then SMS had been send to
authorized person to notify only.
5
Figure 2.1 pic16f877A
3. During 2015, death due to alcohol consumption found to be around 26000 which is 17.8%
By2020.To achieve this foot alcohol alert sensing might play a vital role.
6
Figure 2.2 Existing method
The figure 2.2 is an existing method i,e alcohol breath analyzer which is used to sense the
alcohol consumption individually by a traffic police.
CHAPTER 3
REQUIREMENTS SPECIFICATION
7
3.1.1 Alcohol sensor (MQ3)
The analog gas sensor - MQ3 is suitable for detecting alcohol, this sensor can be used
in a Breathalyzer. It has a high sensitivity to alcohol and small sensitivity to Benzene. The
sensitivity can be adjusted by the potentiometer. Sensitive material of MQ-3 gas sensor is
SnO2, which with lower conductivity in clean air. When the target alcohol gas exists, the
sensor’s conductivity is higher along with the gas concentration rising, use of simple electro
circuit, convert change of conductivity to correspond output signal of gas concentration.
MQ-3 gas sensor has high sensitivity 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
8
The characteristic configuration of MQ3 sensor are o Simple drive circuit
o Long life and low cost o High sensitivity to alcohol and small
towards benzene o Fast response and High sensitivity and
stability and long life.
9
Figure 3.2 Induino R3 board
• It has 14 digital input/output pins (of which 6 can be used as PWM outputs)
• It has 6 analog inputs (can also be used for digital I/O - so a total of 20 digital I/O's)
• It has a 16 MHz crystal oscillator
• It has a USB connection,
Like the Duemilanove, it contains everything needed to support the microcontroller; simply
connect it to a computer with a USB cable or power it with a AC-to-DC adapter or battery to
get started. It is completely compatible with all Arduino shields mechanically.On top of the
regular features of an Arduino Board, The Induino R3 comes with a number of onboard
peripherals and interfaces.
10
Figure 3.3 16x2 LCD display
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. These modules are preferred over seven segments and
other multi segment LEDs. The reasons being: LCDs are economical; easily
programmable; have no limitation of displaying special & even custom characters(unlike
in seven segments), animations and so on.
A 16x2 LCD means it can display 16 characters per line and there are 2 such lines.
In this LCD each character is displayed in 5x7 pixel matrix. This LCD has two registers,
namely, Command and Data.
The command register stores the command instructions given to the LCD. A
command is an instruction given to LCD to do a predefined task like initializing it, clearing
its screen, setting the cursor position, controlling display etc. The data register stores the
data to be displayed on the LCD. The data is the ASCII value of the character to be
displayed on the LCD.
Features
3.1.4 DC motor
When magnetic field and electric field interact they produce a mechanical force,
and based on that the working principle of dc motor established. The direction of rotation
of a this motor is given by Fleming’s left hand rule, which states that if the index finger,
12
middle finger and thumb of your left hand are extended mutually perpendicular to each
other and if the index finger represents the direction of magnetic field, middle finger
indicates the direction of current, then the thumb represents the direction in which force is
experienced by the shaft of the DC motor.
Here in a DC motor, the supply voltage E and current I is given to the electrical
port or the input port and we derive the mechanical output i.e. torque T and speed ω from the
mechanical port or output port. The input and output port variables of the direct current motor
are related by the parameter K.
13
So from the picture above we can well understand that motor is just the opposite
phenomena of a DC generator, and we can derive both motoring and generating operation
from the same machine by simply reversing the ports.
14
Figure 3.7 LED working principle
15
Figure3.8 Relay circuit
Relays are generally used to switch smaller currents in a control circuit and do not
usually control power consuming devices except for small motors and Solenoids that draw
low amps. Nonetheless, relays can "control" larger voltages and amperes by having an
amplifying effect because a small voltage applied to a relays coil can result in a large voltage
being switched by the contacts.
16
Protective relays can prevent equipment damage by detecting electrical
abnormalities, including overcurrent, undercurrent, overloads and reverse currents. In
addition, relays are also widely used to switch starting coils, heating elements, pilot lights
and audible alarm.
The Arduino 1.8.5 which is the most updated version of IDE used to write the
code and upload the code into the Induino R3 board. The compiler runs on windows, mac os
x and Linux.
The figure 3.9 show the screenshot of Arduino compiler code used in the system.
17
CHAPTER 4
DESIGN
18
4.2Working model
4.2.1 Description
Once the device is powered on by attaching a 12vbattery to relay circuit and the
dc motor, the motor started working then the Arduino starts running. It loads the required
Arduino libraries and initializes LCD display. The LCD show the message NO ALCOHOL
until the alcohol sensor detects the alcohol content in the breath. The relay circuit provides
the circuit switching. The led and buzzer are connected to the circuit to notify the alcohol
consumption of the driver. If the driver drives above the permissible limit the alcohol sensor
detects alcohol in his breathe then motor stops working followed by glowing of led, sound
produced by buffer and LCD display ALCOHOL detected
19
CHAPTER 5
IMPLEMENTATION
#include <LiquidCrystal.h>
const int rs = 8, en = 9, d4 = 10, d5 = 11, d6 =12 , d7 = 13;
Liquid Crystal lcd(rs, en, d4, d5, d6, d7);
const int AOUTpin=0;//the AOUT pin of the alcohol sensor goes into analog pin A0 of the
arduino const int DOUTpin=6;//the DOUT pin of the alcohol sensor goes into digital pin D8
of the arduino const int ledPin=7;//the anode of the LED connects to digital pin D13 of the
arduino
20
void loop()
{ value= analogRead(AOUTpin);//reads the analaog value from the alcohol sensor's AOUT
pin limit= digitalRead(DOUTpin);//reads the digital value from the alcohol sensor's DOUT
pin
Serial.print("Alcohol value: ");
Serial.println(value);//prints the alcohol value
Serial.print("Limit: ");
Serial.print(limit);//prints the limit reached as either LOW or HIGH (above or underneath)
delay(100); if (limit == LOW){ lcd.setCursor(0, 0); lcd.clear(); digitalWrite(ledPin,
HIGH);//if limit has been reached, LED turns off as status indicator
lcd.print("ALCOHOL DETECTED"); delay(300);
} else{ lcd.clear(); digitalWrite(ledPin, LOW);//if threshold not
reached, LED remains on lcd.setCursor(0, 0); lcd.print("NO
ALCOHOL"); delay(400)
CHAPTER 6
CONCLUSION
” Alcohol alert sensing with engine lock” can be used to prevent accidents due to
alcohol consumption. It provides automatic safety system for all the vehicles. This method
fitted inside the interior parts of the vehicle and hence hidden from the suspects. This project
can also be used in various companies or organizations to detect alcohol consumption of
21
employees. Alcohol detector project is used in various vehicles for detecting whether the
driver consumed alcohol.
CHAPTER 7
FUTURE SCOPE
We can implement GSM technology with alcohol detector. So alcohol detection and
vehicle controlling through the text SMS will inform the relatives or owners of the vehicle
22
about the alcohol consumption. we can implement GPS technology so that once alcohol
detection is done, the system will find out the location of the vehicle.
REFERNCES
[1].Babor, AUDIT: The alcohol use disorders identification Test: Guidelines for use
in primary health care. 1992, Geneva, Switzerland: World Health Organization.
[2.]Cahalan, D., I. Cisin, and Crossley, American Drinking
Practices: A National Study of Driving Behaviour and
23
Attitudes. 1969, Rutgers University Press: New Brunswick,
NJ.
[3.]Conley, Construct validity AUDIT with multiple offenders Drunk drivers. Journal
of Substance Abuse Treatment, 2001.
[4.]Mitsubayashi, Kohji, et al. "Biochemical gas-sensor(bio sniffer) for breath analysis
after drinking." SICE 2004AnnualConference. Vol. 1. IEEE, 2004.
[5.]National Highway Traffic Safety Administration. Fatality
Analysis Reporting System (FARS). 2009 [cited 2009 June];
Available from: ftp://ftp.nhtsa.dot.gov/fars/.
[6.] https://www.sparkfun.com/datasheets/Sensors/MQ-3.pdf
24