Water Level Sensor Circuit

  • Thread starter cyeokpeng
  • Start date
  • #1
69
0
Hi,

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?
 

Attachments

  • Water Level sensor Circuit.doc
    25 KB · Views: 817
Last edited:

Answers and Replies

  • #2
227
0
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..
 
  • #3
69
0
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.
 
  • #4
87
0
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.
 
  • #5
69
0
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?
 
  • #6
chroot
Staff Emeritus
Science Advisor
Gold Member
10,226
36
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
 
  • #7
69
0
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!
 
  • #8
1
0
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..
 
  • #9
cyeokpeng, could you put your finished circuit after you put the 7404 hex NOT gate in, on the site please
 
  • #10
7
0
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 ????
 

Related Threads on Water Level Sensor Circuit

Replies
11
Views
3K
  • Last Post
Replies
9
Views
12K
Replies
9
Views
2K
  • Last Post
Replies
4
Views
4K
  • Last Post
Replies
6
Views
527
  • Last Post
Replies
22
Views
3K
  • Last Post
Replies
6
Views
875
  • Last Post
Replies
2
Views
4K
  • Last Post
Replies
7
Views
3K
Top