INTRODUCTION
These days,
we are seeing that road accidents are happening due to the drunk driver. If the
drunk driver is not in the right position then the chances of road accident are
high and the question of life and death for the person sitting in the vehicle
and the person walking on the road become. The system we built his program is
written in Embedded C.
The main objective of making this system is that accidents
caused by drunk drivers can be minimized. The government should implement laws
to put this system is every vehicle and every vehicle company must put this
system while making a vehicle, so that road accident can be reduced. This
problem also exists in countries around in the world. In this system we have
use Node MCU, alcohol sensor and buzzer. If the driver has consumed more
alcohol when the limit then the engine will stop immediately and will not start
and the buzzer will continue to ring. With the system, accident can be
minimized which will be beneficial for future or for all people.
Methodology
HARDWARE REQUIREMENT
• MQ3 Alcohol
Sensor
• ESP8266 Node
MCU
• L293D IC
• DC Motor
• Connecting
Wires
• Bettery (9v)
SOFTWARE REQUIREMENT
• Arduino IDE
DESCRIPTION OF COMPONENTS
1. MQ3 ALCOHOL SENSOR
This sensor has four pins. This sensor is used to make an
accurate decision of alcohol. This sensor can detect the presence of alcohol to
the extent of 2 meters. This sensor has high sensitivity. Its limit ranges from
0.05 mg/L to 10 mg/L. There is a layer of SnO2 in it, if the alcohol
is high then its sensitivity increases and if there is low or not, then its
sensitivity is low.
Features of MQ-3 Alcohol Sensor
Features of MQ-3 Alcohol Sensor
• Sensor
Type - Semiconductor
• Easy
SIP header interface
• Compatible
with most of the microcontrollers
• Low-power
standby mode
• Requires
heater voltage
• Good
sensitivity to alcohol gas
• Fast
response and High sensitivity
• Long
life and low cost
2. NODE MCU
Node MCU is an open source platform and has a chip of
esp8266 wifi module, 128KB RAM and 4 MB flash memory to store the program and
data. Its operating system range is 3v to 3.6 and it consists of 17 GPIO pins.
It has communication speed 4.5 Mbps.
NodeMCU is a
development board based on ESP8266. It is operating system range is 3v to 3.6.
Interface a GPS module with NodeMCU. In this project we will use NodeMCU to
create a simple local web server and the location details and update in that
server web page.
NodeMCU Specification:
Type : Single-board microcontroller
CPU : ESP8266
Memory : 128kBytes
Storage : 4MBytes
Power By : USB
Power
Voltage : 3v ,5v (used with 3.3v Regulator which inbuilt on Board
using Pin VIN)
IDE Used : Arduino IDE
GPIO : 10 pins
3. L293D IC
L293D IC is mainly used to control the speed and direction.
This IC has 16 pins of which are 4-input, 4-output, 4-gnd, 2-enable, 1-vs and
1-vss. This IC we can run two DC Motor. This supply voltage range is 4.5v to
7v.[4]
Features of MQ-3 Alcohol
Sensor
• Separate
Input-Logic Supply
• Can
be used to run Two DC motors with the same IC.
• Speed
and Direction control is possible
• Motor
voltage Vcc2 (Vs or pin 8): 4.5V to 36V
• Maximum
Peak motor current: 1.2A
• Supply
Voltage to Vcc1(vss or pin 16): 4.5V to 7V
4. DC MOTOR
The function of a DC motor is to convert electrical energy
into mechanical energy.
DC Motor consists with two parts, first one is stator and
second is rotor.[5] Dual shaft DC motor with gear box which gives good torque
and rpm at lower voltages. This motor can run at approximately 200rpm when
driven by a Dual LiIon cell battery at 6 V and approximately at 300 rpm when
driven by a 9V Li-Ion cell.
It is most suitable for light weight robot running on small
voltage. Out of its two shafts one shaft can be connected to wheel, other can
be connected to the position encoder.
DC
MOTOR CHARACTERISTICS
• Runs
on DC power or AC line voltage with a rectifier
• Operating
speeds of 1,000 to 5,000 rpm
• 60-75%
efficiency rate
• High
starting torque
• Low
no-load speeds
SOFTWARE REQUIREMENT
1. Arduino IDE
ARDUINO IDE
• It is a
cross-plate form application in an integrated development environment. It is
used for writing and uploading experiments on Arduino compatible board such as
Arduino UNO, Arduino micro, NodeMCU ESP8266 etc.
• Arduino IDE
is an open source software that is mainly used for writing and compiling the
code into the Arduino Module.
• It is an
official Arduino software, making code compilation too easy that even a common
person with no prior technical knowledge can get their feet wet with the
learning process.
• It is easily
available for operating systems like MAC, Windows, Linux and runs on the Java
Platform that comes with inbuilt functions and commands that play a vital role
for debugging, editing and compiling the code in the environment.
• A range of
Arduino modules available including Arduino Uno, Arduino Mega, Arduino
Leonardo, Arduino
Micro and many more.
• Each of them
contains a microcontroller on the board that is actually programmed and accepts
the information in the form of code.
• The main
code, also known as a sketch, created on the IDE platform will ultimately
generate a Hex File which is then transferred and uploaded in the controller on
the board.
• The IDE
environment mainly contains two basic parts: Editor and Compiler where former
is used for writing the required code and later is used for compiling and
uploading the code into the given Arduino Module.
• This
environment supports both C and C++ languages.
Features
of Arduino IDE
• Sketch
Editing Tools
• Libraries
• Serial
Monitor
• Programmer
Functions
• Burn
Bootloader
• Sketches
Management
• Sharing
• Auto Format
• User
Preferences
• Fix Encoding
& Reload
• Board
Selection & Management
• Project
Documentation
• Sketch
Archive
• Port Menu
• Sketchbook
• Sketches
Management
Connections
NodeMCU to IC
Connection
NodeMCU
|
L293D IC
|
D1
|
Pin1(En1)
|
D2
|
Pin2(Input1)
|
Gnd
|
Pin4(Gnd)
|
Gnd
|
Pin5(Gnd)
|
D3
|
Pin7(Input2)
|
D5
|
Pin9(En2)
|
D6
|
Pin10(Input3)
|
Gnd
|
Pin12(Gnd)
|
Gnd
|
Pin13(Gnd)
|
D7
|
Pin15(Input4)
|
3.3 v
|
Pin16(Vcc1)
|
NodeMCU to MQ3
Alcohol Sensor
NodeMCU
|
MQ3 Alcohol Sensor
|
A0
|
Analog Pin
|
NC
|
Digital Pin
|
Gnd
|
Gnd
|
3.3v
|
Vcc
|
9v Battery to IC
9v Battery
|
L293D IC
|
Vcc
|
Pin8(Vcc2)
|
DC Motors to IC
DC Motors
|
L293D IC
|
A0
|
Pin3(Output1)
|
NC
|
Pin6(Output2)
|
Gnd
|
Pin11(Output3)
|
3.3v
|
Pin14(Output4)
|
NodeMCU to Button
NodeMCU
|
Button
|
D4
|
Input
|
Gnd
|
Gnd
|
PROPOSED SYSTEM
Using a Node MCU and alcohol sensor, a system is built that
can detect from the breath of any person whether he has drunk or not. By using
this system we can reduce road accident and make people’s lives safe.
This system consists of a Node MCU that controls each
component used in the system. The Node MCU is connected to an alcohol sensor, a
buzzer, a L293D IC and two DC motors. And with a 9 volt battery, we provide
power supply. As soon as we turn on the system the alcohol detects alcohol. If
there is no alcohol then the engine of the vehicle turns on and if there is
alcohol then buzzer starts ringing and the engine stops.
ADVANTAGES
1. The main
objective of making this system is that accidents caused by drunk drivers can
be minimized.
2. This system
will reduce accidents and increase safety.
3. This system
can be implemented in different type of vehicles.
APPLICATIONS
1. This system
can be implemented in vehicle to avoid accidents caused by drunk driving.
2. This system
can also be used in various organizations and companies to monitor their employees.
RESULT
Finally after the design of system, If the driver has
consumed more alcohol when the limit then the engine will stop immediately and
will not start and the buzzer will continue to ring. With the system, accident
can be minimized which will be beneficial for future or for all people.
CONCLUSION
In this project, by putting in vehicle we can save human
life. The main objective of making this system is that accidents caused by
drunk drivers can be minimized.
After Compete This Project
FUTURE WORKS
1. We can
implement this technique further by making use of Internet of Things
(IOT).
2. This module
can also be implemented in heavy vehicles, shipping vehicles, air buses and
sensing devices.
3. This can
also be extended in bio medical fields and software industries.
No comments:
Post a Comment