Reference: CZAGCO_GS
Brand: GroundStudio
Pick up your orders anytime, hassle-free!
Orders placed by 2:00 PM are shipped the same day. Delivered within 24h!
Reliable products, worry-free!
Unused items? No questions asked!
This liquid level sensor module is a practical solution for detecting the presence or absence of liquid in a container, making it suitable for Arduino projects, automation systems, warning systems, dispensers, small tanks, or laboratory applications. The optical sensor mounted at the end of the cable detects contact with liquid, while the electronic board provides a signal that can be easily read by a microcontroller.
The module includes an adjustment potentiometer, useful for setting the detection threshold, as well as connection pins for quick integration into projects. Thanks to the extension cable, the sensor can be mounted separately from the control board, making installation easier in enclosures, containers, or compact systems.
It is ideal for DIY projects, educational prototypes, water level monitoring, dry-run protection, or simple alarm systems.
Example connection to Arduino UNO:
Sample code:
const int sensorPin = 2;
const int ledPin = 13;
void setup() {
pinMode(sensorPin, INPUT);
pinMode(ledPin, OUTPUT);
Serial.begin(9600);
}
void loop() {
int sensorState = digitalRead(sensorPin);
if (sensorState == HIGH) {
Serial.println("Liquid detected");
digitalWrite(ledPin, HIGH);
} else {
Serial.println("Liquid not detected");
digitalWrite(ledPin, LOW);
}
delay(500);
}
Note: depending on the potentiometer adjustment and the module type, the output logic may be reversed. If the displayed messages are opposite to the real situation, swap the HIGH condition with LOW in the code.
Your review appreciation cannot be sent
Report comment
Report sent
Your report cannot be sent
Write your review
Review sent
Your review cannot be sent
Reference: CZAGCO_GS
Brand: GroundStudio
Reference: OGVWKS_ADS1015
Reference: RKHRSU_Microphone-module
check_circle
check_circle