In this post we are going to look at a very special and robust design: a purely discrete 4 transistor automatic street light circuit. Many hobbyists ask me why we should use four transistors instead of a simple IC 555 or an op amp. The main reason is that some makers love old school, pure transistor circuits because they do not depend on IC availability and when tuned properly, then a multi stage transistor amplifier gives incredible analog smoothness.

Let us investigate into how this multi transistor cascade works and how you can build it without any relay chattering.
The Benefit of Multi Stage Transistor Network?
When you use just one or two transistors, then the shifting from day to night is quite sharp but minor voltage drops or shadows can sometime cause the relay to buzz or chatter.
By cascading four NPN transistors in a direct coupled differential configuration, circuit act like a high gain analog Schmitt trigger.
First two transistor form a sensitive light sensing differential pair that compare the LDR voltage against a stable reference divider, while final two transistors act as a high current totem pole driver for the relay coil. This completely eliminate relay fluttering during slow evening twilight hours.
Components List
To build this 4-transistor automatic street light circuit, gather these parts:
- Transistors = Four BC547 NPN transistors (T1, T2, T3, T4)
- LDR1 = Standard Light Dependent Resistor
- Preset Potentiometer = 100K preset (for precise twilight threshold adjustment)
- Resistors (1/4 watt, 5% CFR) = 1K, 10K, 47K, and 100K resistors
- Filter Capacitor = 220uF / 25V electrolytic capacitor
- Bridge Rectifier Diodes = Four 1N4007 diodes (for AC mains step-down power supply)
- Relay Flyback Diode = 1N4007 diode (connected across the relay coil to stop back-EMF spikes)
- Power Transformer = 0-12V, 500mA transformer (or a 12V SMPS adapter)
- Relay = 12V, 400-ohm coil electromechanical relay
- Output Load = 220V or 120V AC LED street bulb
AC Mains Safety Warning
Remember that this project connects high voltage 220V/120V AC power lines to relay output contact. AC electricity is extremely dangerous and can cause severe shock or fatal injuries.
Always disconnect power before making any soldering or wiring change, use properly insulated screwdrivers and enclose your finished circuit inside a strong, closed plastic electrical box.
Circuit Diagram

Working Explanation
Let us understand the exact electronics behind this 4 transistor design:
Sensing Stage (T1 & T2): Transistor T1 is connected directly in series with the LDR, forming a voltage divider with your 100K preset. During day, bright light keep the LDR resistance extremely low, pulling the base of T1 high.
When T1 conduct, then it regulates base voltage of the second transistor T2, keeping T2 in a stable cut off state.
Inversion and Amplification Stage (T3): As evening arrives, LDR resistance rise steeply. This causes T1 to begin cutting off which flips state of transistor T3. Because T3 acts as an analog inverter, its collector voltage rise sharply after the twilight threshold is crossed.
Relay Driver Stage (T4): The final transistor T4 receive the amplified signal from T3 and provides high base drive current to pull down 12V relay coil instantly. This multi stage gain ensures that relay snap shut cleanly rather than slowly sliding into position and causing a buzzing noise.
How to Calibrate
Wire all components carefully on your general PCB, making sure transistor collector, base and emitter pins are placed correctly (Flat side facing you: Collector is left, Base is middle, Emitter is right).
- Connect your 12V power source and turn 100K preset wiper fully to one side.
- Mimic evening darkness by covering LDR completely with black tape or your hand.
- Slowly rotate the preset until you hear the relay click firmly, turning on your AC street lamp.
- Uncover the LDR to let room light hit it, relay should release instantly.
- Lock your preset using a tiny drop of nail paint.
Troubleshooting Steps
Relay Buzzing at Dusk: This means your gain transistor is oscillating due to slow voltage shifting. Check if filter capacitor (220uF) is properly soldered across the DC supply rails then.
Bulb Stays ON All Day: Your preset threshold is set too tight. Adjust the 100K preset in the reverse direction while exposing LDR to bright sunlight until the relay shut off.
Prototype Images






Need Help? Please Leave a Comment! We value your input—Kindly keep it relevant to the above topic!