# 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).

[HTML version](https://soldr.ai/docs/components/xkc-y25-v)

[Docs](https://soldr.ai/docs) / [Components](https://soldr.ai/docs/components)

Round, stick-on non-contact liquid level sensor for flat containers and large pipes, with a voltage high/low output. Maker: Shenzhen XingKeChuang (XKC).

Every value cites its sourceOfficial pinout

[Buy on Compoden](https://compoden.com/products/xkc-y25-v-non-contact-liquid-level-sensor-5v-digital-output)

## 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&#x27;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](https://app.soldr.ai/?prompt=I%20want%20to%20build%20a%20reservoir%20level%20display%20with%20an%20Arduino%20Uno%2C%20an%20XKC-Y25-V%20sensor%20stuck%20on%20a%20plastic%20tank%20and%20a%2016x2%20LCD): Use the 5-12 V version on the Uno&#x27;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](https://app.soldr.ai/?prompt=I%20want%20to%20build%20a%20refill%20time%20recorder%20with%20an%20Arduino%20Uno%2C%20an%20XKC-Y25-V%20sensor%20and%20a%20DS3231%20clock%20module%20that%20prints%20the%20time%20to%20the%20serial%20monitor): 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](https://app.soldr.ai/?prompt=I%20want%20to%20build%20a%20plant%20reservoir%20level%20and%20soil%20moisture%20display%20with%20an%20Arduino%20Nano%2C%20an%20XKC-Y25-V%20sensor%2C%20a%20capacitive%20soil%20moisture%20sensor%20and%20an%20OLED): Display only, no pump. Both sensors and the Nano run from 5 V; check the soil sensor&#x27;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](http://www.xkc-sensor.com/phoenix/admin/download?fileId=qRAfLzqpcJsO&dp=GvUApKfKKUAU))
- Wiring the V output straight to a 3.3 V pin: the high level equals the supply voltage ([source](http://www.xkc-sensor.com/phoenix/admin/download?fileId=qRAfLzqpcJsO&dp=GvUApKfKKUAU))
- Mounting it on a thick wall: container thickness must be 20 mm or less ([source](http://www.xkc-sensor.com/phoenix/admin/download?fileId=qRAfLzqpcJsO&dp=GvUApKfKKUAU))

## 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](http://www.xkc-sensor.com/phoenix/admin/download?fileId=qRAfLzqpcJsO&dp=GvUApKfKKUAU) (Shenzhen XingKeChuang (XKC) product brochure PDF from the maker&#x27;s site)
- Document pages: XKC-Y25 sheet is brochure p.13
