Component guide · Beginner · 5 min read
Float Level Switch (Small Vertical, Side-Mount and Cable Float)

Wiring and Pump Control
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
A float switch has a float that rises with the liquid and moves a magnet past a reed switch (small floats) or tilts a switch inside the cable float (tank floats). It gives a simple open or closed contact at a set level. Small floats connect straight to an Arduino input; cable floats with high ratings can switch a pump contactor directly. Check whether it is normally open (NO) or normally closed (NC).
Key specs at a glance
- Small floats
- Vertical (P25 to P45) and side-mount reed types, 10 to 50 W ratings
- Cable floats
- Square or round floats, 2 to 15 m cable, up to 250/380 V AC
- Contacts
- NO, NC or changeover (cable floats often have 3 wires)
- Materials
- PP, nylon or stainless; check liquid compatibility
- Controllers
- ST-70AB double-circuit pump controller
- Industrial
- Celduc, Pepperl+Fuchs, TE, Multicomp floats
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1P25 Small Float Level Control Switch Plastic Float Switch – 35mm Cable₹239
Option 2P35 Small Float Level Control Switch Plastic Float Switch – NC Type, 35cm Cable₹98
Option 3P31 Small Float Level Control Switch Plastic Float Switch – NC Type₹106
Option 4P45 Small Float Level Control Switch Plastic Float Switch – 220V AC/DC₹114
Option 5Side Mounted Small Float Level Control Switch Plastic Float Switch 55mm – 300mm Cable₹112
Option 6Float Switch 10M Cable IP68 Waterproof – Square Float Level Sensor₹619
What the Float level switch is
Small reed floats are low-power switches: often 0.5 A or less and 10 to 50 VA. Never put a pump directly through them; switch a relay instead. Turning the float upside down on many vertical types swaps NO and NC.
Cable floats hang on their cable with a weight; the length of free cable sets the difference between on and off levels, which gives natural hysteresis for pump control.
Float level switch pinout
The pins on the Float level switch and what each one does.
| Pin | Function |
|---|---|
| Two wires | Switch contact (NO or NC) |
| Three wires (cable floats) | Common, NO and NC |
| Thread / nut | Mounting through a tank wall or lid |
- Two wires
- Switch contact (NO or NC)
- Three wires (cable floats)
- Common, NO and NC
- Thread / nut
- Mounting through a tank wall or lid
Wiring the Float level switch
Use the internal pull-up and the switch to ground. For mains pumps use the cable float's rated contacts or a contactor, and keep mains wiring to a qualified person.
| Float level switch pin | Arduino Uno | ESP32 |
|---|---|---|
| Float wire 1 | D2 (INPUT_PULLUP) | GPIO 27 (INPUT_PULLUP) |
| Float wire 2 | GND | GND |
- Float wire 1
- Arduino Uno:
- D2 (INPUT_PULLUP)
- ESP32:
- GPIO 27 (INPUT_PULLUP)
- Float wire 2
- Arduino Uno:
- GND
- ESP32:
- GND
Example code
Invert the logic for NC floats. The two floats give a fill band so the pump does not chatter.
const int LOW_F = 2, HIGH_F = 3, PUMP = 7;
bool pumpOn = false;
void setup() {
pinMode(LOW_F, INPUT_PULLUP); pinMode(HIGH_F, INPUT_PULLUP);
pinMode(PUMP, OUTPUT);
}
void loop() {
bool lowWet = digitalRead(LOW_F) == LOW; // closed when float is up (NO type)
bool highWet = digitalRead(HIGH_F) == LOW;
if (!lowWet) pumpOn = true; // tank empty: start filling
if (highWet) pumpOn = false; // tank full: stop
digitalWrite(PUMP, pumpOn);
delay(200);
}Setup and tuning
check NO or NC with a multimeter by lifting the float.
many small floats reverse NO/NC when flipped.
respect voltage and VA limits; use a relay for any motor.
cable floats need free space to swing without catching on pipes.
What you need
Shop this list20 of 20 found in our store · ₹7,109
Generic P25 Small Float Level Control Switch Plastic Float Switch – 35mm Cable: the part this guide coversP25 Small Float Level Control Switch Plastic Float Switch – 35mm Cable₹239
Generic P35 Small Float Level Control Switch Plastic Float Switch – NC Type, 35cm Cable: another version this guide coversP35 Small Float Level Control Switch Plastic Float Switch – NC Type, 35cm Cable₹98
Generic P31 Small Float Level Control Switch Plastic Float Switch – NC Type: another version this guide coversP31 Small Float Level Control Switch Plastic Float Switch – NC Type₹106
Generic P45 Small Float Level Control Switch Plastic Float Switch – 220V AC/DC: another version this guide coversP45 Small Float Level Control Switch Plastic Float Switch – 220V AC/DC₹114
Generic Side Mounted Small Float Level Control Switch Plastic Float Switch 55mm – 300mm Cable: another version this guide coversSide Mounted Small Float Level Control Switch Plastic Float Switch 55mm – 300mm Cable₹112
Generic Float Switch 10M Cable IP68 Waterproof – Square Float Level Sensor: another version this guide coversFloat Switch 10M Cable IP68 Waterproof – Square Float Level Sensor₹619
Generic Float Switch 15m Cable IP68 Waterproof – Square Float Level Sensor: another version this guide coversFloat Switch 15m Cable IP68 Waterproof – Square Float Level Sensor₹679
Generic Float Switch 3M Cable – IP68 Waterproof, 250V/380V AC, Square Float: another version this guide coversFloat Switch 3M Cable – IP68 Waterproof, 250V/380V AC, Square Float₹289
Generic Float Switch Square 5M Level Sensor – 10m Cable, 0.1MPa: another version this guide coversFloat Switch Square 5M Level Sensor – 10m Cable, 0.1MPa₹1,239
Generic Square Float Switch 2M Cable IP68 Waterproof – Pump Tank Level Sensor: another version this guide coversSquare Float Switch 2M Cable IP68 Waterproof – Pump Tank Level Sensor₹239
Generic Square Float Switch 4M Cable – IP68 Plastic Housing: another version this guide coversSquare Float Switch 4M Cable – IP68 Plastic Housing₹399
Generic Square Float Switch for Industrial Pump Tank Sensor – 6m Cable, IP68 Plastic: another version this guide coversSquare Float Switch for Industrial Pump Tank Sensor – 6m Cable, IP68 Plastic₹559
ST-70AB Float Switch Water Level Controller – Double Circuit Pump Control: another version this guide coversST-70AB Float Switch Water Level Controller – Double Circuit Pump Control₹409
Saier SEN-PPI25 Float Level Switch – DC110V, Switch Signal Output: another version this guide coversSaier SEN-PPI25 Float Level Switch – DC110V, Switch Signal Output₹158
Saier SEN-PPI35 Float Level Switch – DC110V, 0.5A, Contact Signal: another version this guide coversSaier SEN-PPI35 Float Level Switch – DC110V, 0.5A, Contact Signal₹239
Saier SEN-PPT34 Float Level Switch – DC110V, Switch Signal Output: another version this guide coversSaier SEN-PPT34 Float Level Switch – DC110V, Switch Signal Output₹170
Saier SEN-PPY85 Float Level Switch – DC200V, Switch Signal Output: another version this guide coversSaier SEN-PPY85 Float Level Switch – DC200V, Switch Signal Output₹359
Saier SEN-SSI45 Float Level Switch – Normally Open Contact: another version this guide coversSaier SEN-SSI45 Float Level Switch – Normally Open Contact₹729
Float Level Switch SEN-PPI110: another version this guide coversFloat Level Switch SEN-PPI110₹242
Generic Anti-Corrosion Water Level Sensor with Ball Float Switch – 110VDC, 40cm Cable: another version this guide coversAnti-Corrosion Water Level Sensor with Ball Float Switch – 110VDC, 40cm Cable₹111
Alternatives and when to choose them
- XKC-Y25 non-contact sensor: detects through the tank wall.
- Liquid level sensors: every level method compared.
- Submersible level transmitter: continuous level.
Common mistakes to avoid
- Running a pump directly through a small reed float.
- Assuming NO when it is NC.
- Cable float tied too short to tilt.
- Float material not suited to the liquid (oil, acid).
Frequently asked questions
NO or NC?
Check with a multimeter; flipping many small floats swaps the function.
Can it switch a 1 HP pump?
Only cable floats rated for it, or through a contactor.
How many do I need?
Two for automatic filling or emptying with a dead band.
Do they work in oil?
Check the float material; PP and stainless suit many oils.
What is the ST-70AB?
A controller that uses two floats to run a pump automatically.
Parts for this guide
- ₹239View
- ₹98View
- ₹106View
- ₹114View
- ₹112View
- ₹619View
- ₹679View
- ₹289View
- ₹1,239View
- ₹239View
- ₹399View
- ₹559View
- ₹409View
- ₹158View
- ₹239View
- ₹170View
- ₹359View
- ₹729View
- ₹242View
- ₹111View
- ₹3,769View
Multicomp Pro MCPLS Series Float Switch, Vertical Miniature, SPST-NO, Polypropylene Body, 130V AC, M8x1.25 Thread, Flying Lead₹1,099View- ₹1,539View
- ₹13,083View
- ₹139View
- ₹359View
- ₹389View
- ₹74View
- ₹220View
- ₹263View
- ₹177View
Projects that use it
Put this into practice: 45 step-by-step builds in our project library use parts from this guide.
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.










