Water Level Sensor (Float) Switch

£5.99 £4.99

A water level float switch is a type of sensor used to detect and monitor the level of liquid within a tank, container, or reservoir. It operates on a simple and reliable principle, using a buoyant float that rises and falls with the liquid level. The float is attached to a switch mechanism that triggers an electrical response when the liquid level reaches a certain point.

Here's how it works:

Float Component: The water level float switch consists of a buoyant float that is typically made of a lightweight and water-resistant material such as plastic or foam. This float is designed to move up and down with the changing liquid level.

Switch Mechanism: Connected to the float, there is a switch mechanism. When the liquid level is below the desired point, the float remains at the bottom, and the switch is in an open position. As the liquid level rises and lifts the float, the switch is activated and closed.

Electrical Response: The switch's closure or opening triggers an electrical response. This could be used to activate or deactivate a pump to maintain a specific liquid level, turn on an indicator or alarm to signal high or low levels, or interface with a microcontroller or PLC (Programmable Logic Controller) for further automation and control.


Using a water float switch with Raspberry Pi and Arduino opens up a range of possibilities for water level monitoring and control in various projects. Both the Raspberry Pi and Arduino are popular microcontroller platforms that can easily interface with the water float switch to sense and respond to changes in liquid levels. Here's how you can utilize the water float switch with each platform:

  1. Raspberry Pi:

    • GPIO Interface: Raspberry Pi has General Purpose Input/Output (GPIO) pins that can be used to read the state of the water float switch. Connect the two wires of the float switch to two GPIO pins (e.g., one for ground and the other for input) on the Raspberry Pi.

    • Python Programming: Use Python to program the Raspberry Pi and read the GPIO input to detect the state of the float switch. You can set up your Raspberry Pi to monitor the liquid level continuously and take actions accordingly. For example, you can trigger an alarm, send notifications, or even control pumps to maintain a desired water level.

  2. Arduino:

    • Digital or Analog Input: Arduino can handle both digital and analog input. The water float switch typically acts as a digital sensor, providing either an ON (high) or OFF (low) state. Connect the two wires of the float switch to a digital pin of the Arduino.

    • Arduino IDE: Program the Arduino using the Arduino IDE and use digitalRead() to read the state of the connected pin. Based on the input, you can implement various actions or reactions using digitalWrite() to control other components, such as LEDs, pumps, or displays.

      • Simple to use water level sensor
      • Dry contact output, act like a switch, or reed switch.
      • Fully conceal, submerge-able
      • Liquid or water level detector
      • Model No. : ZP4510
      • Max Contact Rating : 10W
      • Max Switching Voltage : 220V DC/AC*
      • Max Switching Current : 0.5A
      • Max Breakdown Voltage : 300V DC/AC*
      • Max Carry Current : 1A Max Contact
      • Resistance : 100m ohm
      • Temperature Rating : -10 / +85 Celsuis
      • Float Ball Material : P.P
      • Float Body Material : P.P
      • Thread Dia(Approx) : 9.5mm / 0.374"
      • Switch Body Size : 23.3 x 57.7mm / 0.9" x 2.27"(Max D*H)
      • Cable Length : 36cm / 14.2"
      • Color : bluish white
      • Net Weight : 70g
      • Mounting hole size: 10mm

* Caution: When using an AC (Alternating Current) electrical circuit in conjunction with a float switch, extreme care must be taken to ensure electrical safety. Mishandling can lead to electric shock, fires, or damage to equipment. Only qualified personnel should handle AC electrical connections. Ensure the float switch is appropriately rated for AC voltage and adheres to safety standards. Regularly inspect all components for signs of wear or damage. Before maintenance, disconnect power at the source. Never expose the internal switch contacts directly to water. Overloading circuits may cause overheating. Failure to follow these precautions may result in serious injury, death, and/or property damage.