Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Water Level Sensor Circuit

  1. Mar 24, 2005 #1

    Theoertically, this circuit should work, because when water reaches the probe sensor (Level n), it will have a finite conductance and the input to the 7407 hex buffer will register as logic 1. This will lead to its output as logic 1 also, and since 7407 uses positive logic convenetion, this will mean H voltage, and will light up the LED. But I test it out on breadboard, and it doesn't work. I have checked and checked the connections again, but they are all correct.

    Is there anything wrong with the design?

    Attached Files:

    Last edited: Mar 24, 2005
  2. jcsd
  3. Mar 24, 2005 #2
    i tried to d/L your circuit but did not see a circuit, i must be doing something wrong , it opened in wordpad ??
    maybe if you post it as a jpg i could see it..
  4. Mar 24, 2005 #3
    It is a Microsoft Word document, needs MSWord to open it.

    Anyway, the diagram is drawn using MSword. I cannot upload the original circuit diagram drawn using Circuitmaker becuase it is too big in size and resolution for this forum to allow.
  5. Mar 24, 2005 #4
    A quick look at the datasheet reveals that the 7407 is an Open Collector device, so it won't quite work right in your circuit.

    Keep the circuit as it is, but try adding a 270ohm resistor from the LED anode to the 5V supply. Should work then.
  6. Mar 24, 2005 #5
    Sorry, just to ask, what do you mean by open collector device?

    If I connect the LED anode to the +5V supply, wouldn't it always light up regardless of whether the input logic is 1 or 0?
  7. Mar 24, 2005 #6


    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    An open collector device is not capable of driving its output high. It's only capable of driving its output low.

    If you connect a resistor to +5V -- called a "pull-up" resistor -- the output will then be +5V as long as the chip is not pulling it low.

    - Warren
  8. Mar 24, 2005 #7
    Thanks, it finally worked.

    The trick is to find the correct value of the pull down resistor at the input pin. I decide to use 7404 hex NOT gate, suince it is in abundance. Only if the correct value of the pull down resistor (4.7kohms) at the input will switch between 0.9V (Logic 0) when no water AND 1.3V (Logic 1) when there is water. Of course at the output pin, I use a 3.3kohms pull down resistor and the anode of the LED directly connected to +5V supply to drive the LED.

    A quick check using the multimeter revealed

    No water: output voltage = 3.54V
    so the voltage difference between +5V supply and 3.54V is
    not enough to drive the LED.
    Water present: output voltage = 2.46V
    so the voltage difference between +5V supply and 2.46V is
    able drive the LED.

    The forward conducting voltage for most normal green LEDs = 2.1V

    Again Thanks you very much Chroot and delta!
  9. Aug 28, 2006 #8
    need help for simple water level circuit

    hello all...i have a little problem now...i hope you all can help me out from this troublesome...if some of you here can give me a water level circuit diagram...i really appreciate it very much....10q..
  10. Sep 28, 2006 #9
    cyeokpeng, could you put your finished circuit after you put the 7404 hex NOT gate in, on the site please
  11. Nov 10, 2010 #10
    hi buddies
    just i want to ask

    i know that water breaks at 1.23 V to oxygen and hydrogen and what you wrote in the diagram is 5 V , so i am asking if this water level will affect water and could break it or how it works i am just confused ????
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook