Ks0203 keyestudio Vapor Sensor: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
==keyestudio Vapor Sensor==


<br>
==Introduction==
Steam sensor is an analog sensor and can be made as a simple rainwater detector and liquid level switch. When humidity on the face of this sensor rises, output voltage will increase.<br>
<br>[[File:2031.png|500px|frameless|thumb]]<br>  
<br>[[File:2031.png|500px|frameless|thumb]]<br>  
<br>
<span style=color:red> '''Caution:''' connection parts is non-waterproof, so please don’t put them into water. <br>


==Introduction==
<br>
 
Vapor Sensor is an analog sensor and can make a simple rainwater detector and liquid level switch. When humidity on the face of this sensor rises, output voltage will increase.
 
Caution: connection parts is non-waterproof, so please don’t put them into water.
 
==Performance Parameters==
==Performance Parameters==
* 1.Working Voltage: 3.3V or 5V<br>
* 2.Working Current: <20mA <br>
* 3.Range of Working Temperature: -10℃~+70℃ <br>
* 4.Interface Type: Analog Signal Output <br>


1.Working Voltage: 3.3V or 5V<br>
<br>  
2.Working Current: <20mA<br>
'''Pin Definition:''' <br>
3.Range of Working Temperature: -10℃~+70℃<br>
* '''S:'''Signal Output <br>
4.Interface Type: Analog Signal Output<br>
* '''+:'''Power Supply(VCC) <br>
5.Size: 36mm x 20mm<br>
* '''-:'''Ground(GND) <br>
6.Weight:<br>
 
Pin Definition:<br>
S:Signal Output<br>
+:Power Supply(VCC)<br>
-:Ground(GND <br>


<br>
==Connection Diagram==
==Connection Diagram==
<br>[[File:2032.png|500px|frameless|thumb]]<br>  
<br>[[File:2032.png|500px|frameless|thumb]]<br>  


==Codes==
<br>
==Code==


<pre>
<pre>
Line 44: Line 42:
</pre>
</pre>


<br>
==Result==
==Result==
When detecting different degrees of humidity, the sensor will get the feedback of different current value. Shown as the following picture. When the sensor detects the steam of boiled water, the moisture value is displayed on serial monitor of Arduino software.<br>
<br>[[File:203.jpg|600px|frameless|thumb]]<br>


When you detect different degree of humidity, the sensor feedback current value. Shown as following picture, the value is displayed on serial port, when the sensor detects boiled.


<br>[[File:203.jpg|500px|frameless|thumb]]<br>
<br>


==Resources ==
==Resources ==


'''Datasheet'''
* '''PDF'''<br>
https://drive.google.com/open?id=1glPchvxswGz0Hp5aE8jHcY-Evy9njiC9
 
* '''Code'''<br>
https://drive.google.com/open?id=1yoMHjMuH80Q5rN2gJIei8CknJd9xTG0v


http://www.keyestudio.com/files/index/download/id/1479182314/


'''Video:'''<br>
<br>
http://www.keyestudio.com/wp/ks0203/


==Buy from==
==Buy from==


http://www.keyestudio.com/ks0203.html
*[https://www.keyestudio.com/2016-new-keyestudio-vapor-sensor-for-arduino-p0401-p0401.html   '''Official Website''']
 
*[https://www.aliexpress.com/store/product/2016-NEW-keyestudio-Vapor-Sensor-for-Arduino/1452162_32715343371.html?spm=2114.12010612.8148356.51.414d2462xBSZ7J    '''Shop on aliexpress''' ]




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

Latest revision as of 10:23, 19 April 2019


Introduction

Steam sensor is an analog sensor and can be made as a simple rainwater detector and liquid level switch. When humidity on the face of this sensor rises, output voltage will increase.

thumb

Caution: connection parts is non-waterproof, so please don’t put them into water.


Performance Parameters

  • 1.Working Voltage: 3.3V or 5V
  • 2.Working Current: <20mA
  • 3.Range of Working Temperature: -10℃~+70℃
  • 4.Interface Type: Analog Signal Output


Pin Definition:

  • S:Signal Output
  • +:Power Supply(VCC)
  • -:Ground(GND)


Connection Diagram


thumb


Code

void setup()
{
Serial.begin(9600); //open serial port, and set baud rate at 9600bps
}
void loop()
{
int val;
val=analogRead(0); //plug vapor sensor into analog port 0
Serial.print("Moisture is ");
Serial.println(val,DEC); //read analog value through serial port printed
delay(100);
}


Result

When detecting different degrees of humidity, the sensor will get the feedback of different current value. Shown as the following picture. When the sensor detects the steam of boiled water, the moisture value is displayed on serial monitor of Arduino software.

thumb



Resources

  • PDF

https://drive.google.com/open?id=1glPchvxswGz0Hp5aE8jHcY-Evy9njiC9

  • Code

https://drive.google.com/open?id=1yoMHjMuH80Q5rN2gJIei8CknJd9xTG0v



Buy from