water level circuit

Posted on Feb 7, 2014

There are situations in home automation applications where you would like to measure the level of some body of water (e. g. pool, pond). The 1-Wire network makes it easy to interface sensors to a PC or simple controller. Some experimenters use a string of capacitors and a timer to measure water depth. I decided to use a simple optical approach. The

water level circuit
Click here to download the full size of the above Circuit.

idea is very simple. A pin-pong ball floats on top of the water in the pipe. An infrared triangulation sensor outputs a non-linear voltage corresponding to the distance to the ping-pong ball. The prototype system can measure level changes of up to 24cm with a resolution of around 1cm. This range / resolution can be changed by using different infrared sensors. A lookup table created from the polynomial can be stored in the DS2438 40 Byte nonvolatile memory. This makes the water level sensors easily replaceable. Storing the voltage multipled by 100 as a single byte allows a 40cm range to be stored. For the prototype the values are: The Link 1-wire RS-232 adapter is used to communicate with the sensor. TCL routines are used to process the data. TCL for Windows is available from ActiveState. RRDtool is used to generate graphs. This project is for experimental use only. The user assumes all responsibilities for assembly, installation, and use. This circuit is provided without warranty and the author makes no claim that this device will work in any particular application. Do not use in applications where failure or incorrect operation could jeopardize someone`s safety. This schematic is provided for noncommercial use only.

Leave Comment

characters left:

Related Circuits

  • New Circuits



    Popular Circuits

    Dark-activated 230V Lamp
    Big Ben Sound circuit
    Thermometer with 10 LED scale
    Audio Detector switch
    Power meter 1KW
    Audio VU meter with Extra wide Dynamic Range 69 dB using Arduino
    Amplifier Output Delay with Relay Schematic Diagram
    Simple Code Lock
    TDA2555 Dual Tv Sound Demodulator Circuits - Nxp Semiconductors
    Fire Sensor Circuit