SlideShare a Scribd company logo
1 of 13
ALCOHOL DETECTION &
DRIVER SAFETY
BY:
SANKET JAIN
Introduction
 Every year millions of people die due to road accidents most of which are because of drunk driving.
Drunk driving is a major reason of accidents in almost all countries all over the world. Alcohol Detector
in Car project is designed for the safety of the people seating inside the car as well as people outside it.
 This project will sense the amount of alcohol consumed by the person and if it exceeds above a certain
threshold then there are two cases that are addressed. First if the car is at rest and the alcohol level is above
threshold then the car will not start, second if the car is moving and alcohol level exceeds certain limit the car
stops slowly in few seconds.
Micro controller:
Fig: 8051 microcontroller pin diagram
 In 40 pin AT89C51, there are four ports designated as P1, P2,
P3 and P0. All these ports are 8-bit bi-directional ports, i.e.,
they can be used as both input and output ports. Except P0
which needs external pull-ups, rest of the ports have internal
pull-ups.
 When 1s are written to these port pins, they are pulled
high by the internal pull-ups and can be used as inputs.
These ports are also bit addressable and so their bits
can also be accessed individually.
 . Port P0 and P2 are also used to provide low byte and
high byte addresses, respectively, when connected to
an external memory. Port 3 has multiplexed pins for
special functions like serial communication, hardware
interrupts, timer inputs and read/write operation from
external memory. AT89C51 has an inbuilt UART for
serial communication. It can be programmed to operate
at different baud rates. Including two timers & hardware
interrupts, it has a total of six interrupts.
Alcohol detectionsensor:
 MQ303A is semiconductor sensor is for Alcohol detection,It has good sensitivity and fast
response.
 It is a low cost semiconductor sensor which can detect the presence of alcohol gases at
concentrations from 0.05 mg/L to 10 mg/L. The sensitive material used for this sensor is SnO2,
whose conductivity is lower in clean air. It’s conductivity increases as the concentration of
alcohol gases increases. It has high sensitivity to alcohol and has a good resistance to
disturbances due to smoke, vapor and gasoline. This module provides both digital and analog
outputs. MQ3 alcohol sensor module can be easily interfaced with Microcontrollers, Arduino
Boards, Raspberry Pi etc.
 This alcohol sensor is suitable for detecting alcohol concentration on your breath, just like your
common breathalyzer. It has a high sensitivity and fast response time. Sensor provides an analog
resistive output based on alcohol concentration. The drive circuit is very simple, all it needs is one
resistor. A simple interface could be a 0-3.3V ADC.
LCD:
 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
Motors:
 A DC motor is any of a class of rotary electrical machines that converts direct current
electrical energy into mechanical energy. The most common types rely on the forces
produced by magnetic fields. Nearly all types of DC motors have some internal
mechanism, either electromechanical or electronic, to periodically change the
direction of current flow in part of the motor.
 Features:
12V – 200RPM –
3.6KG•CM torque DC gearhead motor
30:1 Gear Ratio
2mm rear encoder shaft
Good compromise between speed and torque for small robotic designs.
L293D (Motor driver IC):
 L293D is a typical Motor driver or Motor Driver IC which allows DC
motor to drive on either direction. L293D is a 16-pin IC which can
control a set of two DC motors simultaneously in any direction.
 It means that you can control two DC motor with a single L293D IC.
Dual H-bridge Motor Driver integrated circuit (IC). It works on the
concept of H-bridge. H-bridge is a circuit which allows the voltage to be
flown in either direction. As you know voltage need to change its
direction for being able to rotate the motor in clockwise or
anticlockwise direction, Hence H-bridge IC are ideal for driving a DC
motor.
 In a single L293D chip there are two h-Bridge circuit inside the IC
which can rotate two dc motor independently. Due its size it is
very much used in robotic application for controlling DC motors.
Given below is the pin diagram of a L293D motor controller.
 There are two Enable pins on l293d. Pin 1 and pin 9, for being
able to drive the motor, the pin 1 and 9 need to be high. For
driving the motor with left H-bridge you need to enable pin 1 to
high. And for right H-Bridge you need to make the pin 9 to high. If
anyone of the either pin1 or pin9 goes low then the motor in the
corresponding section will suspend working
7805 (Voltage regulator):
 7805 is a voltage regulator integrated circuit. It is a member of 78xx series of fixed linear
voltage regulator ICs. The voltage source in a circuit may have fluctuations and would not
give the fixed voltage output. The voltage regulator IC maintains the output voltage at a
constant value. The xx in 78xx indicates the fixed output voltage it is designed to provide.
7805 provides +5V regulated power supply. Capacitors of suitable values can be connected
at input and output pins depending upon the respective voltage levels.
Features:
• Output Current up to 1A
• Output Voltages of 5, 6, 8, 9, 10, 12, 15, 18, 24V
• Thermal Overload Protection
• Short Circuit Protection
• Output Transistor Safe Operating Area Protection
Speed Control of DC motor
 Pulse width modulation (PWM) is a method for binary signals generation, which has 2 signal periods (high and
low). The width (W) of each pulse varies between 0 and the period (T). The main principle is control of power by
varying the duty cycle. Here the conduction time to the load is controlled. Let for a time t1, the input voltage
appears across the load i.e. ON state and for t2 time the voltage across the load is zero.
 • The average voltage at output is given by , Va = Vmax. ,where TON =Time period for Pulse ON,TOFF =Time period
for Pulse OFF
 • The average load current Ia= Va/R = kVs/R where, T is the total time period =t1+t2, k = t1/T is the duty cycle.
 • The duty cycle can be varied from 0 to 1 by varying t1, T or f. Therefore, the output voltage V0 can be varied from
0 to Vs by controlling k, and the power flow can be controlled.
 • As the time t1 changes the width of pulse is varied and this type of control is called pulse width modulation (PWM)
control.
Interfacing Diagram:
Working:
 To get a blood alcohol content (BAC) reading, the sensors are attached in the car. The machine utilises the
vapours in your breath to calculate an estimation of the level of alcohol in a person’s system. This simple
approach is due to the fact that alcohol is not digested by the body and is merely absorbed through
different parts. These include the mouth, stomach and intestines. As a result, traces of the material can still
be identified minutes after drinking, making it possible for the sensor to calculate an accurate number,
using this information microcontroller 8051 gives the signal to the motor whether to stop running or not.
 As soon as alcohol is detected the controller starts reducing the rpm of the motor using the concept of a
PWM the motor is slowed analogous to the varing duty cycle in successive frames the speed of motor
starts to decrease and gradually it comes to halt. Another condition is that the car is being started by user
but the alcohol level is very high in that condition the microcontroller 8051 does not allow the motor to
start ensuring safety of the driver.
Components Cost
AT89C51 Microcontroller ₹50
Alcohol Sensor Module (MQ-3) ₹200
LCD ₹135
L293D Motor driver IC ₹45
12V DC Motor ₹50
PCB copper clad ₹50
Crystal (12MHz) ₹10
LEDs (4) ₹8
Resistors (1K*4,10K) and
Capacitors(10uF,33pF)
₹10
Potentiometer (10K) ₹10
7805 Voltage Regulator IC ₹10
Heat sink ₹15
DC jack ₹5
Female to Female Connectors ₹15
Push Button(*2) ₹10
12V DC Adaptor ₹120
Alcohol detection & driver safety

More Related Content

What's hot

Multi-Function Automatic Move Smart Car for Arduino
Multi-Function Automatic Move Smart Car for ArduinoMulti-Function Automatic Move Smart Car for Arduino
Multi-Function Automatic Move Smart Car for ArduinoWanita Long
 
water level controller using 8051 microcontroller
water level controller using 8051 microcontrollerwater level controller using 8051 microcontroller
water level controller using 8051 microcontrollerPrachi Pandey
 
Final Slot Car Report
Final Slot Car ReportFinal Slot Car Report
Final Slot Car ReportKyle Avery
 
Speed checkers for highways
Speed checkers for highwaysSpeed checkers for highways
Speed checkers for highwaysRahul Kshirsagar
 
174085193 pic-prgm-manual
174085193 pic-prgm-manual174085193 pic-prgm-manual
174085193 pic-prgm-manualArun Shan
 
Electric car with arduino
Electric car with arduinoElectric car with arduino
Electric car with arduinoDishant Sharma
 
Wireless Rash Driving Detection System
Wireless Rash Driving Detection SystemWireless Rash Driving Detection System
Wireless Rash Driving Detection SystemKamlesh Mishra
 
Presentation on gesture control robot
Presentation on gesture control robotPresentation on gesture control robot
Presentation on gesture control robotprashant sharma
 
Automatic railway gate control using arduino uno
Automatic railway gate control using arduino unoAutomatic railway gate control using arduino uno
Automatic railway gate control using arduino unoselvalakshmi24
 
Automatized railway gate controller
Automatized railway gate controllerAutomatized railway gate controller
Automatized railway gate controllerAakash Varma
 
AUTOMATIC RAILWAY GATE AND SIGNALLING SYSTEM
AUTOMATIC RAILWAY GATE AND SIGNALLING SYSTEMAUTOMATIC RAILWAY GATE AND SIGNALLING SYSTEM
AUTOMATIC RAILWAY GATE AND SIGNALLING SYSTEMBiprajitSarkar
 
Automatic railway gate control system
Automatic railway gate control systemAutomatic railway gate control system
Automatic railway gate control systemdeepraj2085
 
AMRITANSHU KUMAR_SUMMER INTERNSHIP
AMRITANSHU KUMAR_SUMMER INTERNSHIPAMRITANSHU KUMAR_SUMMER INTERNSHIP
AMRITANSHU KUMAR_SUMMER INTERNSHIPAmritanshu Kumar
 
Design and Implementation of a Robotic Vehicle With Real-Time Video Feedback ...
Design and Implementation of a Robotic Vehicle With Real-Time Video Feedback ...Design and Implementation of a Robotic Vehicle With Real-Time Video Feedback ...
Design and Implementation of a Robotic Vehicle With Real-Time Video Feedback ...Aditya Kumar Tripathy
 
Plc project 3
Plc project 3Plc project 3
Plc project 3Engr Alam
 
Automatic railway level crossing gate & slurry management.
Automatic railway level crossing gate & slurry management.Automatic railway level crossing gate & slurry management.
Automatic railway level crossing gate & slurry management.Evans Belly
 

What's hot (20)

Multi-Function Automatic Move Smart Car for Arduino
Multi-Function Automatic Move Smart Car for ArduinoMulti-Function Automatic Move Smart Car for Arduino
Multi-Function Automatic Move Smart Car for Arduino
 
Seminar
SeminarSeminar
Seminar
 
water level controller using 8051 microcontroller
water level controller using 8051 microcontrollerwater level controller using 8051 microcontroller
water level controller using 8051 microcontroller
 
Final Slot Car Report
Final Slot Car ReportFinal Slot Car Report
Final Slot Car Report
 
Module 4
Module 4Module 4
Module 4
 
Speed checkers for highways
Speed checkers for highwaysSpeed checkers for highways
Speed checkers for highways
 
174085193 pic-prgm-manual
174085193 pic-prgm-manual174085193 pic-prgm-manual
174085193 pic-prgm-manual
 
Electric car with arduino
Electric car with arduinoElectric car with arduino
Electric car with arduino
 
Wireless Rash Driving Detection System
Wireless Rash Driving Detection SystemWireless Rash Driving Detection System
Wireless Rash Driving Detection System
 
Wireless Rash Driving Detection
Wireless Rash Driving DetectionWireless Rash Driving Detection
Wireless Rash Driving Detection
 
Presentation on gesture control robot
Presentation on gesture control robotPresentation on gesture control robot
Presentation on gesture control robot
 
Automatic railway gate control using arduino uno
Automatic railway gate control using arduino unoAutomatic railway gate control using arduino uno
Automatic railway gate control using arduino uno
 
Automatized railway gate controller
Automatized railway gate controllerAutomatized railway gate controller
Automatized railway gate controller
 
AUTOMATIC RAILWAY GATE AND SIGNALLING SYSTEM
AUTOMATIC RAILWAY GATE AND SIGNALLING SYSTEMAUTOMATIC RAILWAY GATE AND SIGNALLING SYSTEM
AUTOMATIC RAILWAY GATE AND SIGNALLING SYSTEM
 
Automatic railway gate control system
Automatic railway gate control systemAutomatic railway gate control system
Automatic railway gate control system
 
AMRITANSHU KUMAR_SUMMER INTERNSHIP
AMRITANSHU KUMAR_SUMMER INTERNSHIPAMRITANSHU KUMAR_SUMMER INTERNSHIP
AMRITANSHU KUMAR_SUMMER INTERNSHIP
 
Remotely cut off engine devices
Remotely cut off engine devicesRemotely cut off engine devices
Remotely cut off engine devices
 
Design and Implementation of a Robotic Vehicle With Real-Time Video Feedback ...
Design and Implementation of a Robotic Vehicle With Real-Time Video Feedback ...Design and Implementation of a Robotic Vehicle With Real-Time Video Feedback ...
Design and Implementation of a Robotic Vehicle With Real-Time Video Feedback ...
 
Plc project 3
Plc project 3Plc project 3
Plc project 3
 
Automatic railway level crossing gate & slurry management.
Automatic railway level crossing gate & slurry management.Automatic railway level crossing gate & slurry management.
Automatic railway level crossing gate & slurry management.
 

Similar to Alcohol detection & driver safety

Alcohol sensing alert with engine locking project
Alcohol sensing alert with engine locking projectAlcohol sensing alert with engine locking project
Alcohol sensing alert with engine locking projecthemanth prudhvi jidugu
 
ACCIDENT PREVENTION AND SECURITY SYSTEM FOR AUTOMOBILES
ACCIDENT PREVENTION AND SECURITY SYSTEM FOR AUTOMOBILESACCIDENT PREVENTION AND SECURITY SYSTEM FOR AUTOMOBILES
ACCIDENT PREVENTION AND SECURITY SYSTEM FOR AUTOMOBILESAdrija Chowdhury
 
Visiter counter doc
Visiter counter docVisiter counter doc
Visiter counter docPrem Kumar
 
Share 'speed control_of_dc_motor_using_microcontroller.pptx'[1][1]
Share 'speed control_of_dc_motor_using_microcontroller.pptx'[1][1]Share 'speed control_of_dc_motor_using_microcontroller.pptx'[1][1]
Share 'speed control_of_dc_motor_using_microcontroller.pptx'[1][1]akmalKhan55
 
Synopsis for alcohol detection with vehicle controlling (1)
Synopsis for alcohol detection with vehicle controlling (1)Synopsis for alcohol detection with vehicle controlling (1)
Synopsis for alcohol detection with vehicle controlling (1)Pankaj Singh
 
AUTOMATIC ENGINE LOCKING SYSTEM.pptx
AUTOMATIC ENGINE LOCKING SYSTEM.pptxAUTOMATIC ENGINE LOCKING SYSTEM.pptx
AUTOMATIC ENGINE LOCKING SYSTEM.pptx19A51A04J3SASALABHAR
 
4 Way traffic controll new
4 Way traffic controll new4 Way traffic controll new
4 Way traffic controll newMainak Nandi
 
A Low Cost Yet Super efficient Means to Prevent Overloading as Well as Accide...
A Low Cost Yet Super efficient Means to Prevent Overloading as Well as Accide...A Low Cost Yet Super efficient Means to Prevent Overloading as Well as Accide...
A Low Cost Yet Super efficient Means to Prevent Overloading as Well as Accide...IRJET Journal
 
vehicle safety.pptx
vehicle safety.pptxvehicle safety.pptx
vehicle safety.pptxthiru17270
 
Programmable Logic Controller Training Day 1 to 3.pptx
Programmable Logic Controller  Training Day 1 to 3.pptxProgrammable Logic Controller  Training Day 1 to 3.pptx
Programmable Logic Controller Training Day 1 to 3.pptxdmckinseyrecruitment
 
electronic voting machine by rfid
electronic voting machine by rfidelectronic voting machine by rfid
electronic voting machine by rfidSaurabh Uniyal
 
Coin based mobile charger project report
Coin based mobile charger project reportCoin based mobile charger project report
Coin based mobile charger project reportkaushal chaubey
 
AUTONOMOUS LPG GAS SENSOR BOT USING ARDUINO ppt
AUTONOMOUS LPG GAS SENSOR BOT USING ARDUINO pptAUTONOMOUS LPG GAS SENSOR BOT USING ARDUINO ppt
AUTONOMOUS LPG GAS SENSOR BOT USING ARDUINO pptRavi Shankar
 

Similar to Alcohol detection & driver safety (20)

Alcohol sensing alert with engine locking project
Alcohol sensing alert with engine locking projectAlcohol sensing alert with engine locking project
Alcohol sensing alert with engine locking project
 
ACCIDENT PREVENTION AND SECURITY SYSTEM FOR AUTOMOBILES
ACCIDENT PREVENTION AND SECURITY SYSTEM FOR AUTOMOBILESACCIDENT PREVENTION AND SECURITY SYSTEM FOR AUTOMOBILES
ACCIDENT PREVENTION AND SECURITY SYSTEM FOR AUTOMOBILES
 
Visiter counter doc
Visiter counter docVisiter counter doc
Visiter counter doc
 
Share 'speed control_of_dc_motor_using_microcontroller.pptx'[1][1]
Share 'speed control_of_dc_motor_using_microcontroller.pptx'[1][1]Share 'speed control_of_dc_motor_using_microcontroller.pptx'[1][1]
Share 'speed control_of_dc_motor_using_microcontroller.pptx'[1][1]
 
Synopsis for alcohol detection with vehicle controlling (1)
Synopsis for alcohol detection with vehicle controlling (1)Synopsis for alcohol detection with vehicle controlling (1)
Synopsis for alcohol detection with vehicle controlling (1)
 
Alchol detection
Alchol detectionAlchol detection
Alchol detection
 
Car locking system
Car locking systemCar locking system
Car locking system
 
AUTOMATIC ENGINE LOCKING SYSTEM.pptx
AUTOMATIC ENGINE LOCKING SYSTEM.pptxAUTOMATIC ENGINE LOCKING SYSTEM.pptx
AUTOMATIC ENGINE LOCKING SYSTEM.pptx
 
INTELIGENT RAILWAY SYSTEM
INTELIGENT RAILWAY SYSTEMINTELIGENT RAILWAY SYSTEM
INTELIGENT RAILWAY SYSTEM
 
Basic plc
Basic plcBasic plc
Basic plc
 
Basic PLC
Basic PLCBasic PLC
Basic PLC
 
Basic plc 1
Basic plc 1Basic plc 1
Basic plc 1
 
4 Way traffic controll new
4 Way traffic controll new4 Way traffic controll new
4 Way traffic controll new
 
A Low Cost Yet Super efficient Means to Prevent Overloading as Well as Accide...
A Low Cost Yet Super efficient Means to Prevent Overloading as Well as Accide...A Low Cost Yet Super efficient Means to Prevent Overloading as Well as Accide...
A Low Cost Yet Super efficient Means to Prevent Overloading as Well as Accide...
 
vehicle safety.pptx
vehicle safety.pptxvehicle safety.pptx
vehicle safety.pptx
 
dng
dngdng
dng
 
Programmable Logic Controller Training Day 1 to 3.pptx
Programmable Logic Controller  Training Day 1 to 3.pptxProgrammable Logic Controller  Training Day 1 to 3.pptx
Programmable Logic Controller Training Day 1 to 3.pptx
 
electronic voting machine by rfid
electronic voting machine by rfidelectronic voting machine by rfid
electronic voting machine by rfid
 
Coin based mobile charger project report
Coin based mobile charger project reportCoin based mobile charger project report
Coin based mobile charger project report
 
AUTONOMOUS LPG GAS SENSOR BOT USING ARDUINO ppt
AUTONOMOUS LPG GAS SENSOR BOT USING ARDUINO pptAUTONOMOUS LPG GAS SENSOR BOT USING ARDUINO ppt
AUTONOMOUS LPG GAS SENSOR BOT USING ARDUINO ppt
 

Recently uploaded

Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...Call Girls in Nagpur High Profile
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 

Recently uploaded (20)

Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 

Alcohol detection & driver safety

  • 1. ALCOHOL DETECTION & DRIVER SAFETY BY: SANKET JAIN
  • 2. Introduction  Every year millions of people die due to road accidents most of which are because of drunk driving. Drunk driving is a major reason of accidents in almost all countries all over the world. Alcohol Detector in Car project is designed for the safety of the people seating inside the car as well as people outside it.  This project will sense the amount of alcohol consumed by the person and if it exceeds above a certain threshold then there are two cases that are addressed. First if the car is at rest and the alcohol level is above threshold then the car will not start, second if the car is moving and alcohol level exceeds certain limit the car stops slowly in few seconds.
  • 3. Micro controller: Fig: 8051 microcontroller pin diagram  In 40 pin AT89C51, there are four ports designated as P1, P2, P3 and P0. All these ports are 8-bit bi-directional ports, i.e., they can be used as both input and output ports. Except P0 which needs external pull-ups, rest of the ports have internal pull-ups.  When 1s are written to these port pins, they are pulled high by the internal pull-ups and can be used as inputs. These ports are also bit addressable and so their bits can also be accessed individually.  . Port P0 and P2 are also used to provide low byte and high byte addresses, respectively, when connected to an external memory. Port 3 has multiplexed pins for special functions like serial communication, hardware interrupts, timer inputs and read/write operation from external memory. AT89C51 has an inbuilt UART for serial communication. It can be programmed to operate at different baud rates. Including two timers & hardware interrupts, it has a total of six interrupts.
  • 4. Alcohol detectionsensor:  MQ303A is semiconductor sensor is for Alcohol detection,It has good sensitivity and fast response.  It is a low cost semiconductor sensor which can detect the presence of alcohol gases at concentrations from 0.05 mg/L to 10 mg/L. The sensitive material used for this sensor is SnO2, whose conductivity is lower in clean air. It’s conductivity increases as the concentration of alcohol gases increases. It has high sensitivity to alcohol and has a good resistance to disturbances due to smoke, vapor and gasoline. This module provides both digital and analog outputs. MQ3 alcohol sensor module can be easily interfaced with Microcontrollers, Arduino Boards, Raspberry Pi etc.  This alcohol sensor is suitable for detecting alcohol concentration on your breath, just like your common breathalyzer. It has a high sensitivity and fast response time. Sensor provides an analog resistive output based on alcohol concentration. The drive circuit is very simple, all it needs is one resistor. A simple interface could be a 0-3.3V ADC.
  • 5. LCD:  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
  • 6. Motors:  A DC motor is any of a class of rotary electrical machines that converts direct current electrical energy into mechanical energy. The most common types rely on the forces produced by magnetic fields. Nearly all types of DC motors have some internal mechanism, either electromechanical or electronic, to periodically change the direction of current flow in part of the motor.  Features: 12V – 200RPM – 3.6KG•CM torque DC gearhead motor 30:1 Gear Ratio 2mm rear encoder shaft Good compromise between speed and torque for small robotic designs.
  • 7. L293D (Motor driver IC):  L293D is a typical Motor driver or Motor Driver IC which allows DC motor to drive on either direction. L293D is a 16-pin IC which can control a set of two DC motors simultaneously in any direction.  It means that you can control two DC motor with a single L293D IC. Dual H-bridge Motor Driver integrated circuit (IC). It works on the concept of H-bridge. H-bridge is a circuit which allows the voltage to be flown in either direction. As you know voltage need to change its direction for being able to rotate the motor in clockwise or anticlockwise direction, Hence H-bridge IC are ideal for driving a DC motor.  In a single L293D chip there are two h-Bridge circuit inside the IC which can rotate two dc motor independently. Due its size it is very much used in robotic application for controlling DC motors. Given below is the pin diagram of a L293D motor controller.  There are two Enable pins on l293d. Pin 1 and pin 9, for being able to drive the motor, the pin 1 and 9 need to be high. For driving the motor with left H-bridge you need to enable pin 1 to high. And for right H-Bridge you need to make the pin 9 to high. If anyone of the either pin1 or pin9 goes low then the motor in the corresponding section will suspend working
  • 8. 7805 (Voltage regulator):  7805 is a voltage regulator integrated circuit. It is a member of 78xx series of fixed linear voltage regulator ICs. The voltage source in a circuit may have fluctuations and would not give the fixed voltage output. The voltage regulator IC maintains the output voltage at a constant value. The xx in 78xx indicates the fixed output voltage it is designed to provide. 7805 provides +5V regulated power supply. Capacitors of suitable values can be connected at input and output pins depending upon the respective voltage levels. Features: • Output Current up to 1A • Output Voltages of 5, 6, 8, 9, 10, 12, 15, 18, 24V • Thermal Overload Protection • Short Circuit Protection • Output Transistor Safe Operating Area Protection
  • 9. Speed Control of DC motor  Pulse width modulation (PWM) is a method for binary signals generation, which has 2 signal periods (high and low). The width (W) of each pulse varies between 0 and the period (T). The main principle is control of power by varying the duty cycle. Here the conduction time to the load is controlled. Let for a time t1, the input voltage appears across the load i.e. ON state and for t2 time the voltage across the load is zero.  • The average voltage at output is given by , Va = Vmax. ,where TON =Time period for Pulse ON,TOFF =Time period for Pulse OFF  • The average load current Ia= Va/R = kVs/R where, T is the total time period =t1+t2, k = t1/T is the duty cycle.  • The duty cycle can be varied from 0 to 1 by varying t1, T or f. Therefore, the output voltage V0 can be varied from 0 to Vs by controlling k, and the power flow can be controlled.  • As the time t1 changes the width of pulse is varied and this type of control is called pulse width modulation (PWM) control.
  • 11. Working:  To get a blood alcohol content (BAC) reading, the sensors are attached in the car. The machine utilises the vapours in your breath to calculate an estimation of the level of alcohol in a person’s system. This simple approach is due to the fact that alcohol is not digested by the body and is merely absorbed through different parts. These include the mouth, stomach and intestines. As a result, traces of the material can still be identified minutes after drinking, making it possible for the sensor to calculate an accurate number, using this information microcontroller 8051 gives the signal to the motor whether to stop running or not.  As soon as alcohol is detected the controller starts reducing the rpm of the motor using the concept of a PWM the motor is slowed analogous to the varing duty cycle in successive frames the speed of motor starts to decrease and gradually it comes to halt. Another condition is that the car is being started by user but the alcohol level is very high in that condition the microcontroller 8051 does not allow the motor to start ensuring safety of the driver.
  • 12. Components Cost AT89C51 Microcontroller ₹50 Alcohol Sensor Module (MQ-3) ₹200 LCD ₹135 L293D Motor driver IC ₹45 12V DC Motor ₹50 PCB copper clad ₹50 Crystal (12MHz) ₹10 LEDs (4) ₹8 Resistors (1K*4,10K) and Capacitors(10uF,33pF) ₹10 Potentiometer (10K) ₹10 7805 Voltage Regulator IC ₹10 Heat sink ₹15 DC jack ₹5 Female to Female Connectors ₹15 Push Button(*2) ₹10 12V DC Adaptor ₹120