Alcohol Sensing Alert With Engine Locking System
Alcohol Sensing Alert With Engine Locking System
Faculty of Engineering
Department of Mechanical Engineering
The project work “Alcohol sensing alert with engine locking system”
is hereby approved as a creditable study of an engineering subject carried out and presented
in a manner satisfactory to warrant its acceptance as a prerequisite for the Degree for which
it has been submitted.
It is to be understood that by this approval the undersigned does not endorse or
approve any statement made, opinion expressed, or conclusion drawn therein; but
approve the “Project Report” only for the purpose for which it has been submitted.
Internal Examiner
Name:
Designation
Affiliation
External Examiner
Name:
Designation
Affiliation
Declaration
I/We hereby declare that the project entitled “Alcohol sensing alert with engine
locking system” submitted in partial fulfilment for the award of the degree of
Bachelor of Technology in ‘Mechanical Engineering’ completed under the
supervision of Prof.(Dr.)Neelesh Kumar Sahu, Faculty of Engineering, Medi-
Caps University Indore is an authentic work.
Further, I/we declare that the content of this project work, in full or in parts, have
neither been taken from any other source nor have been submitted to any other
Institute or University for the award of any degree or diploma.
Shubham Gangrade(EN18ME303121)
Tapan Vyas(EN19ME3L3031)
Certificate
I/We, Prof.(Dr.)Neelesh Kumar Sahu, certify that the project entitled “Alcohol
sensing alert with engine locking system” submitted in partial fulfilment for the
award of the degree of Bachelor of Technology by Shubhankar Jain, Shubham
Gangrade, Tapan Vyas is the record carried out by them under my guidance and
that the work has not formed the basis of award of any other degree elsewhere.
________________________________ ________________________________
_____________________
Dr R.K Shukla
Head of the Department
Mechanical Engineering
Medi-Caps University, Indore
Acknowledgements
I would like to express my deepest gratitude to Honorable Chancellor, Shri R C Mittal, who
has provided me with every facility to successfully carry out this project, and my profound
indebtedness to Prof. (Dr.) Dilip K. Patnaik, Vice-Chancellor, Medi-Caps University,
whose unfailing support and enthusiasm have always boosted up my morale. I also thank Prof.
(Dr.) Suresh Jain, Dean, Faculty of Engineering, Medi-Caps University, for giving me a
chance to work on this project. I would also like to thank my Head of the Department Prof.
(Dr) R.K Shukla for his continuous encouragement for the betterment of the project.
Shubhankar Jain(EN18ME303123)
Shubham Gangrade(EN18ME303121)
Tapan Vyas(EN19ME3L3031)
B.Tech. IV Year
Department of Mechanical Engineering
Faculty of Engineering
Medi-Caps University, Indore
Abstract
This system is aimed at making vehicle driving safer than before. This is
implemented using Arduino. We have derived the driver’s condition in
a real-time environment and we propose the detection of alcohol using
an alcohol detector connected to Arduino such that when the level of
alcohol crosses a permissible limit, the vehicle ignition system will turn
off. Previously, there were no technologies to lock the engine of the
vehicle after sensing the alcohol intake by the driver, which is
considered to be the main cause of accidents So, to avoid these
problems, this project of alcohol detection with vehicle controlling
system by locking engine is developed.
Declaration
Certificate
Acknowledgement
Abstract
Chapter 1 Introduction
Literature Review
Methodology
Arduino Uno
LCD
DC Motor
Relay
Chapter 3 Programming
Calculation
Chapter 4 Result
Conclusion
List of Figures
Figure No. Name
1 Traffic fatalities
2 MQ-3 Sensor
3 Position of sensor
4 Circuit Diagram
5 Arduino
6 LCD
7 DC motor
8 Relay
9 Flow chart
10 LCD Output
List of Graph
Figure No.
1 Level of Drunkness
INTRODUCTION
We usually encounter drink and driving cases where drunk drivers crash their
cars under the influence of alcohol causing damage to property and life. So
here we develop an innovative system to avoid such cases. Our system would
be constantly monitoring the driving force breath by placing it on the steering
wheel or a place where the driver’s breath is often constantly being monitored
by it. So, if a driver is drunk and tries to drive the system detects alcohol
presence in his/her breathe and locks the engine so that the vehicle fails to
start. In another case, if the driver isn't drunk while he is starting the vehicle
and the engine is started but he/she drink alcohol while driving, the sensor still
detects alcohol in his breath and stops the engine so that the car wouldn't
accelerate any longer and the driver can steer it to the roadside. In this system
we use an Arduino Uno-microcontroller interfaced with an alcohol sensor
along with an LCD screen and a dc motor.
LITERATURE REVIEW
1. James A. Misener (2005) talks about cooperative collision warning which
includes forward-collision warning assistant, and intersection assistant along
with a blind spot Assistant where he uses 360-degree situational awareness.
The main drawback here is that he does not use a digital map Thereby
increasing the chance of false alarms.
2. S.P. Bhumkar and V.V. Deotare, R.V.Babar use the concept of alcohol
detection and eye blink sensor to monitor the motorist. The algorithm used
here is fatigue detection algorithm using eye blink, alcohol, gas sensor. The
main drawback here is it may give false alarms and might not function in
absence of light.
3. Ardalan Vahidi and Azim Eskandarian use the concept of Adaptive cruise
control (ACC), collision avoidance, collision warning which includes an
Automation /warning system. Here the main drawback is that it needs further
reinforcement by research.
4. Sagar D. Charde, Prof. N. P. Bobade, Dr D. R. Dandekar uses the concept
of IOT based hardware & android platform-based system design. The
algorithm uses the driver’s drowsy detector, collision warning system &
impact sensor. Here the drawback is it’s not a self-sustainable device.
Methodology
The Alcohol Detection with Engine Locking system helps to reduce accidents
that are occurring due to drunk driving. MQ-3 sensor detects the presence of
alcohol in the surroundings. The sensor provides an output based on the
concentration of the alcohol, if the alcohol concentration is higher the
conductivity of the MQ-3 sensor increases which in turn gives the reading to
ARDUINO.
If the reading is greater than the threshold level, ARDUINO will stop the DC
motor. The red LED will also blink if the distance is less than the safe
distance to indicate to other vehicles that the vehicle in front of them is
unsafe. Now, with the help of SIM900A, the message will be sent to the civil
forces that the particular vehicle is unsafe and can be a threat to other people
Alcohol Sensor
MQ3 is one of the most commonly used sensors in the MQ sensor series. It is
a Metal Oxide Semiconductor (MOS) type of sensor. Metal oxide sensors are
also known as Chemiresistors because sensing is based on the change of
resistance of the sensing material when exposed to alcohol. So by placing it in
Start by connecting the VCC pin to the 5V pin on the Arduino and connect the
GND pin to the Ground pin on the Arduino. Finally, connect the AO output
pin on the module to Analog pin#0 on the Arduino.
ARDUINO UNO
The Arduino results to numerous various functions like Microcontroller area
unit, computer circuit unit, primarily little computers that will run tiny easy
software package programs, the area unit are enough low steam-powered
which can steam-powered by various batteries for years however area unit
ready to measure information much quicker than a persons brain can
method/suppose.
LCD
LCD (Liquid Crystal Display) screen is an electronic display module and
finds a wide range of applications. A 16x2 LCD is a 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
are: 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 a 5x7
pixel matrix. This LCD has two registers, namely, Command and Data.
DC MOTOR
This DC or direct current motor works on the principal, when a current-
carrying conductor is placed in a magnetic field, it experiences a torque and
tends to move. This is known as motoring action. If the direction of current in
the wire is reversed, the direction of rotation also reverses. When magnetic
field and electric field interact they produce a mechanical force and based on
that the working principle of the dc motor is established. The direction of
rotation of this motor is given by Fleming’s left-hand rule, which states that if
the index finger, middle finger and thumb of your left hand are extended
mutually perpendicular to each other and if the index finger represents the
direction of the magnetic field, middle finger indicates the direction of the
current, then the thumb represents the direction in which force is experienced
by the shaft of the dc motor.
Relay
A relay is an electromagnetic switch operated by a relatively
small electric current that can turn on or off a much larger electric current.
The heart of a relay is an electromagnet (a coil of wire that becomes a
temporary magnet when electricity flows through it). You can think of a relay
as a kind of electric lever: switch it on with a tiny current and it switches on
("leverages") another appliance using a much bigger current. Why is that
useful? As the name suggests, many sensors are incredibly sensitive pieces
of electronic equipment and produce only small electric currents. But often we
need them to drive bigger pieces of apparatus that use bigger currents. Relays
bridge the gap, making it possible for small currents to activate larger ones.
That means relays can work either as switches (turning things on and off) or
as amplifiers (converting small currents into larger ones).
Flow Chart
System Flow chart The flow chart of the system is shown in figure 6.
The system algorithm comprises three main steps. The first is to boot up
the system, next is the measuring state, this stage measure the amount of
alcohol level from the drivers. A prescribed set limit will be given as
input to the microcontroller, once the alcohol level exceeds the limit the
car will not start.
STEP 1: Power on the system
STEP 2: Checks for alcohol concentration
STEP 3: If alcohol is detected
STEP 4: Turn off the car engine
STEP 5: Else
STEP 6: Car engine running
STEP 7: Go to step 1
Programming in Arduino
#include <LiquidCrystal.h>
LiquidCrystal lcd(12,11,5,4,3,2);
#define sensor A0
#define led 13
#define buz 9
void setup()
{
Serial.begin(9600);
lcd.begin(16,2);
lcd.print("Alcohol Detector");
lcd.setCursor(0,1);
lcd.print(" Circuit Digest ");
delay(2000);
pinMode(sensor, INPUT);
pinMode(buz, OUTPUT);
pinMode(led, OUTPUT);
lcd.clear();
}
void loop()
{
float adcValue=0;
for(int i=0;i<10;i++)
{
adcValue+= analogRead(sensor);
delay(10);
}
float v= (adcValue/10) * (5.0/1024.0);
float mgL= 0.67 * v;
Serial.print("BAC:");
Serial.print(mgL);
Serial.print(" mg/L");
lcd.setCursor(0,0);
lcd.print("BAC: ");
lcd.print(mgL,4);
lcd.print(" mg/L ");
lcd.setCursor(0,1);
if(mgL > 0.8)
{
lcd.print("Drunk ");
Serial.println(" Drunk");
digitalWrite(buz, HIGH);
digitalWrite(led, HIGH);
}
else
{
lcd.print("Normal ");
Serial.println(" Normal");
digitalWrite(buz, LOW);
digitalWrite(led, LOW);
}
delay(100);
}
Alcohol = 0.60 * v
Now we know the least driving limit while drinking alcohol is around
0.5mg/L. But in our calculation, we are getting around 0.40 mg/L in clean air
so that we have set a threshold of alcohol while driving 0.80mg/L (just for
Demonstration).
Graphical Representation
Table for the level of drunkness
In this project, we have developed a true time model which will automatically
lock the engine when a drunken driver tries to drive a car. Nowadays car
accidents are mostly seen. By fitting this alcohol sensor into the car, we will
save the lifetime of the driving force and the remaining passengers. It is a very
simple application. The lifetime of the project is high. It has low or zeroes
maintenance costs and low power consumption. This is developed to
efficiently check drunken driving. By implementing this design, a secure car
journey is feasible decreasing the accident rate. Government must enforce
laws to put such a circuit in every car and must regulate all car companies to
preinstall such mechanisms while manufacturing the car itself. If this is
accomplished the deaths due to drunken drivers can be brought to the
minimum level.
Advantage
1. Due to Use of an Alcohol sensor it can be easy to Restrict drunken drive
cases. 2. With the help of this project the life and property loss chances will
be minimised.
3. Simple implementation leads to accurate results. 4. Fewer accidents, more
safety.
Application
1. This project is useful in vehicles to detect whether the driver is drunk or
not.
2. This System can also be used in industries or organizations to detect the
consumption of alcohol by the employees of that organization.
Thank You