Automatic Wash Basin Mirror Lamp Controller
After using the wash basin mirror lamp, it is easy to forget to turn off the light after being in a public space, an auditorium, or even in your own home. When you stand in front of the w…

Know the mission before touching a wire.
Understand what you are making, prepare the right tools, and make the workbench safe.
Project details
Automatic Wash Basin Mirror Lamp Controller is a electronics project. After using the wash basin mirror lamp, it is easy to forget to turn off the light after being in a public space, an auditorium, or even in your own home. When you stand in front of the w…
- Source pages
- 217-219
- Named parts
- 3
- Build goal
- Working, tested prototype
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.
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.
- This project may involve hazardous voltage. Work only with qualified supervision and proper isolation.
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.
What's this?Image, role, pros, cons, handling & specifications
PASSIVE LEARNING VIEW1N4148
A passive component sets current, voltage, timing, filtering, or signal behaviour without adding gain.
What it does hereIts exact value and tolerance determine how the surrounding stage behaves.
Buy / compare this part ↗Advantages
- Simple and dependable
- Low cost
- Easy to measure before installation
Limitations
- A wrong value can stop or damage the circuit
- Ratings must not be exceeded
- Polarized parts require correct orientation
Handling
- Measure unclear values
- Observe capacitor polarity
- Avoid overheating leads while soldering
Specifications to verify
- Use the exact model, value, package, and rating listed for 1N4148; similar-looking parts are not always interchangeable.
- Confirm value, tolerance, power or voltage rating, polarity, and package size.
What's this?Image, role, pros, cons, handling & specifications
SEMICONDUCTOR LEARNING VIEWBC548
A semiconductor stage performs switching, amplification, regulation, rectification, or logic.
What it does hereIt 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.
What's this?Image, role, pros, cons, handling & specifications

T1, T2, T3 - transistor stages identified in the circuit
A semiconductor stage performs switching, amplification, regulation, rectification, or logic.
What it does hereIt 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, T2, 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.
Connect one verified path at a time.
Explore the named components and standardized signal flow, then use Source Check to verify exact physical pins, values, and topology before applying power.
Trace this circuit.
Automatic Wash Basin Mirror Lamp Controller: interactive parts, standardized terminals, responsive anchored wires, student explanations, and the original circuit reference in one shared system.
Trace before wiring
Follow power, ground, inputs, processing, and outputs in that order. Never guess a pin from package shape alone.
Connect with power off
Make short, labelled connections and share a common ground only where the schematic requires it.
Inspect every joint
Check continuity, polarity, adjacent shorts, and loose connections before the first power-up.
Open all source diagrams and build views 1 visuals

Confirm the hardware-only control path.
This project does not include firmware in the source. The circuit itself provides the required behaviour.
How to connect
- Match every controller label to the circuit view and source pin map.
- Join grounds before signal wires when separate low-voltage supplies are used.
- 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.
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.
How to upload code
The original design is implemented entirely in hardware, so proceed after verifying the circuit and supply.
Assemble, deploy, test, and troubleshoot.
Use the complete source notes in build order, then pass the final checks before calling the project finished.
Build in functional stages
- Power and regulation
- Controller or processing stage
- Inputs and sensors
- Outputs and loads
- Enclosure and strain relief
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
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
Follow the documented instructions.
These notes come from this project's source and remain in their original order.
Project overview
Project build noteAfter using the wash basin mirror lamp, it is easy to forget to turn off the light after being in a public space, an auditorium, or even in your own home. When you stand in front of the wash basin mirror lamp, the circuit shown below will turn it on automatically, and it will turn off again when you move away from it, helping you save money on your electric bill. The individual standing in front of the mirror will cause the modulated 38kHz square wave pulses emitted by the infrared LEDs to be reflected back to the sensor that is located behind the mirror. When the receiver sensor detects infrared rays, it energizes the relay for a predetermined delay period, which in turn causes the washbasin lamp to turn on for the duration of that delay. The wiring diagram for the automatic washbasin lamp controller may be found in Figure 1. It is made up of two parts, namely, a receiver and a transmitter for infrared radiation. While IC1 and IC2 serve as the primary building blocks for the transmitter part, IC3 serves as the primary building block for the receiver section. In the circuit for the transmitter, IC1 performs the role of an astable multivibrator and generates pulsed output at a frequency of 5 Hz. The pulsed output at 5 Hz allows IC2 to function by way of transistor T1. In addition to this, IC2 is set up to function as an astable multivibrator that generates a square wave at 38 kHz. The changeable 10-kilo- ohm potmeter can be used to alter the output frequency of IC2, which can be done at any time. Through driver transistor T2, the output of IC2 is sent to two IR LEDs.
The TSOP1738 infrared (IR) sensor, 1N4148 switching diode (D1), IC555 timer (IC3), BC548 relay-driver transistor (T3), and other components make up the receiver circuit. When an IR radiation is detected, the sensor will activate IC3, which is configured to operate as a monostable multivibrator and has a period of around 24 seconds. Simply by adjusting the numbers in R11 and C7, the time period can be altered to take on any value that is required. It is possible to link the output of IC3 to the relay-driver transistor T3. When the sensor receives modulated 38kHz IR pulses from the IR transmitter, conductivity is established in transistor T3 for a period of 24 seconds. This causes relay RL1 to become energized, and the normally-open (N/O) contact of relay RL1 becomes connected to the mains AC terminal of the mirror light, which then turns on the wash basin mirror lamp for a period of 24 seconds. As a result, the lamp in the wash bowl mirror turns on automatically whenever there is someone standing in front of it. In any other case, it will remain off. The entire circuit is powered by a regulated 9-volt supply of electricity. Put it together on any kind of general-purpose PCB, encase it in an appropriate cabinet, and then mount it behind the mirror of the wash basin.
You built Automatic Wash Basin Mirror Lamp Controller.
You followed the full workflow from understanding the mission to testing the finished project. That is a real engineering achievement - well done.
Browse all 500 projects