Interfacing MQ-3 Alcohol Gas Sensor Module With Arduino
Maybe your like
Contents
- Sensors
-
Written by Mohammad Damirchi
MQ-3 Alcohol Gas Sensor Features
MQ series sensor uses a small heater inside with an electrochemical sensor in order to measure a different kind of gases combination. The MQ-3 sensor is one of the MQ series heater-driven gas sensors that has an internal variable resistance from pin A to pin B, which depends on the amount of alcohol in the air. The sensor’s output is an analog resistance. This sensor can measure the alcohol concentration in human blood alcohol gas on your breath. Alcohol decreases the internal resistance of the sensor and the measurement of alcohol is based on the measurement of this resistance.
Note
After turning on the module, wait 2 minutes for the internal heater to warm up.
You can download the datasheet of this module here.
MQ-3 Smoke Gas Module Datasheet
1 file(s) 54.95 KB DownloadMQ-3 Alcohol Gas Sensor Pinout
This sensor has 4 pins:
- 5V: Module power supply – 5 V
- GND: Ground
- DOUT: Digital output
- AOUT: analog output
You can see pinout of this module in the image below.
Required Materials
Hardware Components
| Arduino UNO R3 | × | 1 |
| MQ-3 Smoke Gas Module | × | 1 |
| Male to Female jumper wire | × | 1 |
Software Apps
| Arduino IDE |
Interfacing MQ-3 Alcohol Gas Sensor with Arduino
Step 1: Circuit
The following circuit shows how you should connect Arduino to MQ-3 module. Connect wires accordingly.
Step 2: Code
Upload the following code to your Arduino.
/* modified on Sep 28, 2020 Modified by MohammedDamirchi from Arduino ExamplesHome*/ // the setup routine runs once when you press reset: void setup() { // initialize serial communication at 9600 bits per second: Serial.begin(9600); } // the loop routine runs over and over again forever: void loop() { // read the input on analog pin 0: int sensorValue = analogRead(A0); // print out the value you read: Serial.println(sensorValue); delay(20); }
After uploading the code, you can see the output in the serial monitor.
Liked What You See? Get Updates And Learn From The Best Subscribe Leave a Reply Cancel reply
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I comment.
Be The First To Know
Subscribe Subscribe to receive monthly life-changing updates Tag » Arduino Code For Mq3 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 Arduino Code | Configuration And Explanation
-
MQ3 Alcohol Sensor Arduino Code | Step By Step Instructions
-
Alcohol Detector Using Arduino And MQ3 Sensor - Techatronic
-
Arduino Alcohol Sensor Code - TheoryCIRCUIT
-
Arduino Guide For MQ3 Alcohol Sensor - Acoptex.Com
-
MQ-3 Alcohol Sensor Circuit Built With An Arduino
-
Alcohol Detector Using Arduino & MQ3 Sensor | The IOT Projects
-
Arduino Breathalyzer Using MQ3 Gas Sensor And OLED Display
-
How MQ3 Alcohol Sensor Interface With Arduino UNO - Circuits DIY
-
Arduino Alcohol Detector | MQ-3 Sensor - YouTube