STEP 1 / 6ELECTRONICS

IR-Controlled Water Supply

This circuit can be used for any type of water supply unit, like a toilet flush or washbasin tap, in homes or small restaurants. The part of the power supply that is made up of IC 7805 (I…

Circuit Atlas themed schematic for IR-Controlled Water Supply
PROJECT#223
TRACKElectronics
PARTS07
STAGES06
STEP 1 / 6 · Overview

Know the mission before touching a wire.

Understand what you are making, prepare the right tools, and make the workbench safe.

01

Project details

IR-Controlled Water Supply is a electronics project. This circuit can be used for any type of water supply unit, like a toilet flush or washbasin tap, in homes or small restaurants. The part of the power supply that is made up of IC 7805 (I…

Source pages
420-421
Named parts
7
Build goal
Working, tested prototype
02

Tools you need

  • Digital multimeter
  • Wire stripper and side cutters
  • Soldering iron with a fine tip
  • Current-limited bench supply

Use eye protection, good lighting, and a clean insulated surface throughout the build.

03

Safety precautions

  • Disconnect every power source before changing a connection.
  • Check component polarity, pinout, and supply voltage twice.
  • Use a current limit for the first power-up.
  • Keep liquids, loose metal, and uninsulated wires away from the bench.
Ready to continue?
STEP 2 / 6 · Parts library

Gather, identify, and understand every part.

Use the standardized inventory, then open What's this? to learn each part's role, advantages, limitations, handling, and specifications.

NAMED PROJECT INVENTORY7 PART LINES
PARTTYPEQTYREADY
PPower supplyPOWER1
What's this?Image, role, pros, cons, handling & specifications
Circuit Atlas themed schematic for IR-Controlled Water SupplyPOWER LEARNING VIEW

Power supply

A power component supplies, converts, stores, or regulates energy for the project.

What it does here

It must provide the documented voltage, polarity, isolation, and sufficient current safely.

Buy / compare this part

Advantages

  • Stable power improves reliability
  • Current limiting protects first tests
  • Regulation reduces resets and noise

Limitations

  • Wrong polarity can cause immediate damage
  • Underrated parts overheat
  • Mains circuits require qualified supervision

Handling

  • Measure output before connection
  • Use a fuse or current limit
  • Insulate exposed conductors

Specifications to verify

  • Use the exact model, value, package, and rating listed for Power supply; similar-looking parts are not always interchangeable.
  • Confirm input/output voltage, current, polarity, connector, isolation, and thermal rating.
SNE555SEMICONDUCTOR1
What's this?Image, role, pros, cons, handling & specifications
NE555 timerSEMICONDUCTOR LEARNING VIEW

NE555

A semiconductor stage performs switching, amplification, regulation, rectification, or logic.

What it does here

It controls current or signal flow at a defined point in the circuit.

Buy / compare this part

Advantages

  • Fast and efficient
  • Compact
  • Can control larger loads from smaller signals

Limitations

  • Pin order varies
  • Sensitive to overvoltage and reverse polarity
  • May need cooling or bias components

Handling

  • Verify the datasheet pinout
  • Avoid static and soldering heat
  • Check notch, stripe, or flat-face orientation

Specifications to verify

  • Use the exact model, value, package, and rating listed for NE555; similar-looking parts are not always interchangeable.
  • Confirm pinout, maximum voltage/current, dissipation, gain or forward voltage, and package.
SBC548SEMICONDUCTOR1
What's this?Image, role, pros, cons, handling & specifications
BC548 NPN transistorSEMICONDUCTOR LEARNING VIEW

BC548

A semiconductor stage performs switching, amplification, regulation, rectification, or logic.

What it does here

It controls current or signal flow at a defined point in the circuit.

Buy / compare this part

Advantages

  • Fast and efficient
  • Compact
  • Can control larger loads from smaller signals

Limitations

  • Pin order varies
  • Sensitive to overvoltage and reverse polarity
  • May need cooling or bias components

Handling

  • Verify the datasheet pinout
  • Avoid static and soldering heat
  • Check notch, stripe, or flat-face orientation

Specifications to verify

  • Use the exact model, value, package, and rating listed for BC548; similar-looking parts are not always interchangeable.
  • Confirm pinout, maximum voltage/current, dissipation, gain or forward voltage, and package.
P7805 - integrated circuitPOWER1
What's this?Image, role, pros, cons, handling & specifications
7805 voltage regulatorPOWER LEARNING VIEW

7805 - integrated circuit

A power component supplies, converts, stores, or regulates energy for the project.

What it does here

It must provide the documented voltage, polarity, isolation, and sufficient current safely.

Buy / compare this part

Advantages

  • Stable power improves reliability
  • Current limiting protects first tests
  • Regulation reduces resets and noise

Limitations

  • Wrong polarity can cause immediate damage
  • Underrated parts overheat
  • Mains circuits require qualified supervision

Handling

  • Measure output before connection
  • Use a fuse or current limit
  • Insulate exposed conductors

Specifications to verify

  • Use the exact model, value, package, and rating listed for 7805 - integrated circuit; similar-looking parts are not always interchangeable.
  • Confirm input/output voltage, current, polarity, connector, isolation, and thermal rating.
ST1, T3 - transistor stages identified in the circuitSEMICONDUCTOR1
What's this?Image, role, pros, cons, handling & specifications
Circuit Atlas themed schematic for IR-Controlled Water SupplySEMICONDUCTOR LEARNING VIEW

T1, T3 - transistor stages identified in the circuit

A semiconductor stage performs switching, amplification, regulation, rectification, or logic.

What it does here

It controls current or signal flow at a defined point in the circuit.

Buy / compare this part

Advantages

  • Fast and efficient
  • Compact
  • Can control larger loads from smaller signals

Limitations

  • Pin order varies
  • Sensitive to overvoltage and reverse polarity
  • May need cooling or bias components

Handling

  • Verify the datasheet pinout
  • Avoid static and soldering heat
  • Check notch, stripe, or flat-face orientation

Specifications to verify

  • Use the exact model, value, package, and rating listed for T1, T3 - transistor stages identified in the circuit; similar-looking parts are not always interchangeable.
  • Confirm pinout, maximum voltage/current, dissipation, gain or forward voltage, and package.
PLED1 - indicator LED identified in the circuitPART1
What's this?Image, role, pros, cons, handling & specifications
Circuit Atlas themed schematic for IR-Controlled Water SupplyPART LEARNING VIEW

LED1 - indicator LED identified in the circuit

An output component turns an electrical control signal into light, sound, motion, switching, or displayed information.

What it does here

It presents the circuit result or acts on the physical world.

Buy / compare this part

Advantages

  • Makes system state visible
  • Can be tested separately
  • Supports clear troubleshooting

Limitations

  • Loads may exceed controller current
  • Polarity or driver direction can matter
  • Inductive loads create voltage spikes

Handling

  • Use the documented driver stage
  • Check polarity and load current
  • Add flyback protection for inductive loads

Specifications to verify

  • Use the exact model, value, package, and rating listed for LED1 - indicator LED identified in the circuit; similar-looking parts are not always interchangeable.
  • Confirm voltage, current, polarity, interface, driver requirements, and duty cycle.
PVR1 - preset potentiometer identified in the circuitPART1
What's this?Image, role, pros, cons, handling & specifications
10kΩ preset potentiometerPART LEARNING VIEW

VR1 - preset potentiometer identified in the circuit

A named project component whose exact role is defined by the source circuit and build guide.

What it does here

It performs a documented electrical, control, interface, or construction function in this project.

Buy / compare this part

Advantages

  • Selected for this project
  • Can be checked independently
  • Supports modular troubleshooting

Limitations

  • Substitutes may differ
  • Generic names can hide variants
  • Pinouts and ratings vary

Handling

  • Compare the received part with the source
  • Keep it labelled
  • Do not force connectors or adjusters

Specifications to verify

  • Use the exact model, value, package, and rating listed for VR1 - preset potentiometer identified in the circuit; similar-looking parts are not always interchangeable.
  • Confirm dimensions, ratings, connection method, polarity, and environmental limits.
Ready to continue?
STEP 4 / 6 · Source code

Confirm the hardware-only control path.

This project does not include firmware in the source. The circuit itself provides the required behaviour.

01

How to connect

  1. Match every controller label to the circuit view and source pin map.
  2. Join grounds before signal wires when separate low-voltage supplies are used.
  3. Keep motors, relays, pumps, and other loads on a suitable driver and external supply.

Common mistakes

Reversed VCC/GND, board-label versus GPIO-number confusion, missing common ground, and charge-only USB cables.

Troubleshoot

Disconnect loads, continuity-test one path at a time, then test with a current limit.

02

Software preparation

No IDE, board package, library, or firmware upload is required for this project.

If you add a programmable controller as an extension, document its pin map separately.

03

How to upload code

The original design is implemented entirely in hardware, so proceed after verifying the circuit and supply.

Ready to continue?
STEP 5 / 6 · Build

Assemble, deploy, test, and troubleshoot.

Use the complete source notes in build order, then pass the final checks before calling the project finished.

ASSEMBLY

Build in functional stages

  • Power and regulation
  • Controller or processing stage
  • Inputs and sensors
  • Outputs and loads
  • Enclosure and strain relief
TEST

Power up safely

  • Inspect unpowered continuity first
  • Apply the lowest safe current limit
  • Measure supply rails before signals
  • Add one load at a time
  • Record expected and actual results
TROUBLESHOOT

Work from simple to complex

  • Confirm power, ground, polarity, and orientation
  • Compare each pin with the source
  • Test inputs separately from outputs
  • Replace only one variable at a time
  • Power off before every correction
PROJECT-SPECIFIC BUILD NOTES

Follow the documented instructions.

These notes come from this project's source and remain in their original order.

01

Project overview

Project build note

This circuit can be used for any type of water supply unit, like a toilet flush or washbasin tap, in homes or small restaurants. The part of the power supply that is made up of IC 7805 (IC1). The input power for IC1 can come from either a 12V solar panel (SP) or a 9V battery. Voltage regulator 7805 provides constant 5V DC to operate the circuit. The transmitter part is made up of the timer 555 (IC2), the npn transistor BC548, the infrared LED1, and a few other separate parts. The NE555 timer is set up as an astable multivibrator. By adjusting the preset VR1, it can make 38kHz pulses. The IR LED1 is powered by the transistor T1, and it sends modulated IR signals up to a few meters away. Figure. The circuit can be divided into three sections: power supply, transmitter and receiver. The receiver section is made up of the TSOP1738 chip, the timer 555 (IC3), and a few other parts. IR LED1 sends out an IR signal, which is picked up by IR receiver TSOP1738. The IR LED and the TSOP1738 are facing each other, so the IR beam from the IR LED goes straight to the TSOP1356. The output of the IR receiver module is sent to trigger pin 2 of IC3. When IC3 is turned on, its output goes high for about ten seconds, depending on how much R6 and C6 weigh. As long as the monostable output is high, relay RL1 stays on. So, the normally-opened (N/O) contacts of relay RL1 supply the solenoid valve with the power it needs. Depending on the kind of solenoid valve, the power supply needs can vary. If a 5V solenoid valve is used, you can get rid of the relay. In this case, you can connect the valve between the collector of transistor T3 and the positive side of 5V. So, when a person's hand gets in the way of the IR beam

coming from the IR transmitter (LED1) on IRX1, the output of the TSOP1738 goes high, which turns on the monostable IC3. The relay turns on for about 10 seconds to open the water supply by moving the solenoid valve. After 10 seconds, the valve shuts again, stopping the flow of water. When the valve is opened, water flows for 10 seconds. If the hand is placed again during that time, the monostable circuit does nothing. Instead, it keeps doing what it's supposed to do. Put the circuit together on a PCB that can be used for many things and put it in a suitable cabinet. Install the IR LED and IRX1 on the side walls of the toilet flush or washbasin so that the IR beam that is sent to the receiver goes straight to it.

Ready to continue?
PROJECT ACHIEVED

You built IR-Controlled Water Supply.

You followed the full workflow from understanding the mission to testing the finished project. That is a real engineering achievement - well done.

Twilight blinker lamp project thumbnail featuring LDR, NEAR, CD-BATTERY
NEXT ELECTRONICS ADVENTURE

Twilight blinker lamp

Ready to reuse what you learned in another project from the same track?

Start this project
Browse all 500 projects