Ks0203 keyestudio Vapor Sensor: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
(Created page with "==keyestudio Vapor Sensor== <br>500px|frameless|thumb<br> ==Introduction== Vapor Sensor is an analog sensor and can make a simple rainwater detector and...")
 
No edit summary
Line 49: Line 49:


<br>[[File:2033.png|500px|frameless|thumb]]<br>  
<br>[[File:2033.png|500px|frameless|thumb]]<br>  
==Resources ==
'''Datasheet'''
http://www.keyestudio.com/files/index/download/id/1479182314/
==Buy from==
http://www.keyestudio.com/keyestudio-vapor-sensor.html
[[Category: Sensor]]
[[Category: Sensor]]

Revision as of 12:00, 28 November 2016

keyestudio Vapor Sensor


thumb

Introduction

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

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

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

Connection Diagram


thumb

Codes

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 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.


thumb

Resources

Datasheet

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

Buy from

http://www.keyestudio.com/keyestudio-vapor-sensor.html