Water Level Switch (Liquid sensor with a float ball)
search
  • Water Level Switch (Liquid sensor with a float ball)
  • Water Level Switch (Liquid sensor with a float ball)
  • Water Level Switch (Liquid sensor with a float ball)

Water Level Switch (Liquid sensor with a float ball)

7,00 €
TTC

Water Level Switch Liquid Sensor Float Switch Plastic Ball

Quantité

Features

  • 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() {
Serial.begin(9600);
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");
}
delay(1000);
}

SENFLYSSF
8 Produits
Nouveau