Water Level Switch (Liquid sensor with a float ball)

5,83 €

Water Level Switch Liquid Sensor Float Switch Plastic Ball


  • Made of high-quality material.
  • Mainly used to detect the level of liquid in a tank to turn on / off a pump, indicator, alarm, or another device.
  • Optional 2-way to install as a normally closed/open switch according to your needs.
  • Suitable for hydroponics, salt water, fresh water, gardening, power control aquariums.

int FloatSensor = 2;
int led = 13;
int buttonState = 1; //reads pushbutton status

void setup() {
pinMode(FloatSensor, INPUT_PULLUP);
pinMode (led, OUTPUT);
void loop() {
buttonState = digitalRead(FloatSensor);
if (buttonState == HIGH) {
digitalWrite(led, LOW);
Serial.println("WATER LEVEL - LOW");
else {
digitalWrite(led, HIGH);
Serial.println("WATER LEVEL - HIGH");

8 Produits
Nouveau produit
No reviews

Les clients qui ont acheté ce produit ont également acheté...

Product added to wishlist
Product added to compare.