Skip to main content

Alcohol Sensor

POWER77 Tech Electronic Project 

 

Alcohol Level Meter using Arduino & MQ-135 Alcohol/Gas Sensor

 

Introduction

In this project we have designed Alcohol Level Meter using Arduino & MQ-135 Alcohol/Gas Sensor for measuring the level of alcohol in human breathe. Simply we have interfaced MQ-135 Gas Sensor module with Arduino and 16*2 LCD module for display. The alcohol/Gas sensor we used is the MQ-135 sensor. This is a sensor that is not only sensitive to alcohol, particularly ethanol, which is the type of alcohol which is found in wine, beer, and liquor. Instead of MQ-135, you can use MQ2, MQ3, MQ5 module as well. Basically they all have similar functions.
This type of sensor circuit can be used as a breathalyzer to check a person’s blood alcohol level. Just as we exhale carbon dioxide when we breathe out, we also will breathe out some alcohol if we have alcohol in our blood. Any alcometer device can measure this alcohol content. The more ethanol in your blood, the more there is in the air on exhalation. This alcohol content gives a good indication for if a person is drunk and how drunk they are.
The amount of alcohol exhaled into the air is proportional to the amount of alcohol which will be found in a person’s blood. Alcometers use a built-in formula to estimate blood alcohol content from exhaled air alcohol content.
For different countries, the level of alcohol in the blood that defines a person as over the limit for driving varies. The range ranges from 0.01 to 0.10. Most countries have a limit of about 0.05. For example, Greece, Greenalnd, and Iceland all have limits of 0.05. Canada has a higher limit set at 0.08. For our circuit, it can function as an alcometer so that we get an estimate of a person’s blood alcohol level.

Components Required

For designing Alcohol Level Meter using Arduino & MQ-135 Alcohol/Gas Sensor we need the following components:
1. Arduino UNO Board
2. 16*2 LCD
3. MQ-135 Gas/Alcohol Sensor Module  (You can use MQ2, MQ3, MQ5 as well)
4. LED
4. Breadboard
5. Connecting Jumper Wires

Alcohol Level Meter using Arduino & MQ-135 Alcohol/Gas Sensor

Now after managing this components do this following connections for designing Digital Tachometer using IR Sensor with Arduino for measuring RPM
LCD Pins 1, 3 ,5 ,16 ——— GND
LCD Pins 2, 16 ————— VCC (+5V)
LCD Pin 4 ——————– Arduino pin D7
LCD Pin 6 ——————– Arduino pin D6
LCD Pin 11 ——————- Arduino pin D5
LCD Pin 12 ——————- Arduino pin D4
LCD Pin 13 ——————- Arduino pin D3
LCD Pin 14 ——————- Arduino pin D2
MQ-135 Module Pin -GND —— GND
MQ-135 Module Pin +VCC —— VCC
MQ-135 Module Pin A0 — Arduino Pin A0
LED Pin +ve end ————- Arduino PinD10
LED Pin -ve end ————-GND
A connection diagram is given below as well. Simply assemble the circuit as this.



MQ-135 Gas/Alcohol Sensor Module

Introduction


MQ-135 Module sensor has lower conductivity in clean air. When the target combustible gas exist, the sensors conductivity is more higher along with the gas concentration rising. Convert change of conductivity to correspond output signal of gas concentration. MQ135 gas sensor has high sensitivity to Ammonia, Sulphide and Benzene steam, also sensitive to smoke and other harmful gases. It is with low cost and suitable for different applications such as harmful gases/smoke detection.

Features

1. Wide detecting scope
2. Fast response and High sensitivity
3. Stable and long life Simple drive circuit
4. Used in air quality control equipment for buildings/offices, is suitable for detecting of NH3, NOx, alcohol, Benzene, smoke, CO2, etc.
5. Size: 35mm x 22mm x 23mm (length x width x height)
6. Working voltage: DC 5 V
7. Signal output instruction.
8. Dual signal output (analog output, and high/low digital output)
9. ~ 4.2V analog output voltage, the higher the concentration the higher the voltage.

Working Mechanism

The MQ-135 alcohol sensor consists of a tin dioxide (SnO2), a perspective layer inside aluminium oxide micro tubes (measuring electrodes) and a heating element inside a tubular casing. The end face of the sensor is enclosed by a stainless steel net and the back side holds the connection terminals. Ethyl alcohol present in the breath is oxidized into acetic acid passing through the heat element. With the ethyl alcohol cascade on the tin dioxide sensing layer, the resistance decreases. By using the external load resistance the resistance variation is converted into a suitable voltage variation.



Arduino Source Code

So here is a source code for designing Alcohol Level Meter using Arduino & MQ-135 Alcohol/Gas Sensor. Simply copy the code and upload it to your Arduino Board using Arduino IDE.
#include <LiquidCrystal.h>
LiquidCrystal lcd(7, 6, 5, 4, 3, 2);

int ledPin = 10;
int sensorPin = A0;
int value;

void setup()
{
Serial.begin(9600);
lcd.begin(16,2);
pinMode(ledPin,OUTPUT);
}
void loop() 
{
int Value = analogRead(sensorPin);
value = analogRead(A0);
lcd.print("Alcohol Lev.:");
lcd.print(value-50);
Serial.print(value);
if (value-50 > 400) 

{
    digitalWrite(ledPin,HIGH);
     lcd.setCursor(0, 2);
     lcd.print("Alert....!!!");
    Serial.print ("Alert");   
  } 
  else {
    digitalWrite(ledPin,LOW); 
      lcd.setCursor(0, 2);
      lcd.print(".....Normal.....");
    Serial.print("Normal");
  }

delay(500);
lcd.clear();
}

Video Preview & Explanation

 Go To Link 

            https://youtu.be/yWKfuP9BhhI     


Power77 Tech ElectronicProject 

Email : power77.tech@gmail.com


Comments

Popular posts from this blog

Arduino NANO 3X3X3 LED CUBE

DIY | 3X3X3 LED CUBE FOR ARDUINO NANO+ By   RGBFreak   in   Technology Arduino 17,143 146 22 Featured Download Favorite By   RGBFreak RGBFreak's YouTube Channel Follow More by the author: About: Hi there visitor! First of all thank you for checking out my profile! My name is Youri. I study Technical Computer Science in the Netherlands. I especially love the electronical part of my study. Since I l...   More About RGBFreak » Intro: DIY | 3x3x3 LED Cube for Arduino Nano+ Hi everyone! My name is RGBFreak and I created a YouTube channel quite recently. I love DIY and I especially love LED's, so that's why I decided to make my own 3x3x3 LED Cube! You will need the following items to make this LED Cube: • 27 single colored LED's. • Arduino Nano or one of his bigger brothers. • 3 NPN Transistors. I used the BC547. • 3 pin headers with 3 pins. • 1 pin header with 4 pins. • A piece of perfboard. • A few small cables. Ad

DIGITAL UV-METER, WITH OLED DISPLAY. ARDUINO PROJECT FOR BEGINNERS

DIGITAL UV-METER, WITH OLED DISPLAY. ARDUINO PROJECT FOR BEGINNERS By   techn0man1ac   in   Technology Arduino 4,792 87 13 Featured Download Favorite By   techn0man1ac Techn0man1ac blog Follow About: Techn0man1ac - техноманьяк   More About techn0man1ac » Intro: Digital UV-meter, With OLED Display. Arduino Project for Beginners Video demonstration (English subtitles). Hello,   instructable . Today I will tell you how to make a simple digital VU meter (sound level meter) using Arduino and OLED displays and 2 resistors by yourself (DIY). The device is quite simple, for beginners it will be a rewarding experience. Add Tip Ask Question Comment Download Step 1: Components for This Arduino Project: 3 More Images Arduino Nano V3.0; 0.96 inch IIC I2C 128X64 OLED Display; One 10K, resistor(R1 no scheme); One 10K-100K potentiometer(R2no scheme); Wires. Add Tip Ask Question Comment Download Step 2: Dev

Ultrasonic Distance Sensor in Arduino With Tinkercad

  Ultrasonic Distance Sensor in Arduino With Tinkercad Let's measure distances with an ultrasonic rangefinder (distance sensor) and Arduino's digital input. We'll connect up a circuit using a breadboard and use some simple Arduino code to control a single LED. You may have already learned to   read a pushbutton   and   PIR motion sensor   with Arduino's digital input, and we'll build on those skills in this lesson. Ultrasonic rangefinders use sound waves to bounce off objects in front of them, much like bats using echolocation to sense their environment. The proximity sensor sends out a signal and measures how long it takes to return. The Arduino program receives this information and calculates the distance between the sensor and object. Find this circuit on Tinkercad Explore the sample circuit embedded here by starting the simulation and clicking on the proximity sensor. This will activate a highlighted area in front of the sensor with a circle "