Built to order

Vehicle Ignition Interlock using Alcohol Sensor and Arduino

This project builds a vehicle ignition interlock using an MQ-3 alcohol sensor and an Arduino Uno to block the ignition when alcohol vapor is detected near the driver. The sensor reading drives a relay that cuts the ignition circuit, while a 16x2 LCD shows the status, a buzzer sounds, and a SIM800L GSM module sends an SMS alert to the owner. A warm-up lockout blocks false starts until the sensor stabilizes, and a key-operated service mode allows authorized bypass for maintenance. Suitable for B.E./B.Tech final-year projects in Electronics & Telecommunication.

Chat on WhatsApp — get a quotation

Electronics / E&TC Arduino UnoArduino IDESIM800L GSM module16x2 LCD display12 V DC power supply5 V relay moduleMQ-3 alcohol sensorKey switch DC motorHardware
Vehicle Ignition Interlock using Alcohol Sensor and Arduino — project thumbnail preview
More project photos (2)

The problem

A vehicle ignition interlock using an alcohol sensor and Arduino is a bench-demonstrated safety system that stops a vehicle from starting when alcohol vapor is detected near the driver. An MQ-3 sensor samples the air near the driver, an Arduino Uno reads its output, and when the reading crosses a preset threshold the controller opens a relay in the ignition circuit so the starter cannot crank. It also sounds a buzzer, shows the status on a 16x2 LCD, and sends an SMS alert to the owner through a SIM800L GSM module. It exists because drink-driving remains one of the most preventable causes of road crashes, and most vehicles check nothing before the engine starts. This project demonstrates a low-cost preventive layer: the check happens before the vehicle moves. The readings are relative and indicative only, and the build is a bench demonstration teaching sensor interfacing, threshold logic, relay actuation and GSM alerting, without claiming to be a road-legal device.

Many student alcohol-detection builds stop at a buzzer and an LCD that merely display a reading. This build goes further: the sensor output actually controls the ignition path through a relay, so the outcome of the test changes what the vehicle can do. That actuation step is what makes the project an interlock rather than a readout device, and it is also what makes the demonstration honest — the relay, the key switch and the small DC motor standing in for the starter are all visible on the bench rig, and anyone watching can see the motor refuse to turn when the threshold is crossed.

SYSTEM FLOW

6 components 5 connections

Live flow
Drag to explore
100%
sensorMQ-3 Sensor

An MQ-3 sensor samples the air near the driver for alcohol vapor.

Follow the working sequence

How it works

The vehicle ignition interlock works as a continuous sense-decide-act loop. When the system powers on, the MQ-3 sensor heater warms up and the controller holds the ignition relay open, showing a warm-up countdown on the LCD so no start is possible before the sensor is stable. Once warm, the Arduino reads the MQ-3 output through its 10-bit ADC, producing a value from 0 to 1023 that rises with alcohol vapor, and compares it against the preset threshold every cycle. If the reading stays below the threshold, the relay closes and turning the key switch cranks the small DC motor that stands in for the starter. If the reading crosses the threshold, the controller opens the relay, the motor cannot turn, the buzzer sounds, the LCD shows the lockout, and the SIM800L sends an SMS to the owner. The loop then keeps sampling, so the ignition is released only when the reading falls back below the threshold.

  1. The driver turns the system on; the MQ-3 heater starts warming up and the Arduino holds the ignition relay open during the warm-up lockout.
  2. The 16x2 LCD shows the warm-up countdown and the live ADC reading so the state of the system is always visible.
  3. Once warm-up completes, the Arduino samples the MQ-3 analog output through its 10-bit ADC (range 0–1023) and compares each reading with the preset threshold.
  4. If the reading is below the threshold, the Arduino closes the relay, completing the ignition circuit; turning the key switch then runs the small DC motor that stands in for the starter.
  5. If the reading crosses the threshold, the Arduino opens the relay, cutting the ignition circuit so the motor cannot run even with the key turned.
  6. The buzzer sounds and the LCD shows the alcohol-detected lockout state while the reading stays above the threshold.
  7. The SIM800L GSM module sends an SMS alert to the owner's phone number, and a second SMS when the reading falls back and the system returns to ready.
  8. Turning the key switch to service mode bypasses the interlock for maintenance, with "SERVICE MODE" shown on the LCD for the whole bypass period.

Tech stack:

  • Arduino Uno (ATmega328P)
  • MQ-3 alcohol gas sensor module
  • SIM800L GSM module
  • 16x2 LCD with I2C adapter
  • 5 V relay module
  • Arduino IDE (C/C++ sketch)
  • Key switch · DC motor starter stand-in
  • 12 V DC power supply · breadboard wiring
Parameter Value
Controller Arduino Uno, ATmega328P, 16 MHz clock (datasheet value)
Sensor MQ-3 semiconductor alcohol sensor, SnO2 element (datasheet value)
Sensor detection range 25–500 ppm alcohol (datasheet value, Winsen MQ-3 datasheet)
Sensor heater supply 5.0 V ± 0.1 V (datasheet value)
Sensor heater consumption ≤900 mW (datasheet value)
Sensor warm-up Approximately 10–20 min in practice; over 48 h full preheat (datasheet value)
ADC resolution 10-bit, reading range 0–1023 (datasheet value)
Ignition control 5 V relay module, normally-open contact in series with ignition circuit
Starter stand-in Small DC motor, 6–12 V (design target)
Display 16x2 LCD, 2 lines × 16 characters
GSM module SIM800L, quad-band, SMS via AT commands
Alert Buzzer, approximately 85 dB at 10 cm (component-dependent)
Power supply 12 V DC, 2 A (design target) for the rig; 5 V regulated rail for logic
Threshold Single adjustable constant in firmware (buyer-calibrated, no fixed ppm claim)
Response Relay opens within approximately 1 s of the reading crossing the threshold (design target)

Project features

The vehicle ignition interlock combines four capabilities that a simple alcohol readout device does not have. First, the MQ-3 sensor reading drives a relay that physically cuts the ignition circuit, so a failed test actually prevents the starter from cranking. Second, a warm-up lockout holds the ignition disabled until the sensor heater has stabilized, because MQ-3 readings drift badly in the first minutes after power-on. Third, a SIM800L GSM module sends an SMS alert to the vehicle owner whenever the interlock trips, so the event is recorded remotely even if nobody is watching the dashboard. Fourth, a key-operated service mode lets an authorized person bypass the interlock for maintenance, with the bypass itself shown on the LCD so it cannot happen silently. Around these four, the build adds live LCD status, a buzzer, and a threshold that can be recalibrated in code.

  • [Relay-cut ignition interlock] When the MQ-3 reading crosses the preset threshold, the Arduino opens a relay wired in series with the ignition circuit, so the starter cannot crank. The relay stays open until the reading falls back below the threshold.
  • [Warm-up lockout] After power-on, the ignition stays disabled while the MQ-3 heater stabilizes, for a warm-up period of approximately 10–20 minutes (design target, adjustable in code). The LCD shows a countdown so the driver knows the system is not yet ready.
  • [GSM SMS alert to the owner] A SIM800L module sends an SMS to the owner's phone number whenever the interlock trips, and again when the system returns to a ready state. The number is set in the firmware before delivery.
  • [Key-operated service mode] A key switch puts the system into service mode for maintenance and testing, bypassing the interlock. The LCD shows "SERVICE MODE" throughout, so the bypass is always visible and never silent.
  • [Live LCD status display] A 16x2 LCD shows the current state at all times: warming up, ready, alcohol detected, or service mode, together with the raw 10-bit ADC reading (0–1023) from the sensor.
  • [Buzzer alert] A buzzer sounds when the threshold is crossed, giving an immediate audible warning in the cabin alongside the LCD message and the SMS.
  • [Adjustable threshold in code] The trip threshold is a single clearly commented constant in the Arduino sketch, so the team can recalibrate it for their demonstration conditions and explain the choice in the viva.

What is included

  • Working bench prototype: Arduino Uno, MQ-3 sensor module, relay module, SIM800L GSM module, 16x2 LCD, buzzer, key switch and DC motor starter stand-in, fully wired
  • Complete Arduino firmware with commented threshold constant, warm-up lockout and service-mode logic
  • Circuit diagram and wiring documentation for the full rig
  • Component list with part numbers and suppliers used in the build
  • Setup and demonstration guide, including the buyer-run threshold calibration procedure
  • Project report PDF (background, sensor theory, methodology, results, limitations)
  • PPT presentation for final review
  • Viva Q&A preparation document (MQ-3 working, ADC conversion, relay logic, GSM AT commands, limitations)

Limitations & prerequisites

  • Readings are relative and indicative only: the MQ-3 output is an ADC value (0–1023), never a blood alcohol concentration (BAC) value, and the system is not a legal breathalyzer or evidential-grade device.
  • The interlock is a bench demonstration of the concept on a rig with a small DC motor as the starter stand-in; it is not a road-legal vehicle modification and must not be fitted to a real vehicle without proper automotive engineering and approval.
  • The MQ-3 is cross-sensitive to smoke, gasoline vapor and other gases, so those can raise the reading and trip the interlock even without alcohol present.
  • Warm-up takes approximately 10–20 minutes in practice (over 48 hours for full preheat per the datasheet), so the system cannot give a stable reading immediately after power-on.
  • The GSM alert needs a working 2G SIM with balance and network coverage; without coverage the SMS is not sent, though the local relay lockout still works.
  • The threshold is set by calibration against a reference condition chosen by the buyer; no fixed ppm trip point is claimed because the sensor output is relative.
  • The prototype runs on a bench 12 V DC supply and is not tested against automotive voltage spikes, vibration or temperature extremes.

Frequently Asked Questions

Is this project suitable for a final-year project?

Yes, it is suitable for final-year Electronics & Telecommunication and Electrical Engineering students, because it combines sensor interfacing, analog-to-digital conversion, threshold logic, relay actuation and GSM communication in one complete safety system. The bench rig is compact enough to carry to a demonstration, and the interlock logic gives the team a clear story to explain in the viva, from the MQ-3 sensing principle to the relay that cuts the ignition.

How is this different from an alcohol breath analyzer project?

An analyzer only measures and displays a reading on an LCD with a buzzer, while this interlock acts on the reading: the MQ-3 output drives a relay that cuts the ignition circuit, so a failed test physically prevents the starter from cranking, and a GSM alert goes to the owner. The difference is actuation and vehicle integration, not just measurement. That is also why the demonstration is more convincing — the audience watches the motor refuse to turn.

Does the sensor give a BAC value?

No, the MQ-3 gives only a relative ADC reading from 0 to 1023 that rises with alcohol vapor concentration, and the interlock trips on a threshold chosen during calibration, never on a blood alcohol concentration value. It is an indicative sensor, not an evidential-grade instrument, and it must never be described as a legal breathalyzer in the report or the viva. The project is honest about this limit throughout.

Why does the system need a warm-up period?

The MQ-3 uses a heated tin-dioxide element, and its resistance is unstable until the heater reaches operating temperature, so in practice the reading drifts for approximately 10 to 20 minutes after power-on, with the datasheet specifying over 48 hours for full preheat. The warm-up lockout holds the ignition disabled during this period so a cold, drifting sensor cannot produce a false pass or a false trip. The LCD shows the countdown so the wait is visible.

What happens if the GSM network is unavailable?

The local safety function still works, because the relay lockout, buzzer and LCD are all driven directly by the Arduino and need no network at all, so the ignition stays blocked even with no signal. Only the remote SMS alert is lost when there is no coverage or no SIM balance, and the LCD continues to show the lockout state until the reading falls back below the threshold. The alert is a notification layer, not the safety layer.

Can the threshold be changed for our demonstration?

Yes, the trip threshold is a single clearly commented constant in the Arduino sketch, and the setup guide includes a buyer-run calibration procedure using a reference alcohol vapor condition chosen for the demonstration. The team sets the value that suits their demonstration and documents the procedure and the chosen value in the report, rather than relying on any fixed ppm claim. Recalibration needs no hardware change.

Components & software requirements
  • Arduino Uno (ATmega328P)
  • MQ-3 alcohol gas sensor module
  • SIM800L GSM module
  • 16x2 LCD with I2C adapter
  • 5 V relay module
  • Arduino IDE (C/C++ sketch)
  • Key switch · DC motor starter stand-in
  • 12 V DC power supply · breadboard wiring
Delivery information

Built-to-order project. Delivery timeline is shared after order confirmation based on current queue.

Support terms

Complete documentation, setup guide, and viva preparation included. Support for setup and explanation provided.

Download free synopsis (PDF)

Enter your name and WhatsApp number — the synopsis PDF downloads immediately. We may send occasional project updates on WhatsApp; no spam.

Get a quotation