Non-contact_Liquid_Level_Sensor_XKC-Y25-T12V_SKU__ ...
- HOME
- COMMUNITY
- FORUM
- BLOG
- LEARN
HOMECOMMUNITYFORUMBLOGLEARN - DFRobot Products (DFR) Index
- Sensor (SEN) Index
- SEN0311 A02YYUW Waterproof Ultrasonic Sensor
- SEN0307 URM09 Ultrasonic Sensor Gravity Analog
- SEN0305 HUSKYLENS AI Machine Vision Sensor
- SEN0304 URM09 Ultrasonic Sensor (Gravity-I2C) (V1.0)
- SEN0289 Gravity: Digital Shake Sensor
- SEN0264 TS01 IR Thermal Sensor (4-20mA)
- SEN0262 Gravity Analog Current to Voltage Converter (4~20mA)
- SEN0259 TF Mini LiDAR ToF Laser Range Sensor
- SEN0257 Gravity Water Pressure Sensor
- SEN0253 Gravity BNO055 + BMP280 intelligent 10DOF AHRS
- SEN0251 Gravity BMP280 Barometric Pressure Sensors
- SEN0250 Gravity BMI160 6-Axis Inertial Motion Sensor
- SEN0249 Gravity Analog Spear Tip pH Sensor Meter Kit For Soil And Food Applications
- SEN0248 Gravity I2C BME680 Environmental Sensor VOC, Temperature, Humidity, Barometer
- SEN0246 URM08-RS485 Waterproof Sonar Range Finder
- SEN0245 Gravity VL53L0X ToF Laser Range Finder
- SEN0244 Gravity Analog TDS Sensor Meter For Arduino
- SEN0240 Analog EMG Sensor by OYMotion
- SEN0237 Gravity Analog Dissolved Oxygen Sensor
- SEN0235 EC11 Rotary Encoder Module
- SEN0236 Gravity I2C BME280 Environmental Sensor Temperature, Humidity, Barometer
- SEN0232 Gravity Analog Sound Level Meter
- SEN0231 Gravity HCHO Sensor
- SEN0230 Incremental Photoelectric Rotary Encoder - 400P R
- SEN0228 Gravity I2C VEML7700 Ambient Light Sensor
- SEN0227 SHT20 I2C Temperature & Humidity Sensor Waterproof Probe
- SEN0226 Gravity I2C BMP280 Barometer Sensor
- SEN0224 Gravity I2C Triple Axis Accelerometer - LIS2DH
- SEN0223 Conductivity Switch Sensor
- SEN0221 Gravity Hall Angle Sensor
- SEN0220 Infrared CO2 Sensor 0-50000ppm
- SEN0219 Gravity Infrared CO2 Sensor For Arduino
- SEN0214 20A Current Sensor
- SEN0213 Heart Rate Monitor Sensor
- SEN0212 TCS34725 I2C Color Sensor For Arduino
- SEN0206 IR Thermometer Sensor MLX90614
- SEN0205 Liquid Level Sensor-FS-IR02
- SEN0204 Non-contact Liquid Level Sensor XKC-Y25-T12V
- SEN0203 Heart Rate Sensor
- SEN0197 Voice Recorder-ISD1820
- SEN0192 MicroWave Sensor
- SEN0187 RGB and Gesture Sensor
- SEN0186 Weather Station with Anemometer Wind vane Rain bucket
- SEN0185 Hall sensor
- SEN0178 Triple Axis Accelerometer FXLN83XX Series
- SEN0177 PM2.5 laser dust sensor
- SEN0175 UV Sensor v1.0-ML8511
- SEN0172 LX1972 ambient light sensor
- SEN0170 Wind Speed Sensor Voltage Type 0-5V
- SEN0169 Analog pH Meter Pro
- SEN0165 Analog ORP Meter
- SEN0161-V2 Gravity Analog pH Sensor Meter Kit V2
- SEN0161 PH meter
- SEN0160 Weight Sensor Module
- SEN0159 CO2 Sensor
- SEN0153 URM07-UART Ultrasonic Sensor
- SEN0152 URM06-ANALOG Ultrasonic
- SEN0151 URM06-PULSE Ultrasonic
- SEN0150 URM06-UART Ultrasonic
- SEN0149 URM06-RS485 Ultrasonic
- SEN0147 Smart Grayscale sensor
- SEN0143 SHARP GP2Y0A41SK0F IR ranger sensor 4-30cm
- SEN0140 10 DOF Mems IMU Sensor V2.0
- SEN0137 DHT22 Temperature and humidity module
- SEN0132 Carbon Monoxide Gas Sensor MQ7
- SEN0121 Steam Sensor
- SEN0114 Moisture Sensor
- SEN0101 TCS3200 Color Sensor
- SEN0097 Light Sensor
- SEN0085 Sharp GP2Y0A710K Distance Sensor 100-550cm
- SEN0073 9 Degrees of Freedom - Razor IMU
- SEN0072 CMPS09 - Tilt Compensated Magnetic Compass
- SEN0043 TEMT6000 ambient light sensor
- SEN0042 DFRobot Infrared sensor breakout
- SEN0038 Wheel Encoders for DFRobot 3PA and 4WD Rovers
- SEN0032 Triple Axis Accelerometer Breakout - ADXL345
- SEN0019 Adjustable Infrared Sensor Switch
- SEN0018 Digital Infrared motion sensor
- SEN0017 Line Tracking Sensor for Arduino V4
- SEN0014 Sharp GP2Y0A21 Distance Sensor 10-80cm
- SEN0013 Sharp GP2Y0A02YK IR ranger sensor 150cm
- SEN0008 SRF10 Ultrasonic sensor
- SEN0007 SRF08 Ultrasonic Sensor
- SEN0006 SRF05 Ultrasonic sensor
- SEN0005 SRF02 Ultrasonic sensor
- SEN0004 SRF01 Ultrasonic sensor
- SEN0002 URM04 V2.0
- SEN0001 URM37 V5.0 Ultrasonic Sensor
- Telecom Module (TEL) Index
- Motor Driver (DRI) Index
- Fitting (FIT) Index
- Robot (ROB) Index
- micro:bit (MBT) Index
- Kit (KIT) Index
- Toy (TOY) Index
- Servos (SER) Index
- What is XX series
- How to select series
- How it works series
- PinPong Library
- Introduction
- Specification
- Board Overview(V1.0)
- Board Overview(V2.0) Pin definition of liquid level sensorPin definition of adapter boardV2.0 version sensitivity adjustment method description
- Tutorial Touble ShootingRequirementsConnection DiagramSample CodeExpected Results
- FAQ
- More Documents

Introduction
The non-contact liquid level sensor utilizes advanced signal processing technology by using a powerful chip with high-speed operation capacity to achieve non-contact liquid level detection. Without contacting with a liquid, the module suitable for hazardous applications such as detecting toxic substances, strong acid, strong alkali and all kinds of liquid in an airtight container under high pressure. There are no special requirements for the liquid or container and the sensor is easy to use and easy to install. The liquid level sensor is equipped with an interface adapter that makes it compatible with DFRobot "Gravity" interface. There are 4 levels of sensitivity which are set by pressing the SET button.
Specification
- Operating Voltage (InVCC) : DC 5 ~ 24 v
- Current consumption: 5 mA
- Output voltage (high level) : InVCC
- Output voltage (low level) : 0V
- Output current: 1 ~ 50 mA
- Response time: 500 ms
- Operating Temperature : 0 ~ 105 ℃
- Range for thickness of induction (sensitivity): 0 ~ 13 mm
- Humidity: 5% ~ 100%
- Material: ABS.
- Waterproof performance: IP67
- Dimension : 28 * 28 mm / 1.1 * 1.1 inches
Board Overview(V1.0)
Board Overview(V2.0)
Pin definition of liquid level sensor
| Number | Name | Function description |
|---|---|---|
| 1 (brown) | VCC | Liquid level sensor power supply positive pole, range +5V~+24V |
| 2 (yellow) | OUT | Liquid level sensor liquid level signal output |
| 3 (blue) | GND | Liquid level sensor power supply negative pole |
| 4 (black) | ADJ | NULL |
Pin definition of adapter board
| Number | Name | Function description |
|---|---|---|
| Left 1 | VCC | Liquid level sensor power supply positive pole |
| Left 2 | IN | Liquid level sensor liquid level signal input |
| Left 3 | GND | Liquid level sensor power supply negative pole |
| Left 4 | ADJ | NULL |
| Right 1 | OUT | Liquid level signal output |
| Right 2 | VCC | Positive power supply |
| Right 3 | GND | Negative power supply |
V2.0 version sensitivity adjustment method description
If the detected liquid level cannot be detected or there is a deviation from the sensor distance, open the sensor back cover and use a small screwdriver to adjust the sensitivity knob.
- Turn counterclockwise to increase sensitivity.
- Turn clockwise to decrease sensitivity.
Tutorial
Touble Shooting
| Symptom | Possible Cause | Solution |
| No reaction when powered on(the indicator keeps off when the liquid level reached the induction point, no reaction when adjusting sensitivity) | 1.Power connection problem | Check and connect the power supply properly |
| 2.The negative and positive are disconnected | Connect the power properly | |
| 3.Power module is damaged | Change the power module | |
| 4.Sensitivity is too low | Increase the sensitivity | |
| The indicator always keeps on | 1.Sensitivity is too high | Decrease the sensitivity |
| 2.There are impurities in the inductor, or other metal objects near the inductor | Clean the inductor, and keep it away from other metal objects | |
| 3.The liquid container is not insulative completely | Change the container or drill mount holes on the container to install the inductor |
Requirements
- Hardware
- Arduino UNO x1
- Liquid level sensor x1
- Software
- Arduino IDE V1.6.5 Click to Download Arduino IDE from Arduino®
Connection Diagram
Sample Code
/*! * @file SEN0204.ino * @brief This example is to get liquid level. (Liquid Level Sensor-XKC-Y25-T12V) * @copyright Copyright (c) 2010 DFRobot Co.Ltd (http://www.dfrobot.com) * @license The MIT License (MIT) * @author jackli([email protected]) * @version V1.0 * @date 2016-1-30 */ int liquidLevel = 0; void setup() { Serial.begin(9600); pinMode(5, INPUT); } void loop() { liquidLevel = digitalRead(5); Serial.print("liquidLevel= "); Serial.println(liquidLevel, DEC); delay(500); }Expected Results
If the liquid level sensor detects the presence of liquid, it will output HIGH and turn the LED ON. If no liquid is detected it output LOW and turn the LED off.
FAQ
| Q&A | Some general Arduino Problems/FAQ/Tips |
|---|---|
| Q | What is the sensor working principle? |
| A | Its working principle is to use the water sensing capacitor to detect whether liquid is present. In the absence of liquid near the sensor, there will be a presence of distributed capacitance, and therefore there are some certain static capacitance to ground on the sensor. When the liquid level slowly increases close to the sensor, the parasitic capacitance of the liquid will be coupled to the static capacitance so that the final capacitance value of the sensor becomes larger and the changed capacitance signal is then input to the control IC for signal conversion,. Then converting the changed capacitance into the amount of change in the electrical signal. Lastly, by using a certain algorithm to detect and judge the degree of this chang we can determine when the amount of change exceeds a certain threshold that means the liquid level to reach the induction point. |
| A | For any questions, advice or cool ideas to share, please visit the DFRobot Forum. |
More Documents
-
Schematic
-
SVG files
Từ khóa » Xkc Y25 T12v Pnp
-
Xkc-y25-v T12v Xkc-y25-pnp Xkc-y25-npn 5v 12v 24v Water Liquid ...
-
XKC Y25 T12V PNP Liquid Level Sensor Switch ... - AliExpress
-
[PDF] XKC Y25 T12V - Naylamp Mechatronics
-
Xkc Y25 T12v Non Contact Liquid Level Switch Stick Type Durable Water ...
-
DC 5V-24V XKC Y25 T12V Non Contact Liquid ... - Shopee Singapore
-
XKC Y25 T12V PNP Liquid Level Sensor Switch Detector ... - Alitools
-
XKC Y25 T12V PNP Liquid Level Sensor Switch Detector ... - EBay
-
XKC-Y25-PNP Waterproof Non-Contact Liquid Level Sensor Switch ...
-
Dc 5v-24v Xkc Y25 T12v Non Contact Liquid Level Sensor Switch ...
-
DF Robot Non-Contact Liquid Level Sensor XKC-Y25-T12V User ...
-
[PDF] Non‐contact Liquid Level Sensor XKC‐Y25‐T12V SKU: SEN0204
-
[PDF] Introduction Specification
-
XKC-Y25-PNP Non-Contact Liquid Capacitive Level Sensor