MQ3 Alcohol Sensor With Arduino | Sheekar Banerjee
Maybe your like
Embed the widget on your own site
Add the following snippet to your HTML:

This project is about the interfacing of MQ3 alcohol sensor. I tried to demonstrate of a Basic Dope Testing system and mechanism.
Read up about this project on 
MQ3 Alcohol Sensor with Arduino | Sheekar Banerjee
Sheekar Banerjee2 1,703
Sheekar BanerjeePublished May 26, 2022 © CC0MQ3 Alcohol Sensor with Arduino | Sheekar BanerjeeThis project is about the interfacing of MQ3 alcohol sensor. I tried to demonstrate of a Basic Dope Testing system and mechanism.
IntermediateShowcase (no instructions)1,703Things used in this project
Hardware components | |||||
![]() |
| × | 1 |
| |
![]() |
| × | 1 | ||
Software apps and online services | |||||
![]() |
| ||||
Story
Circuit Planning:
Arduino-----> MQ-3 Alcohol Sensor
5V -----> Vcc
GND -----> GND
Analog (A0) -----> A0
Digital 8 -----> D0
Code:
//the code is entirely created by: SHEEKAR BANERJEE (at December 2017) //Dept. of CSE, IUBAT //AI-ML-IOT Solution Engineer and Researcher const int AOUTpin=0; const int DOUTpin=8; int limit; int value; void setup() { Serial.begin(115200);//sets the baud rate pinMode(DOUTpin, INPUT); } void loop() { value= analogRead(AOUTpin); limit= digitalRead(DOUTpin); Serial.print("Alcohol value: "); Serial.println(value); Serial.print("Limit: "); Serial.print(limit); delay(500);Results:
Checking the sensor data with my normal breath. Sensor data rapidly went up (600+) when I put the exit-hole of a hand-sanitizer close to the sensor Serial Plotter view of the alcohol sensor dataRange recognition:
Value --> 0-299 ---> Normal
Value --> 300-400 ---> Mild Alcoholic
Value --> More than 400
I tested the sensor with a hand sanitizer's exit-hole. Because the hand sanitizer contains 70% of alcohol. That was quite a brilliant alternated decision to use hand sanitizer for testing instead of using real alcohol. Because I don't drink!!!
Read moreSchematics
Circuit Diagram of MQ3 Alcohol Sensor

Code
- Program of MQ3 Alcohol Sensor with Arduino UNO R3
Program of MQ3 Alcohol Sensor with Arduino UNO R3
Arduinoconst int AOUTpin=0;//the AOUT pin of the alcohol sensor goes into analog pin A0 of the arduino const int DOUTpin=8;//the DOUT pin of the alcohol sensor goes into digital pin D8 of the arduino int limit; int value; void setup() { Serial.begin(115200);//sets the baud rate pinMode(DOUTpin, INPUT);//sets the pin as an input to the arduino pinMode(ledPin, OUTPUT);//sets the pin as an output of the arduino } void loop() { value= analogRead(AOUTpin);//reads the analaog value from the alcohol sensor's AOUT pin limit= digitalRead(DOUTpin);//reads the digital value from the alcohol sensor's DOUT pin Serial.print("Alcohol value: "); Serial.println(value);//prints the alcohol value Serial.print("Limit: "); Serial.print(limit);//prints the limit reached as either LOW or HIGH (above or underneath) delay(500); }Credits

Sheekar Banerjee
0 projects • 6 followersA motivated Computer Scientist & Engineer with years of experience over IoT, Robotic Systems, Machine Learning Algorithms and Software.FollowComments
Related channels and tags
- embedded
- human welfare
- internet of things
- monitoring
- smart appliances
Tag » Arduino Mq 3 Alcohol Sensor
-
Alcohol Detection Sensor - Arduino Project Hub
-
In-Depth: How MQ3 Alcohol Sensor Works? & Interface It With Arduino
-
Interface MQ3 Alcohol Sensor Module With Arduino
-
How Does MQ-3 Alcohol Detector Work With Arduino And Detect ...
-
MQ-3 Alcohol Sensor Circuit Built With An Arduino
-
MQ-3 Alcohol Sensor Arduino Code | Configuration And Explanation
-
MQ3 Alcohol Sensor Arduino Code | Step By Step Instructions
-
Arduino Breathalyzer Project Using MQ3 Alcohol Sensor ... - YouTube
-
Arduino Alcohol Detector | MQ-3 Sensor - YouTube
-
Arduino Guide For MQ3 Alcohol Sensor - Acoptex.Com
-
Interfacing MQ-3 Alcohol Gas Sensor Module With Arduino
-
MQ-3 Arduino Alcohol Sensor : 5 Steps - Instructables
-
Alcohol Detector Using Arduino And MQ3 Sensor - Techatronic
-
How To Use The MQ-3 Alcohol Sensor | Microcontroller Tutorials
_ztBMuBhMHo.jpg?auto=compress%2Cformat&w=48&h=48&fit=fill&bg=ffffff)





