Water Level Sensor [S028] 



https://www.youtube.com/watch?v=6MSdCu5QRZk


*GitHub https://github.com/rdiot/rdiot-s028.git


* Specs

Product Name: water level sensor

Operating voltage: DC3-5V

Operating current: less than 20mA

Sensor Type: Analog

Detection Area: 40mmx16mm

Production process: FR4 double-sided HASL

Operating temperature:10℃-30℃

Humidity: 10% -90% non-condensing

Product Dimensions: 62mmx20mmx8mm


* Content

- Connect

- ----- GND

+ ----- 5V

S ----- A0


+ --P220--- D13

- ----- GND


- Key Code

val = analogRead(analogPin); 

if (val > 650)                 

{                               

      digitalWrite(led, HIGH);   // LED ON

}

else

{

      digitalWrite(led, LOW);    // LED OFF

}

'2) Sensor > Water' 카테고리의 다른 글

G1/2 Water Flow Sensor (SEN-HZ21WA) [S135]  (0) 2016.09.07
Water Level Sensor v1.0 [S094]  (0) 2016.09.07
Raindrops Detection Sensor Modue (FC-37) [S072]  (0) 2016.09.07
Posted by RDIoT
|