How Does Voltage Affect a Water Level Sensor Circuit?

Click For Summary

Discussion Overview

The discussion revolves around the design and functionality of a water level sensor circuit, specifically focusing on the role of voltage and components like the 7407 hex buffer and 7404 hex NOT gate. Participants explore theoretical aspects, practical implementation, and troubleshooting of the circuit.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Experimental/applied

Main Points Raised

  • One participant theorizes that the circuit should function correctly when water reaches the probe sensor, leading to a logic high output from the 7407 buffer.
  • Another participant points out that the 7407 is an open collector device, suggesting that a pull-up resistor is necessary for proper operation.
  • A participant expresses confusion about the implications of using an open collector device and the behavior of the LED in relation to the voltage supply.
  • Further contributions detail the successful adjustment of resistor values in the circuit, leading to the desired output voltages when water is present or absent.
  • One participant requests a circuit diagram for a simple water level sensor, indicating a need for additional resources or examples.
  • Another participant questions the relationship between the voltage used in the circuit and the electrolysis of water, expressing confusion about potential chemical reactions at different voltages.

Areas of Agreement / Disagreement

Participants express varying levels of understanding regarding the circuit's operation, with some agreeing on the necessity of pull-up resistors while others remain uncertain about the implications of voltage levels on water electrolysis. The discussion does not reach a consensus on all points raised.

Contextual Notes

Some participants reference specific component behaviors and circuit configurations, but there are unresolved questions regarding the effects of voltage on water and the exact functioning of the circuit under different conditions.

Who May Find This Useful

Individuals interested in electronics, particularly those working on sensor circuits or troubleshooting similar designs, may find this discussion relevant.

cyeokpeng
Messages
68
Reaction score
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

Last edited:
Engineering news on Phys.org
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..
 
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 because it is too big in size and resolution for this forum to allow.
 
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.
 
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?
 
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
 
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!
 
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..
 
cyeokpeng, could you put your finished circuit after you put the 7404 hex NOT gate in, on the site please
 
  • #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 ?
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
55
Views
8K
Replies
14
Views
2K
  • · Replies 21 ·
Replies
21
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
9
Views
13K
  • · Replies 2 ·
Replies
2
Views
2K