ToolSphere
All perfboard layouts

Water Level Alarm Perfboard Layout

Two probe wires enable an audible oscillator when a conductive liquid bridges them. The board is schematic-verified, not prototype-tested; liquid conductivity and probe spacing must be tested in the intended setup.

Conductivity water-level tone alarm perfboard layoutJ1 5VJ2 PROBESBZ1 PASSIVE PIEZOU1 NE555Q1 SENSOR 2N3904Q2 RESET 2N3904Q3 PIEZO 2N3904R1 22kR2 1MR3 4k7R4 100RR5 100kR6 1kR7 1kR8 47kR9 680RR10 100kR11 220RR12 10kR13 1kD1 LEDC1 10n TIMINGC2 10n CTRLC3 100n
Open this layout in the simulator Connection check: no shorts, 15 named nets

Red wires carry power, white is ground, yellow and blue are signals. Every hole is an isolated pad; connections are the wires shown. In the simulator you can move parts, add your own and re-run the check.

Parts list

As an Amazon Associate, ToolSphere earns from qualifying purchases.

How it works

Use a regulated, isolated 5 V supply or a suitable battery source. The probe header connects only to this low-voltage circuit, never to mains-powered tank hardware. R1 limits current from +5V into probe A. Probe B reaches Q1’s base, with a 1 MΩ pulldown. The probes are not modelled as a switch that works identically in every liquid: clean water can conduct too weakly, while deposits and moisture can create leakage paths.

Dry logic: Q1 is off, its 4.7 kΩ collector pullup drives Q2 through 100 Ω, and Q2 holds the 555 RESET low. Wet logic: enough probe current turns Q1 on, pulling its collector low and turning Q2 off. The 1 kΩ RESET pullup then enables the timer. This extra inversion makes a wet condition enable sound rather than disable it.

With a 10 kΩ test resistor bridging the probes, assumed VBE = 0.7 V and VCE(sat) = 0.2 V, the resistor/switch libraries compute 0.134 mA net Q1 base drive and 1.021 mA collector load. The forced-beta-10 target is 0.102 mA. R1 is 22 kΩ; even a zero-resistance probe bridge has a supply-current bound of 0.227 mA through that resistor. These are nominal assumptions, not a guaranteed liquid-detection resistance threshold.

The dry-state Q2 drive is nominally 0.889 mA, after its base pulldown. Its RESET sink budget is 6.300 mA, including the resistor current and the NE555 datasheet’s low-reset current allowance; the forced-beta-10 base target is 0.630 mA. A direct high-resistance probe connection to a bipolar timer’s RESET is deliberately avoided. Verify the actual NE555 electrical characteristics when substituting a timer family.

The astable uses RA = 1 kΩ, RB = 47 kΩ and C = 10 nF. Running the calculator’s exact timing equations gives 1518.6 Hz, approximately an audible tone, and 50.53% high duty. The passive piezo needs this changing signal; a steady GPIO-style on state would not provide a continuous tone. The output also drives a red LED through its own 1 kΩ resistor. Its ideal 5 V-high, 2 V-forward-drop estimate is 3 mA while high; real output swing makes this an approximation.

Q3 switches the piezo’s lower terminal. A 220 Ω feed resistor limits the initial current estimate to 21.82 mA with the stated supply and saturation assumption, while 10 kΩ across the piezo provides discharge. With an assumed 2.5 V timer high, the 680 Ω base resistor supplies 2.647 mA before the small pulldown current, compared with the nominal 2.182 mA target. Acoustic output still depends on the transducer, mounting and waveform.

DC probes can corrode or contaminate liquid. This is a brief low-voltage demonstration, not a drinking-water installation or a dependable overflow/safety controller. It has no hysteresis and can chatter near a weak-conductivity boundary. Use isolated pads and insulated jumpers, with no stripboard cuts.

Building it, step by step

  1. Fit the socket and three NPNs, checking each E/B/C package order. Wire the common supply, ground and supply bypass.
  2. Wire the probe current limiter and Q1 pulldown. Build Q1’s collector pullup and the Q2 base network; do not join the two probe terminals directly.
  3. Connect Q2’s collector to RESET and fit its 1 kΩ pullup. With probes open, verify RESET is low before expecting silence.
  4. Wire the astable timing network with trigger and threshold joined, plus the control bypass. Add the output LED with its separate resistor.
  5. Wire Q3, its base resistor/pulldown, and the passive piezo feed/discharge resistors. Check the unpowered netlist and package polarity.
  6. First bridge the probes with the stated test resistor, then briefly try the intended liquid using only the isolated low-voltage source. Verify the dry and wet logic with a meter rather than assuming conductivity.

Tools for this build

Frequently asked questions

Will it detect every type of water?

No. Conductivity, probe spacing, deposits and transistor properties affect the result. The worked resistor bridge is a test condition, not a universal water threshold.

Why does the alarm need a 555?

The specified piezo is passive and needs an alternating drive. The timer makes an audible-frequency signal when the wet-sensing network releases RESET.

Can I leave the probes permanently in a tank?

This DC demonstration is not designed for permanent immersion. Corrosion, contamination and long-term reliability require an appropriate probe and sensing design.

Why not connect the probes straight to RESET?

A bipolar NE555 reset input has appreciable input-current requirements. The two sensing/inverting transistors separate the weak probe signal from that load.