Ks0203 keyestudio Steam Sensor: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
<br>  
<br>  
==Introduction==
==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>
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>[[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>  
<span style=color:red> '''Caution:''' connection parts is non-waterproof, so please don’t put them into water. <br>  


Line 26: Line 26:
<br>  
<br>  
==Code==
==Code==
<pre>
<pre>
void setup()
void setup()
Line 44: Line 43:
<br>  
<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>
When detecting different degrees of humidity, the sensor will get the feedback of different current value. Shown as the following picture. <br>
<br>[[File:203.jpg|500px|frameless|thumb]]<br>
When the sensor detects the steam of boiled water, the moisture value is displayed on serial monitor of Arduino software.  
<br>[[File:203.jpg|700px|frameless|thumb]]<br>




<br>  
<br>
 
==Resources ==
==Resources ==


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




<br>  
<br>
 
==Buy from==
==Buy from==



Latest revision as of 14:26, 7 January 2021


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

  • Code

https://fs.keyestudio.com/KS0203



Buy from