ESP32 Alcohol Detection and Notification System

Overview

This project demonstrates an Alcohol Detection and Notification System using an ESP32 microcontroller, and MQ3 gas sensor, an OLED display, and a buzzer. The system detects alcohol level in the environment and performs the following actions:

  • Displays a welcome animation on the OLED screen followed by a standby message 
  • Detects alcohol levels using the MQ3 sensor.
  • Upon detection, displays "Alcohol Detected" on the OLED and sends an email
  • Confirms email transmission on the OLED display and triggers the buzzer as an alert

Why We Built This Project: Addressing the Drink-and-Drive Menace

Every year, thousands of lives are lost due to accidents caused by drunk driving. The tragic stories of families shattered and lives cut short have inspired us to take a proactive step towards creating a safer world. Alcohol consumptions impairs judgement and reaction time, making it one of the leading causes of fatal road accidents globally. In our quest to address this issue, we developed the Alcohol Detector with Email Alerts. This project aims to detect alcohol presence in real time and immediately alert stakeholder, such as family members, fleet managers, or safety authorities. By leveraging cutting edge technology like ESP32 microcontroller, the MQ3 alcohol sensor, and an OLED display, we not only monitor but also communicate alerts effectively using automated emails. This solution is envisioned as a small yet significant step toward reducing accidents and promoting responsible behavior. With such devices integrated into vehicles, workplaces, or public safety setups, we can contribute to a safer and more responsible society 

Features

  • Accurate Alcohol Detection: Utilizes the MQ3 gas sensor for real-time alcohol detection
  • Email Notification: Sends email alerts via the ESP32's Wi-Fi capabilities.
  • OLED Display Integration: Provides visual feedback and status updates
  • Buzzer Alert: Auditory alert when alcohol is detected and email is sent
  • Custom PCB: Designed by me and manufactured by JLCPCB, simplifying the wiring and assembly

Things used in this project:

1. ESP32 (38 PIN) Wi-Fi + Bluetooth NodeMCU-32 Development Board: 

  • a powerful microcontroller with built-in Wi-Fi and Bluetooth capabilities.
  • Serves as the project's brain handling sensor input, email notification and display updates.

2. Buzzer:

  • Provides an auditory alert when alcohol is detected and an email is sent

3. 0.96 Inch Blue OLED Display Module I2C-4pin:

  • 128x64 resolution with I2C communication
  • Displays system status, detection results, and notifications

4. MQ-3 Alcohol Sensor:

  • Detects alcohol in the air
  • Outputs analog and digital signals proportional to the alcohol concentration.

5. Custom PCB

  • Designed to house the component and reduce wiring complexity Fabricated by JLCPCB, ensuring high quality manufacturing and fast delivery.

Why JLCPCB: The World's Best PCB Manufacturer

when it comes to PCB manufacturing, JLCPCB is an undisputed leader in the industry. With unmatched precision, exceptional quality, and cutting-edge technology, JLCPCB ensures that every PCB meets the most demanding requirements of professionals and hobbyists alike. Whether your project is for industrial applications, aerospace, medical equipment, or consumer electronics, JLCPCB delivers excellence in every order.

Here's what makes JLCPCB the best PCB manufacturer in the world:

Unmatched Material Versatility

JLCPCB provides a wide range of base materials to suit any project requirements:

  • FR-4: The Standard for reliability and durability.
  • Flex PCB: Ideal for flexible applications
  • Aluminum & Copper Core: Perfect for high-performance thermal experiment
  • High-Frequency Materials: Options like Rogers PTFE Teflon for RF applications

Layer Options for Every Need

From simple 1 layer PCBs to advanced 32 layer PCBs, JLCPCB can handle projects...

Read more »