Water Level Incator Using A1015 Transistors

 A water level indicator using A1015 PNP transistors is an elegant, low-power project perfect for beginners. While most hobbyist circuits use NPN transistors (like the BC547), using PNP transistors like the A1015 simply reverses the logic of the "switch."


How It Works

The A1015 is a PNP transistor. In this configuration, the transistor acts as a switch that completes a circuit when its Base is connected to a lower potential (Ground) relative to its Emitter.

  1. The Common Probe: A "common" wire connected to the Positive (+) terminal of your power source is placed at the bottom of the water container.

  2. The Sensor Probes: Multiple wires (connected to the Base of each transistor) are placed at different heights (Low, Medium, High).

  3. The Trigger: When water touches both the Common probe and a Sensor probe, the water acts as a conductor.

  4. The Logic: Since the A1015 is PNP, we usually configure it so that the water completes the path to ground or shifts the bias, allowing current to flow from the Emitter to the Collector, lighting up the LED.


Component List

  • Transistors: 3x A1015 (PNP)

  • Resistors: 3x $330\Omega$ (for LEDs) and 3x $10k\Omega$ (for Base protection)

  • LEDs: 3 different colors (e.g., Red for Low, Yellow for Medium, Green for Full)

  • Power Source: 9V Battery or 5V DC supply

  • Probes: Simple stiff copper wires or stainless steel pins




Circuit Connections (Step-by-Step)

For each level (e.g., the "Full" level), follow this wiring logic:

  1. Emitter: Connect the Emitter of the A1015 to the Positive (+) rail of your power supply.

  2. Collector: Connect the Collector to the Anode (long leg) of your LED. Connect the Cathode (short leg) of the LED to a $330\Omega$ resistor, then to Ground (-).

  3. Base: Connect the Base to a $10k\Omega$ resistor. The other end of this resistor becomes your Sensor Probe.

  4. Common Rail: Run a single wire from the Ground (-) of your power supply to the very bottom of the tank.

Note on PNP Logic: In this specific "High-Side Switching" setup, the LED turns on when the Base probe makes contact with the Ground probe through the water.


Visualizing the Level Logic

Water LevelProbes SubmergedLEDs Glowing
LowCommon + Probe 1Red
MediumCommon + Probes 1 & 2Red + Yellow
FullCommon + Probes 1, 2 & 3All Three

Tips for Success

  • Corrosion: Over time, copper probes will oxidize due to electrolysis. Using stainless steel probes or even pencil lead (graphite) can make the device last much longer.

  • Sensitivity: If the LEDs are dim, the water might have high resistance. You can try removing the $10k\Omega$ resistors, though they are recommended to protect the transistor from current spikes.

  • Voltage: The A1015 handles up to $50V$, but for safety and simplicity, keep your project between 5V and 12V.

Comments

Popular posts from this blog

Simple Fire Alarm Circuit

12 Volt to 220 Volt Inverter

Usb Night Lamp