Main Content

Hello world! Today i made a Water Level Monitor with arduino and the HC-SR04. It is a pretty basic example on what you can do with the HC-SR04 Ultrasonic Sensor and shows you the centimeters that are left to fill the Water Tank. You can simply change the code and put if statements for certain values to trigger actions when the Water Tank is running out of water, like filling it and stop filling it automatically with a solenoid valve for example by using a relay. Follow the next step for the code Schematic & parts list.”

Link to article