0% found this document useful (0 votes)
29 views

1imcs2022-23-27

Uploaded by

sahillanjewar294
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views

1imcs2022-23-27

Uploaded by

sahillanjewar294
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Information Management and Computer Science (IMCS) 5(1) (2022) 23-27

Information Management and Computer Science


(IMCS)
DOI: http://doi.org/10.26480/imcs.01.2022.23.27
ISSN: 2616-5961 (Online)
CODEN: IMCSBZ

RESEARCH ARTICLE
AUTOMATIC ENGINE LOCK SYSTEM THROUGH ALCOHOL DETECTION IN VIRTUAL
ENVIRONMENT
Ipseeta Nanda*, Rajesh De

Faculty of Information Technology, Gopal Narayan Singh University,Jamuhar,Sasaram,Bihar-821305, India


*Corresponding Author: [email protected]

This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction
in any medium, provided the original work is properly cited.

ARTICLE DETAILS ABSTRACT

Article History: Driving under the influence of alcohol has affected and killed countless of people lives. If you are drunk while
driving, not only you are putting yourself at risk but also the passengers travelling with you and the others
Received 14 September 2022 on the road are in danger. So, we have tried to projected an Automatic Engine lock system on behalf of talking
Revised 17 October 2022
Accepted 20 November 2022
responsibility to control driving safely as much as we can. The alcohol detection system works on a simple
Available online 23 November 2022 principle. If a driver has been drinking, the alcohol sensor will sense by playing a Buzzer. With the use of GPS,
we will be able to trace the location of the vehicle and a message will be send to the registered number by
using GSM module. The main work is done by MQ3 alcohol detecting sensor and the programmable brain
Arduino Uno. If the sensor sensed the particular value of alcohol present in the air from a nominal distance
then the sensor throw high signal in digitally and the buzzer has been blown. As this way we can identify the
driver is alcoholic or not by this project and Thus, the motor driver will be stopped immediately.
KEYWORDS
Drunken driver, Alcohol sensor, motor driver, microcontroller, GPS and GSM.

1. INTRODUCTION 2. RPS

Now a days in south eastern countries road accident happens here and 3. Alcohol sensor(mq-3)
there. There are many reasons behind it but the major cause is drunken
4. Motor driver
drivers. According to reports of Road Ministry in the year 2015, about 2
percent of all the total 4.64 lakh road accidents were caused by drunken 5. Buzzer
driving or driving under influence of drug and alcohol, resulting in injuries
to near about 16250 people. And the rate of death for drunken driving is 6. GPS and GSM module
increasing day by day (Ministry of Road Transport and Highways, 2019).
The government taking steps towards it but since the numeric figure of 7. LED
accident due to drunken drivers are still remain constant. Using alcohol
detector, the police checks the drivers whether they are drunken or not. 8. Crystal
Police officers are charging fine towards drivers but it doesn’t reduce the
accident. To reduce the accidents causing drunken drivers and to help 9. Reset switch
government in this great action, we have created a “Automatic Engine Lock
System” using the concept of alcohol detector. This model has the ability 3. DESCRIPTION
to cense a minimum range of alcohol presence in the breath of the drivers
and whether the result gives positive it locks the engine automatically and 3.1 Microcontroller
blow a buzzer loudly as the other people get notify that there is something
It is a 8bit microcontroller with low-power and high performance ,used to
wrong with the driver (Subhalakshmi et al., 2017). At the same time, an
SMS is sent to some pre-selected contacts along with the location of the non-volatile memory. It is also knows as embedded controller.
vehicle (Idiake et al., 2018). This plan should be mounted inside the Microprocessor are initially programmed in assembly language only, but
vehicle. By enforcing this model an intact car journey is possible and it is various high programming languages like C, python, JavaScript are now
widely used in microcontrollers. it is to take one input from device and
also feasible to govern drunk drivers.
returns signals to different equipment.
Government must enact legislation to install such circuits in every car and
Here we use arduino as our microcontroller to maintain all the activities
must require all vehicle companies to pre install such technological
done by sensor and motor driver. Arduino uno is based on ATmega 328 by
mechanism while the car itself is being manufactured.
Atmel. It encompasses 14 digital pins, 6 analog inputs a power jack, USB
connection and ICSP header. This pin can prevail with 5V and every digital
2. EQUIPMENT pin can saltation or stimulate 20mA, and include 20k to 50k ohm pull up
1. Microcontroller (arduino uno) resistor. The uttermost current on each pin is 40mA which can protect the
microcontroller with any kind of damage. The programming is done by IDE

Quick Response Code Access this article online

Website: DOI:
www.theimcs.org 10.26480/imcs.01.2022.23.27

Cite the Article: Ipseeta Nanda, Rajesh De (2022). Automatic Engine Lock System Through Alcohol
Detection in Virtual Environment. Information Management and Computer Science, 5(1): 23-27.
Information Management and Computer Science (IMCS) 5(1) (2022) 23-27

software. Some protocol like STK500 is used to communicate with four pin I.e. Vcc, GND, analog output and digital output. We alter the output
microcontroller. pin connectivity as per requires. The sensor can active from -10 degree C
to 50 degree C approximately.
3.2 RPS
3.4 Motor Driver
Regulated power supply is known to us as linear power supply. It takes AC
input signals and give DC output signals as result. It is an embedded It is use to convert the electrical power to mechanical power. It is used for
circumference and consists of miscellaneous blocks. interfacing the engine motor and it is used to supply power to the shafts
individually. There are various types of motor driver present in the market
3.3 Alcohol Sensor like A4988, DRV8825, NEMA 17, TMC2209, L298N etc. Here we engaged
L293D IC as motor driver. In this IC H-bridge topology is used. Its
This sensor is used for sensing the smells of alcohol. It can measure the movement can occur clockwise and anti-clockwise direction
power of alcohol and then send it to the microcontroller. The sensor will simultaneously.
work with a power supply of less than 150mA to 5 V at temperatures
ranging from 263 to 323 K. 3.5 Buzzer

Here we use MQ-3 alcohol sensor which is desirable for sleuthing not only It is an electromagnetic device which is used as an indicator or as an audio
alcohol but also benzine, methane, hexane, liquefied petroleum gas, beeper. It is 2 pin construction hence it can be used tardily. It is activated
carbon monoxide etc. Metier material of this MQ-3 sensor is SnO2.it has when the oscillating signal pass through of its coil.

Figure 1: arduino uno with digital input/ output

Figure 2: MQ-3 gas sensor

Figure 3: L293d motor driver module IC

Figure 4: buzzer

Cite the Article: Ipseeta Nanda, Rajesh De (2022). Automatic Engine Lock System Through Alcohol
Detection in Virtual Environment. Information Management and Computer Science, 5(1): 23-27.
Information Management and Computer Science (IMCS) 5(1) (2022) 23-27

3.6 GPS & GSM Module grants excellence performance even in the most ambitious environs. It also
have four pin like alcohol sensor but in this case the pins are a) VCC, b)
Global Positioning System or GPS used as to track the exact location of the GND,c) UART receive pin and the last one is d) UART transmit pin.
vehicle and GSM module is a device which is used to communicate over a
network. If a drunken driver has been driving a car, the alcohol detector 3.7 LED
will detect the alcohol and sent message to the registered number with the
car number as well as location by GPS. Here we install NEO-6MV2 GPS LED stands for light emitting diode. It is a semiconductor based light
module that can help to find its location on time. Its modernistic blueprint source which emit light when electricity passes through it.

Figure 5: NEO 6MV2 GPS module

Figure 6: LED

4. BLOCK DIAGRAM

Figure 7: block diagram of our prototype

5. WORKING PRINCIPLE signaled the microcontroller to response digitally high that means 1 and
the motor will get off. If not then we check again the distance and again
It is known that microcontrollers will play a vital role to show out the check the alcohol level. If alcohol is not present then it respond low signal
constructive outcome in any of the global embedded system. In this and the main engine remain in on condition (Vaishnavi et al., 2014).
project, ATmega 328 micro-controller is used through which operation
monitoring and controlling of other functional parts of the system will be 6. ARDUINO CODE
done (Tushara and Vardhini, 2016). Here the Alcohol sensor is used to
activate the rectifier which will start off relay through which a signal is int const PINO_SGAS = A1; int LED_VERDE = 8;
passed on. The motor will be activated/deactivated by this detain (FARS,
2009). int MOTOR_VERDE = 7; int LED_AMARELO = 6; int LED_VERMELHO1 = 5;
int LED_VERMELHO2 = 4;
For an input signal, a rectifier along with the relay is given from the sensor.
As a result, the motor rotations are regulated for a particular amount of void setup(){
time.
pinMode(LED_VERDE, OUTPUT); pinMode(MOTOR_VERDE, OUTPUT);
The main work is done by MQ3 alcohol sensor. We set the required
distance by manually. The sensor checked the level of alcohol in air from pinMode(LED_AMARELO, OUTPUT); pinMode(LED_VERMELHO1,
the minimal distance (Phalak et al., 2015). If the sensor get alcohol, it OUTPUT);

Cite the Article: Ipseeta Nanda, Rajesh De (2022). Automatic Engine Lock System Through Alcohol
Detection in Virtual Environment. Information Management and Computer Science, 5(1): 23-27.
Information Management and Computer Science (IMCS) 5(1) (2022) 23-27

pinMode(LED_VERMELHO2, OUTPUT); digitalWrite(LED_VERDE, valor <30 ? HIGH : LOW);


digitalWrite(MOTOR_VERDE, valor <30 ? HIGH : LOW);
Serial.begin(9600);
digitalWrite(LED_AMARELO, valor >= 30 ? HIGH : LOW);
} digitalWrite(LED_VERMELHO1, valor >= 50 ? HIGH : LOW);
digitalWrite(LED_VERMELHO2, valor >= 80 ? HIGH : LOW);
void loop(){
delay(250);
int valor = analogRead(PINO_SGAS); valor = map(valor, 300, 750, 0, 100);
}

7. CIRCUIT DIAGRAM OF SIMULATION CIRCUIT

Figure 8: snapshot of simulated circuit

Cite the Article: Ipseeta Nanda, Rajesh De (2022). Automatic Engine Lock System Through Alcohol
Detection in Virtual Environment. Information Management and Computer Science, 5(1): 23-27.
Information Management and Computer Science (IMCS) 5(1) (2022) 23-27

8. APPLICATION AND ADVANTAGES Electronics and Communication Engineering (ECE). IJ.

This project has some rewards. They are listed in below: Crystal oscillator. Wikipedia, the free encyclopedia. 15 November 2022, at
23:13 (UTC). https://en.wikipedia.org/wiki/Crystal_oscillator
• It can be enforced very easily on any kind of vehicle It can
counter collision due do drunken driver Idiake U., Joshua I., Victor M., Frances N., Segun P. 2018. IoT-Enabled
Alcohol Detection System for Road Transportation Safety in Smart
• It grant automatic safety system for the rider City. 10.1007/978-3-319-95171-3_55.
https://www.researchgate.net/publication/326164281_IoT-
9. FUTURE ENHANCEMENT Enabled_Alcohol_Detection_System_for_Road_Transportation_Safet
y_in_Smart_City
Road safety is emerging around the world as a major social concern,
especially in India. Ministry of Road Transport & Highways. 2019. Press Information Bureau
Government of India. 04 JUL 2019 2:35PM by PIB Delhi.
Driving under influence of drug and alcohol is a deliberate public health https://pib.gov.in/Pressreleaseshare.aspx? PRID=1577134
controversy, one of the most important problem in near future. The
problem introduced by us was designed to reduce road accidents due to National Highway Traffic Safety Administration Fatality Analysis
drunk driving in the near future (Bhavthankar and Sayyed, 2015). We can Reporting System (FARS). 2009 [cited2009 June]; Available
use this device for drivers and passenger’s safety purpose. This device can from:ftp://ftp.nhtsa.dot.gov/fars/
be implemented for all the small cars as well as large or heavy cars. Future
Phalak, Kowekar, Joshi. 2015. Smartphone and Sensor Based Drunk
range can be used in this type of system to safely land the car without
Driving Prevention System. International Journal For Research In
disrupting other vehicles. The device will also monitor the heartbeat rate
Emerging Science And Technology, Volume-2, Issue-9, Sep-2015
frequently if we add some IOT techniques and it will stop the engine
weather there are some wrong with heartbeat rate. As a result, the road Prashanth K P; Kishen Padiyar; Naveen Kumar P H; and K Santhosh Kumar.
accident due to certain cardiac attack will be reduced and it will be very 2014. Road Accident Avoiding System using Drunken Sensing
helpful for the aged persons (Prashanth et al., 2014). Technique. International Journal of Engineering Research &
Technology (IJERT). Vol. 3. Issue 10. Available at Road accident
As all the procedure is done in simulation based, our future goal is to be
avoiding system using drunken sensing
implement it on hardware basis and add some extra things like gps
technique.http://www.ijert.org/download/11491/road-accident-
module, buzzer on our future hardware circuit.
avoiding-systemusing-drunken- sensing-technique[accessed 15
July 2017].
10. CONCLUSION
Subhalakshmi N., Aswathi R., Gobigadharani D., Hemalatha S., Joezeet Flora
Drunk driving is one of the biggest threads of road safety. By applying F. 2017. Arduino Based Automatic Engine Locking System for
Automatic Engine Lock System through alcohol detection we can reduce Drunken Drivers. International Journal of Innovative Research in
the probability of road accidents and life hazards. We can also use this Science, Engineering and Technology. 6(14).
project to detect the level of alcohol consumptions. Thus we can raise http://www.ijirset.com/upload/2017/ncmes/25_subha1.PDF
social awareness against driving while consuming alcohol.
Tushara, D. B., and Vardhini, P. H. (2016). Wireless vehicle alert and
We run our project on simulation based and the code is already uploaded collision prevention system design using Atmel microcontroller. In
here. Electrical, Electronics, and Optimization Techniques (ICEEOT),
International Conference on (pp. 2784-2787). IEEE.
REFERENCES
Vaishnavi, Umadev, Vinothini. 2014. Intelligent Alcohol Detection System
Bhavthankar, S., and Sayyed, H. G. (2015). Wireless System for Vehicle For Car” International Journal of Scientific & Engineering Research,
Accident Detection and Reporting using Accelerometer and GPS. .In Volume 5, Issue 11, November-2014 .

Cite the Article: Ipseeta Nanda, Rajesh De (2022). Automatic Engine Lock System Through Alcohol
Detection in Virtual Environment. Information Management and Computer Science, 5(1): 23-27.

You might also like