5% OFF Over $19, Code: Elephant5; 10% OFF Over $59, Code: Elephant10



PLUG Starter Kit For Arduino Project 17: Detect the alcohol content in the Air

Posted by Fiona Su on

Overview
In this project, you will learn how to use the alcohol sensor and control board to detect the alcohol content in the air.
Component Required

  • EASY plug control board*1
  • EASY plug Alcohol Sensor *1
  • EASY plug 1602 LCD Module *1
  • RJ11 cable*1
  • USB cable*1

Component Introduction
Keyestudio EASY plug Analog Alcohol Sensor


This analog gas sensor - MQ3 is suitable for detecting alcohol. It can be used in a Breath analyzer. Also it has high sensitivity to alcohol and low sensitivity to Benzine.
The sensitivity can be adjusted by a blue potentiometer on the sensor.

  • Power supply: 5V
  • Sensor type: Digital and Analog
  • Quick response and High sensitivity
  • Simple drive circuit
  • Stable and long service life

Connect It Up
Connect the EASY Plug analog alcohol sensor to control board using an RJ11 cable

thumb

Upload the Code

thumb

What You Should See
Done uploading the code, open the serial monitor and set the baud rate to 9600. If the sensor detects the alcohol in the air, you should see the value change.

thumb

thumb

Extension Experiment
Adding LCD Display
Hookup Guide
Connect the EASY Plug alcohol sensor and LCD module to control board using RJ11 cables.

thumb

Test Code
Below is an example code.

thumb

What You Should See

thumb

Upload success, you should be able to see the alcohol value is showed on the LCD screen.

thumb

If you can’t see the data clearly, you should rotate the potentiometer on the back of LCD display to adjust the backlight.

thumb

All Tutorial

 Buy here>>EASY PLUG Super Starter Kit For Arduino STEM EDU

0 comments

Leave a comment

Please note, comments must be approved before they are published