Ks0041 keyestudio Analog Alcohol Sensor: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
<br>
==Introduction==
==Introduction==
This analog sensor - MQ3 is suitable for detecting alcohol. It can be used in a Breath analyzer. It has good selectivity because it has higher sensitivity to alcohol and lower sensitivity to Benzine. The sensitivity can be adjusted by A potentiometer on the sensor. 
This analog gas sensor - MQ3 is suitable for detecting alcohol. It can be used in a breath analyzer. <br>
It has good selectivity because it has higher sensitivity to alcohol and lower sensitivity to Benzine. <br>
The sensitivity can be adjusted by rotating the potentiometer.<br>
<br>[[File:KS0041 (3).png|500px|frameless|thumb]]<br>
<br>[[File:KS0041 (3).png|500px|frameless|thumb]]<br>


<br>
==Specification==
==Specification==
*Power Supply: 5V
*Power Supply: 5V
Line 9: Line 14:
*Simple drive circuit
*Simple drive circuit
*Stable and long service life
*Stable and long service life
*Size: 49.7*20mm
*Weight: 6g


<br>
==Connection Diagram ==
==Connection Diagram ==
<br>[[File:Ks0040-2.png|700px|frameless|thumb]]<br>


<br>[[File:ks0068 23-2.png|500px|frameless|thumb]]<br>
<br>
 
==Sample Code ==
==Sample Code ==


<pre>
<pre>
Line 31: Line 34:
Serial.println(val,DEC);//Print the value to serial port
Serial.println(val,DEC);//Print the value to serial port
delay(100);
delay(100);
}</pre>
}
</pre>


==Resources ==
<br>
== Result ==
<br>[[File:KS0349 26-2.png|500px|frameless|thumb]]<br>
Done wiring and powered up, upload well the code, then open the serial monitor and set the baud rate as 9600, you will see the analog value. When detecting the alcohol gas, the value will make a change. <br>
<br>[[File:KS0349 26-3.png|500px|frameless|thumb]]<br>


'''Video'''


http://www.keyestudio.com/wp/ks0041-alcohol-sensor/
<br>
==Resources ==


'''PDF'''
* '''Video'''<br>
http://video.keyestudio.com/ks0041/


* '''PDF'''<br>
https://drive.google.com/open?id=1h-RmEhi0Oa3r0YZvg7Dsg1MxgrYWdTQ_
https://drive.google.com/open?id=1h-RmEhi0Oa3r0YZvg7Dsg1MxgrYWdTQ_


<br>
==Buy from ==
==Buy from ==
'''Official Website'''


http://www.keyestudio.com/keyestudio-analog-alcohol-sensor-for-arduino.html
*[https://www.keyestudio.com/free-shipping-keyestudio-mq-3-alcohol-ethanol-sensor-detection-module-for-arduino-p0118.html   '''Official Website''']
 
*[https://www.aliexpress.com/store/product/Free-shipping-Mq-3-alcohol-sensor-alcohol-sensor-module-10-pieces-lot/1452162_2052865304.html?spm=2114.12010612.8148356.9.59aa74983nH3cH  '''Shop on aliexpress''']
 


[[Category: Sensor]]
[[Category: Sensor]]

Revision as of 11:00, 15 April 2019


Introduction

This analog gas sensor - MQ3 is suitable for detecting alcohol. It can be used in a breath analyzer.
It has good selectivity because it has higher sensitivity to alcohol and lower sensitivity to Benzine.
The sensitivity can be adjusted by rotating the potentiometer.

thumb


Specification

  • Power Supply: 5V
  • Interface Type: Analog
  • Quick response and High sensitivity
  • Simple drive circuit
  • Stable and long service life


Connection Diagram


thumb


Sample Code

///Arduino Sample Code
void setup()
{
  Serial.begin(9600); //Set serial baud rate to 9600 bps
}
void loop()
{
int val;
val=analogRead(0);//Read Gas value from analog 0
Serial.println(val,DEC);//Print the value to serial port
delay(100);
}


Result


thumb
Done wiring and powered up, upload well the code, then open the serial monitor and set the baud rate as 9600, you will see the analog value. When detecting the alcohol gas, the value will make a change.

thumb



Resources

  • Video

http://video.keyestudio.com/ks0041/

  • PDF

https://drive.google.com/open?id=1h-RmEhi0Oa3r0YZvg7Dsg1MxgrYWdTQ_



Buy from