Power supplies are at the heart of every electronics project. Whether you are working with microcontrollers, op-amps, or audio amplifiers, stable and reliable voltage is essential. The circuit shown here provides two regulated outputs: 12V DC and 5V DC. It uses a mix of linear regulators, filtering capacitors, and transistors to handle higher current demands.
In this guide, I’ll walk you through how this circuit works, why each component is there, and how you can build it for your projects. By the end, you’ll have a good understanding of designing a simple dual power supply using common components like the TIP141, TIP42C, and LM340T5.
Why Do We Need a Dual Power Supply?
Many electronic circuits require more than one voltage rail. For example:
- Digital circuits often need 5V logic while sensors or controllers run at 12V.
- Analog and audio circuits may use 12V for op-amps and 5V for digital control.
- Microcontrollers commonly need a regulated 5V rail, but modules like relays or motors prefer 12V.
Instead of running two separate adapters, building one power supply that provides both voltages is far more practical. This is exactly what this circuit does.
Circuit Overview
From the schematic, you can see two main sections:
- 12V Regulated Supply
- Based on a TIP141 NPN Darlington transistor and filtering capacitors.
- 5V Regulated Supply
- Uses an LM340T5 regulator (the common 7805 equivalent) with a TIP42C PNP transistor for better current handling.
Both rails share a common ground and are protected by capacitors to ensure smooth voltage and low ripple.
Step-by-Step Working of the Circuit
Step 1: AC to DC Conversion
Although not fully shown in this schematic, you’d normally have a transformer and bridge rectifier feeding this circuit. Here, a 1N4007 diode is included for polarity protection. If someone accidentally reverses the input, the diode prevents damage to the circuit.
Once rectified, the DC voltage is fed into the filter capacitors. The 1000 µF electrolytic capacitors smooth out the ripples from rectification, giving us a fairly steady DC level before regulation.

Step 2: 12V Supply Section
The top half of the circuit is the 12V rail.
- The main regulation comes from the zener diode rated at 12V.
- A 270 ohm resistor feeds current to the zener, which stabilizes at 12V.
- This 12V reference drives the base of the TIP141 Darlington transistor.
Because the TIP141 has very high current gain (being a Darlington pair), it can handle much higher output current than a small regulator IC or zener alone. This allows the 12V supply rail to drive motors, relays, or other loads without sagging.
The additional capacitors (100 µF and 100 nF) near the output filter out any transient spikes and high-frequency noise. This ensures the voltage stays stable even if the load changes quickly.
Step 3: 5V Supply Section
The lower half of the schematic is the 5V regulator stage.
- At the core is the LM340T5 (equivalent to the 7805), which outputs a fixed 5V.
- However, linear regulators like the 7805 are only good for around 1A of current without extra heatsinking. For higher current, we add the TIP42C PNP transistor to help.
Here’s how it works:
- The LM340T5 outputs 5V.
- When load current increases, part of the current is supplied directly, and additional current is sourced through the TIP42C transistor.
- The 15 ohm resistor (1W) is used to sense current and provide biasing to the TIP42C.
- The result is a regulated 5V supply that can handle currents well above the regulator’s typical limit.
Again, 1000 µF and 100 nF capacitors are placed at the output to stabilize the voltage and suppress noise.
Key Components and Their Roles
- TIP141 (Darlington NPN) – Boosts current handling at the 12V rail.
- TIP42C (PNP) – Assists the 5V regulator in providing more current.
- LM340T5 – Fixed 5V linear regulator (classic 7805 series).
- 1N4007 Diode – Input polarity protection.
- Zener Diode (12V) – Provides the reference voltage for the 12V section.
- Electrolytic Capacitors (1000 µF, 100 µF, etc.) – Smooth and filter DC output.
- Ceramic Capacitors (100 nF) – Suppress high-frequency noise and prevent oscillation.
Advantages of This Power Supply Design
- Provides two separate voltage rails (12V and 5V) from the same input source.
- Can handle higher loads due to the use of TIP141 and TIP42C transistors.
- Good filtering with electrolytic and ceramic capacitors.
- Simple and low-cost design using components that are easy to find.
- Works well for hobby projects, microcontrollers, audio modules, and motor drivers.
Applications
This dual voltage power supply can be used in:
- Arduino and Raspberry Pi-based projects that need both 5V logic and 12V for relays or motors.
- Robotics projects where servos or DC motors need 12V, while the control circuitry uses 5V.
- Audio circuits that often require 12V rails for preamps and 5V for digital processing.
- DIY electronics labs as a generic bench power supply for experimentation.
Practical Considerations
Before you build this power supply, keep some things in mind:
- Transformer Size: Use a transformer that can provide enough current for both rails. A 3-amp transformer is good for most cases.
- Heatsinking: Both TIP141 and TIP42C will dissipate heat under load. Mount them on proper heatsinks.
- PCB Design: Keep the high current tracks wide. Place filter capacitors close to the regulator pins.
- Testing: Always test with a dummy load like a resistor before connecting sensitive circuits.
- Safety: If you are working from mains AC, be cautious. Ensure proper insulation and grounding.
Improving the Design
This circuit works, but you can make it better for specific needs:
- Add a 7812 regulator IC for more precise 12V regulation.
- Place a fuse at the input for overload protection.
- Include an LED indicator on both rails so you can see when the supply is active.
- Use Schottky diodes for better efficiency if available.
Conclusion
This dual power supply design is a handy solution for projects that require both 12V and 5V rails. The combination of a zener-regulated Darlington transistor stage for 12V and an LM340T5 with a PNP transistor for 5V makes the circuit robust and capable of delivering higher current than standard regulator ICs alone.
If you’re an electronics hobbyist or a student building embedded or robotics projects, this is a great circuit to add to your toolkit. It’s straightforward, inexpensive, and powerful enough to handle most small to medium loads.