XKC-Y25-V non-contact liquid level sensor
Capacitive liquid-level switch that senses water through the wall of a non-metallic container. The V type has a high/low level output: with the black wire left floating, it goes high (to the supply voltage) when it detects liquid and low when it doesn't. It comes in V, NPN, PNP and RS485 versions, so on AliExpress pick the V option. DFRobot sells it as SEN0204, the Gravity non-contact liquid level sensor. DFRobot's wiki says the current V2.0 package is a Y25-V sensor plus an XKC-Y25-T12V adapter board and a 3-pin Gravity cable, which you don't need for this build. It is one sensor per pack, and DFRobot rates the wall at 0–13 mm.
Specifications
| Supply | DC 5–24 V |
| Current | ≤ 5 mA |
| Wall thickness | up to 20 mm (non-metallic) |
| Response | 500 ms |
| Accuracy | ±1.5 mm |
| Rating | IP67 |
| Wires | Brown +V, Blue GND, Yellow signal, Black COM (floating: high on liquid; to GND: reversed) |
Projects Using XKC-Y25-V non-contact liquid level sensor1

Heads up: some Buy links are affiliate links. If you buy through one, MCU Atlas may earn a small commission at no extra cost to you. It never changes which parts we list. How this works
Check the store for current price and stock.


