(SKU:RB-02S048)Water Sensor

From ALSRobot-Wki
Jump to: navigation, search


Fgn1.jpg

Contents

Product overview

Liquid (water) sensor was developed by Harbin the loose robot technology co., LTD., a simple and easy to use, small and light, high ratio of water/water identification detection sensor, which is exposed through a series of parallel wire line mark to measure the water droplets/size to determine water level. Easy to complete the water to the conversion of the analog signal, the output of simulation value can directly be used in program function, achieve the effect of water level alarm, low power consumption, the sensitivity is the another big characteristic. With 328, 2560, Leonardo controller can be directly inserted from sensors such as extended board application, the effect is more obvious.

specification

  1. Working voltage:DC5V
  2. Working current:<20mA
  3. Sensor types: simulation
  4. Detection area:40mm x 16mm
  5. Production process: FR4 double-sided tin
  6. Fixed orifice size:3.2mm
  7. Humanization design: half moon cave antiskid processing
  8. Working temperature:10℃-30℃
  9. Working humidity:10%-90% No condensation
  10. product weight:3g
  11. Product size:65mm x 20mm x 8mm

Method of use

Pin definition

  • S:Signal output
  • VCC:+
  • GND:-

Connection here

By 3 p sensor cable plug received Carduino UNO R3 controller board using special sensor extension

Application of routine

We use the Arduino controller to do the test, need to use hardware equipment as follows:

  1. Arduino controller×1
  2. Arduino Sensor extension plate×1
  3. Water Sensor module×1
  4. 3P sensor cable×2
  5. IR& LED Mod ue(red)×1
  6. USB Data communication line×1

Using dupont line will Water Sensor is connected to the Arduino Sensor extension board interface A1. Using sensors line connect red man-eating fish lamp to Arduino sensor D12 extension plate. After completing the hardware connection, download the compiled code to the Arduino.

sample code

int analogPin = 1;                            
int led = 12;                                 
int val = 0;                                 
int data = 0;                                 
void setup() 
{ 
pinMode(led, OUTPUT);                  
Serial.begin(9600);                       
}
void loop() 
{ 
val = analogRead(analogPin);             
if( val>700){                            
digitalWrite(led,HIGH);     
} 
else{ 
digitalWrite(led,LOW);     
} 
data = val;                                  
Serial.println(data);                          
delay(100);
} 

Application effect

In the above step is completed, we test using a water level, look at the experimental phenomena:

Fgn2.jpg
Fgn3.jpg

Note: due to the different experimental conditions, so in the process of your experiment may need to adjust the parameters of Val scope to implement routines in the phenomenon

Products related to recommend

Buy address:[1]

Personal tools
Namespaces

Variants
Actions
Navigation
Tools