This arduino water level indicator uses an ultrasonic sensor or ping sensor to determine the level of water in the tank.
Water tank depth sensor arduino.
When water has been pumped into the tank up to the point that thesensor measures a distance of 14cm the red led comes on again as water keeps filling up the tank and gets to the point the sensor measures 8cm the blue led comes on finally when water gets close to the brim of the tank where the sensor measures a distance 3cm the white led.
The arduino then reads the output of the transducer and reports the depth of the tank.
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.
In this project we will use a wishield that provides wifi network connectivity to report the current water level using a web interface.
The ping sensor measures distance using sonar.
Theoretically when the sensor is not in the water the measured value at the sensor pin is approx 1 0855 v which would be equivalent to 1347 bits.
Water tank depth sensor weather station receiver rfid access control system vehicle telemetry platform resources.
Chapter 12 water tank depth sensor voltage across the transducer outputs on the extreme left of the circuit cause much larger voltage variations at the output on the far right where it will be connected to an arduino analog input.
The deviation with the graph can be explained with tolerances of the resistors the resistance in the sensor wire deviations in the 3 3 volt supply of the esp 32 and some non linearities in the 12.
The arduino then reads the output of the transducer and reports the depth of the tank.
Download learn arduino sensor with projects for beginners by james conner.