Difference between revisions of "Water Level Sensor"
(Created page with "File:Water Level Sensor.JPG ==Parameters== •Work voltage: DC3-5V •Work current: less than 20mA •Sensor type: ADC •Detection area: 40mm x 16mm •Workmanship: FR4 d...") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | With this module, you could easily get water surface level. It is useful in the cases that you need warning if liquid in the holder is less than or over certain amount. More conducting surface of this module in the liquid will conduct more electronic charge. | ||
+ | |||
[[File:Water Level Sensor.JPG]] | [[File:Water Level Sensor.JPG]] | ||
==Parameters== | ==Parameters== | ||
•Work voltage: DC3-5V | •Work voltage: DC3-5V | ||
+ | |||
•Work current: less than 20mA | •Work current: less than 20mA | ||
+ | |||
•Sensor type: ADC | •Sensor type: ADC | ||
+ | |||
•Detection area: 40mm x 16mm | •Detection area: 40mm x 16mm | ||
+ | |||
•Workmanship: FR4 double spray tin | •Workmanship: FR4 double spray tin | ||
+ | |||
•Working temperature:10℃-30℃ | •Working temperature:10℃-30℃ | ||
+ | |||
+ | ==Simple Code== | ||
+ | void setup(){ | ||
+ | |||
+ | Serial.begin(9600); | ||
+ | |||
+ | } | ||
+ | |||
+ | void loop(){ | ||
+ | |||
+ | Serial.print("Water level Sensor Value:"); | ||
+ | |||
+ | Serial.println(analogRead(A5)); | ||
+ | |||
+ | delay(100); | ||
+ | |||
+ | } |
Latest revision as of 06:09, 21 March 2014
With this module, you could easily get water surface level. It is useful in the cases that you need warning if liquid in the holder is less than or over certain amount. More conducting surface of this module in the liquid will conduct more electronic charge.
Parameters
•Work voltage: DC3-5V
•Work current: less than 20mA
•Sensor type: ADC
•Detection area: 40mm x 16mm
•Workmanship: FR4 double spray tin
•Working temperature:10℃-30℃
Simple Code
void setup(){
Serial.begin(9600);
}
void loop(){
Serial.print("Water level Sensor Value:");
Serial.println(analogRead(A5));
delay(100);
}