How do you know when it s empty.
Arduino oil tank level sensor.
If you have a fuel or water tank that is either metal or colored plastic you may have run into the same problem i had.
This arduino water level indicator uses an ultrasonic sensor or ping sensor to determine the level of water in the tank.
Leave a comment below if you have any doubts or queries.
Just solved 3 the sensor must be very well placed above the water or ground if you are testing.
Download circuit diagram and programming.
Fuel tank level gauging.
The sensing unit usually uses a float connected to a potentiometer typically printed ink design in a modern automobile.
The ping sensor measures distance using sonar.
Support this channel on patreon.
An ultrasonic well above human hearing pulse is transmitted from the unit and distance to target is determined by measuring the time required for the echo return.
Now your lcd screen or serial console should be showing the water level.
Finally we have completed the water level sensor arduino tutorial.
My tank looks like the one in the photo.
If the level in side the sump tank is low the motor will not be switched on and this protects the motor from dry running.
1 correct me if i am wrong but i should place the sensor 20cm above my tank maximum level.
A beep sound is generated when the level in the sump tank is low or if there is any fault with the sensors.
2 i put const int area1 10000 for my 1 tone square tank and i got the results i need.
We hope you found this project useful.
Oil tank level control.