• Home
  • Articles
  • Basics
  • Components
  • Projects
  • Communications
  • MCQ

WatElectronics.com

You are here: Home / Projects / Automatic Engine Locking System Through Alcohol Detection For Drunken Drivers

Automatic Engine Locking System Through Alcohol Detection For Drunken Drivers

September 26, 2019 By admin

Automatic Engine Locking System Through Alcohol Detection

Automatic Engine Locking System Through Alcohol Detection

Driving under the influence of alcohol has affected and killed countless of people’s lives. If you drink and drive, not only do you possibly put yourself at risk, but your passengers and pedestrians, and other people, who were on the roads. Just think about that. Every thirty minutes someone’s life is cut short and families are devastated. So, here we implemented a prototype version Alcohol Detection system in order to control drunk and driving as much as we can. Please follow the link To Know about Different Types of Sensors with their Applications

The Alcohol Detection system works on a simple principle, If a driver has been drinking, the alcohol breath analyser sensor will detect the level of alcohol in the driver’s breath and if it crosses a set threshold, an alert will come and the vehicle engine will stop immediately. This project is designed for the safety of the people seating inside/outside the vehicle.

Functional Design of Automatic Engine Locking System Through Alcohol Detection

The below block diagram illustrates the automatic vehicle engine locking system through an alcohol detection. The Microcontroller (AT89S52), alcohol detector (MQ-3), relay motor driver IC (ULN2003) are the major prerequisites for the system construction. The Alcohol detector sensor will be attached with our Microcontroller.

Block Diagram of Automatic engine Locking System with Alcohol Detection

Block Diagram of Automatic engine Locking System with Alcohol Detection

The input for the Microcontroller is identified by the alcohol detector sensor through the breath of a human. In the next scenario the levels of alcohol measured by the sensor and compared with the set-in limits. If the set limit of consumption of alcohol is less than the alcohol consumed by the person, the system of activating relay is initiated which in turn activates the automatic lock on the vehicle, i.e. it stops the motor rotation if it is in running state or it is unable to start. The system will lock the Engine at the same time will automatically give a buzzer. By this, we can avoid accidents by checking the driving people on the roads. Software Program for the system developed in embedded C. ISP is used to dump the code into the Microcontroller.

Hardware Connectivity for Alcohol Detection System

For the proposed system we designed a circuit as shown below. In the circuitry, the connectivity issues have been shown with maximum reliability and negligible errors. This system works with 9v DC power supply.

Ciruit Diagram of Automatic Engine Locking System Through Alcohol Detection For Drunken Drivers

Circuit Diagram of Automatic Engine Locking System Through Alcohol Detection For Drunken Drivers

Microcontroller (AT89S52)

The AT89S52 Microcontroller is a low-power, high-performance CMOS 8-bit Microcontroller with 8K bytes of in-system programmable Flash memory. The device is manufactured BY Atmel, with the industry-standard 80C51 instruction set and Pinout. The on-chip Flash allows the program memory to be reprogrammed in-system or by a conventional nonvolatile memory programmer. By combining a versatile 8-bit CPU with in-system programmable Flash on a monolithic chip, the Atmel AT89S52 is a powerful Microcontroller which provides a highly-flexible and cost-effective solution to many embedded control applications.

AT89S52 Pin Diagram

AT89S52 Pin Diagram

The AT89S52 Microcontroller provides the following standard features.

  • 8K Bytes of In-System Programmable (ISP) Flash Memory
  • Three-level Program Memory Lock
  • 256 x 8-bit Internal RAM
  • 32 Programmable I/O Lines
  • Three 16-bit Timer/Counters and Watchdog Timer
  • Full Duplex UART Serial Channel and Flexible ISP Programming (Byte and Page Mode)
  • Low-power Idle and Power-down Modes
  • Interrupt Recovery from Power-down Mode

MQ3- Alcohol Gas Sensor

MQ3- Alcohol Gas Sensor is a low-cost semiconductor sensor which, used to detect the presence of alcohol vapour gas at concentrations from 0.05 mg/L to 10 mg/L. It has high sensitivity to alcohol and has a good resistance to disturbances due to smoke, vapour and gasoline The sensitive material used for this sensor is SnO2, whose conductivity is lower in clean air. Its conductivity increases as the concentration of alcohol vapour gas increases. This module provides both digital and analog outputs.

This alcohol sensor is suitable for detecting alcohol concentration on your breath. It has a high sensitivity and fast response time. The sensor provides an analog resistive output based on alcohol concentration. The drive circuit is very simple, all it needs is a resistor. A simple interface could be a 0-3.3V ADC. The MQ3 alcohol sensor module can be easily interfaced with Microcontrollers, Arduino Boards, Raspberry Pi etc.

MQ3 Alcohol Sensor

MQ3 Alcohol Sensor

Pin Out

  1. VCC – Input Power Supply
  2. DO – Digital Output
  3. AO – Analog Output
  4. GND – Supply Ground

Features of MQ3- Alcohol Gas Sensor

  • Operating Voltage: 5V ± 0.1
  • Concentration: 0.05 mg/L ~ 10 mg/L Alcohol
  • Current Consumption: 150mA
  • Output sensitivity adjustable
  • Analog output 0V to 5V and Digital output 0V or 5V
  • Low Cost and Fast Response
  • Stable and Long Life
  • Fair Sensitivity to Alcohol Gas
  • Both Digital and Analog Outputs
  • Operation Temperature: -10°C ~ 70°C

How an Alcohol Detector Works

To get a blood alcohol content (BAC) reading, the users simply have to blow into a straw attached to the equipment for a few seconds. From here, 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 Breath Analyser to calculate an accurate number.

Blood Alcohol Content (BAC) limits

  • The concentration of alcohol in blood: 0.05 grammes per 100 millilitres (all drivers), professional drivers: 0.02 grammes per 100 millilitres.
  • Breath alcohol content: 0.24 milligrammes per 1000 millilitres (all drivers), professional drivers: 0.10 milligrammes per 1000 millilitres.

Applications of Automatic Engine Locking System Through Alcohol Detection

Drunk Driving is one of the biggest threats to Road Safety. Applications of Automatic Engine Locking System Through Alcohol Detection can be used anywhere to reduce the probability of road accidents.

  • “Automatic Engine Locking System Through Alcohol Detection project” can be used in various vehicles for detecting whether the driver has consumed alcohol or not.
  • This can also be used in various companies, organisations, mines to detect alcohol consumption of employees.

Furthermore, technical assistance can be provided based on your queries posted in the comments section.

Filed Under: Projects

Recent Posts

  • LM7818 IC : PinOut, Features Equivalent, Circuit, Working, Datasheet & Its Applications
  • KY-012 Active Buzzer Module : PinOut, Features, Specifications, Interfacing, Working, Datasheet & Its Applications
  • KY-025 Module : PinOut, Features, Specifications, Interfacing, Working, Datasheet & Its Applications
  • SSD1306 OLED Display : PinOut, Features, Specifications, Interfacing & Its Applications
  • KY-011 LED Module : PinOut, Features, Specifications, Interfacing, Datasheet & Its Applications
  • LM1458 IC : PinOut, Features, Specifications, Circuit, Working, Datasheet & Its Applications
  • UM3561 IC : PinOut, Features, Specifications, Circuit, Working & Its Applications
  • MCP1640 IC : PinOut, Features, Specifications, Circuit, Working, Datasheet & Its Applications
  • LED Traffic Light Module : PinOut, Features, Specifications, Interfacing & Its Applications
  • KY-024 Hall Sensor : PinOut, Features, Specifications, Interfacing, Working & Its Applications
  • LM337 IC : PinOut, Features, Specifications, Circuit, Working, Datasheet & Its Applications
  • KY-017 Module : PinOut, Equivalent, Specifications, Interfacing, Working, Datasheet & Its Applications

Categories

  • Articles (20)
  • Basics (109)
  • Communications (54)
  • Components (235)
  • Digital Electronics (43)
  • Digital Signalling (3)
  • Electronics (225)
  • Embedded Systems (12)
  • Magnetism (5)
  • Microprocessors (3)
  • Modulation (1)
  • Projects (15)

Subscribe to Our Newsletter

Don’t miss these articles!

We don’t spam! Read our privacy policy for more info.

Check your inbox or spam folder to confirm your subscription.

Category

  • Electronics
  • Components
  • Digital Electronics
  • Embedded Systems
  • Projects

Copyright © 2025 · WatElectronics.com | Contact Us | Privacy Policy