XKC-Y25-V liquid level sensor: specs and pinout
Round, stick-on non-contact liquid level sensor for flat containers and large pipes, with a voltage high/low output. Maker: Shenzhen XingKeChuang (XKC).
Specs
| Spec | Value | Source |
|---|---|---|
| Input voltage | DC 5-12 V version and DC 24 V version (two variants) | source XKC-Y25 Non-contact liquid level sensor, Product parameters (brochure p.13) |
| Output methods | NPN, PNP, V (voltage high / low) or RS485, depending on the version | source XKC-Y25 Non-contact liquid level sensor, Product parameters (brochure p.13) |
| Consumption current | 5 mA | source XKC-Y25 Non-contact liquid level sensor, Product parameters (brochure p.13) |
| Output voltage high / low | High = Vin, low = 0 V (V version) | source XKC-Y25 Non-contact liquid level sensor, Product parameters (brochure p.13) |
| Response time | 500 ms | source XKC-Y25 Non-contact liquid level sensor, Product parameters (brochure p.13) |
| Working temperature | -20 C to 105 C | source XKC-Y25 Non-contact liquid level sensor, Product parameters (brochure p.13) |
| Container wall thickness | 20 mm or less | source XKC-Y25 Non-contact liquid level sensor, Product parameters (brochure p.13) |
| Induction accuracy | +/- 1.5 mm | source XKC-Y25 Non-contact liquid level sensor, Product parameters (brochure p.13) |
| Ingress protection | IP67 | source XKC-Y25 Non-contact liquid level sensor, Product parameters (brochure p.13) |
| Body size | About 28.3 mm diameter (drawing) | source Dimensions drawing (brochure p.13) |
Power
| Value | Source | |
|---|---|---|
| Supply | DC 5-12 V version or DC 24 V version; check which one you have | source XKC-Y25 Non-contact liquid level sensor, Product parameters (brochure p.13) |
| Current | 5 mA | source XKC-Y25 Non-contact liquid level sensor, Product parameters (brochure p.13) |
Pinout
Wire colours and the output wiring come from the maker's brochure page for the XKC-Y25 family; the connector shape is not described there.
| Pin | Function | Voltage | Notes | Source |
|---|---|---|---|---|
| Brown | VCC | DC 5-12 V or DC 24 V by version | Wire colours as drawn in the maker wiring diagram. | source Wiring diagram, high/low signal output (brochure p.13) |
| Yellow | OUT (signal) | High = Vin, low = 0 V | Normally open / normally closed is selected as shown in the diagram. | source Wiring diagram, high/low signal output (brochure p.13) |
| Blue | GND | 0 V | source Wiring diagram, high/low signal output (brochure p.13) |
Build with it
Project ideas for the XKC-Y25-V liquid level sensor. Each link opens Soldr with the prompt filled in; Soldr assigns the pins, checks power and shows how to wire every part.
- Reservoir level display: Use the 5-12 V version on the Uno's 5 V pin: 5 mA draw and a 5 V high level suit a 5 V board. Display only; wall thickness must be 20 mm or less.
- Refill time recorder: The 500 ms response is enough to mark when a tank level changes.
- A plant reservoir level and soil moisture display with an Arduino Nano, an XKC-Y25-V sensor, a capacitive soil moisture sensor and an OLED: Display only, no pump. Both sensors and the Nano run from 5 V; check the soil sensor's own page for its supply range.
Common mistakes
- Powering a 24 V version from 5 V, or a 5-12 V version from 24 V: the maker lists these as separate versions (source)
- Wiring the V output straight to a 3.3 V pin: the high level equals the supply voltage (source)
- Mounting it on a thick wall: container thickness must be 20 mm or less (source)
Not covered by the official source
- The brochure does not say which version (5-12 V or 24 V, V or NPN or PNP output) is supplied; the product name implies a 5 V V-output unit.
- Power supply ripple is printed without a unit in the brochure and is not used.
- Normally-open / normally-closed setting and connector style are not described.
Sources
- link (Shenzhen XingKeChuang (XKC) product brochure PDF from the maker's site)
- Document pages: XKC-Y25 sheet is brochure p.13