Ks0132 keyestudio EASY plug Analog Alcohol Sensor

From Keyestudio Wiki
Jump to navigation Jump to search
Keyestudio EASY plug Analog Alcohol Sensor

Introduction

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.
This module should be used together with EASY plug control board.

Special Note:
The sensor/module is equipped with the RJ11 6P6C interface, compatible with our keyestudio EASY plug Control Board with RJ11 6P6C interface.
If you have the control board of other brands, it is also equipped with the RJ11 6P6C interface but has different internal line sequence, can’t be used compatibly with our sensor/module.


Specification

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


Technical Details

  • Dimensions: 56mm*20mm*18mm
  • Weight: 7.5g


Connect It Up

Connect the EASY Plug analog alcohol sensor to control board using an RJ11 cable. Then connect the control board to your PC with a USB cable.
thumb


Upload the Code

Below is an example code. Open or drag below code to Mixly Blocks and upload.

thumb


What You Should See


thumb

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

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. Open or drag below code to Mixly Blocks and upload.

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


Resources

Download the Arduino Code and Datasheet:
https://drive.google.com/open?id=1JzAc9wdpczmyAp0Dk3pmnpELvIQsM1D_

Download the Mixly Code and Datasheet:
https://drive.google.com/open?id=1lQAF_hxpkgcB0cZG6juYkmmj-1j5TYkF



Buy from