How to Make a Flashing LED With BC547 Transistor
If you are stepping into the world of electronics, there is a classic rite of passage every maker must experience. No, it is not burning your fingertips on a soldering iron (though that happens too)—it is making an LED blink.
While plugging an LED into an Arduino and uploading the Blink sketch is easy, relying on a microcontroller to flash a light is a bit like hiring a rocket scientist to flip a light switch. It gets the job done, but it completely bypasses the beautiful, foundational physics of analog electronics.
Today, we are going old school. We are building a Flashing LED Circuit using the legendary BC547 NPN transistor. No programming, no chips, and no digital logic. Just pure, unadulterated analog harmony.
By the end of this guide, you will not only have a working, rhythmic flashing light, but you will also understand the exact mechanics of how and why it works. Let’s dive in!
The Heart of the Circuit: Meeting the BC547
Before we start plugging components into a breadboard, let’s meet the star of the show: the BC547 Transistor.
The BC547 is a negative-positive-negative (NPN) bipolar junction transistor (BJT). It is packaged in a tiny, plastic TO-92 casing and is widely regarded as the “Swiss Army Knife” of the electronics world. If an engineer needs a general-purpose, low-power switch or amplifier, the BC547 is almost always the first component they pull out of their drawer.
Pinout Breakdown
When looking at the flat side of the BC547 with the leads pointing downward, the pins are arranged from left to right as follows:
- Collector (C): The entry point for the current that will be controlled.
- Base (B): The trigger or “gatekeeper.” A tiny current injected here controls a much larger current flowing from the collector to the emitter.
- Emitter (E): The exit point for the current.
In our flashing circuit, we will actually be using two of these transistors. They will work in tandem, acting as electronic valves that take turns opening and closing to create that iconic, rhythmic pulse.
Anatomy of an Astable Multivibrator
The technical name for the circuit we are building is an Astable Multivibrator.
Do not let the intimidating name scare you off. “Astable” simply means the circuit has no stable state. It cannot sit still. It is fundamentally restless. It constantly flips back and forth between two states:
- State 1: Transistor A is ON, and Transistor B is OFF.
- State 2: Transistor A is OFF, and Transistor B is ON.
Because it oscillates between these two states automatically without any external trigger, it creates a continuous square wave. When we attach an LED to one of these states, the LED flashes in sync with the oscillation.
The Secret Sauce: Resistance and Capacitance (RC Time Constant)
How does the circuit know how fast to flip back and forth? The timing is determined by a fundamental concept in electronics called the RC Time Constant.
When you pair a resistor (R) with a capacitor (C), they form a tiny storage system. The resistor acts like a narrow pipe restricting the flow of water, and the capacitor acts like a bucket. The time it takes for the bucket to fill up depends entirely on how wide the pipe is (the resistor’s value) and how deep the bucket is (the capacitor’s value).
By changing these values, we can speed up our flashing LED to a blinding strobe or slow it down to a gentle, hypnotic pulse.
Bill of Materials (BOM)
To build this circuit, you will need a handful of incredibly common, budget-friendly components. You can find these in almost any starter electronics kit or salvage them from broken consumer electronics.
| Component | Quantity | Value / Specification | Purpose |
| BC547 Transistor | 2 | NPN, TO-92 package | The electronic switches |
| LED | 2 | Any color (5mm standard) | Visual output of the pulses |
| Electrolytic Capacitor | 2 | $100μF (16V or higher) | The timing “buckets” |
| Resistor (R1, R4) | 2 | 470Ω (470R) | LED current limiters |
| Resistor (R2, R3) | 2 | 10kΩ (10k) | Base charging resistors |
| Breadboard | 1 | Half-size or full-size | Component mounting and prototyping |
| Jumper Wires | ~10 | Male-to-Male | Connecting circuit nodes |
| Power Supply | 1 | 9V Battery or 5V-9V DC source | Energizing the circuit |
The Circuit Diagram (Schematic)
Before building, it is vital to trace the pathways of the circuit map. Below is the classic schematic for a two-transistor astable multivibrator.

Understanding the Cross-Coupled Design
Notice the giant “X” in the middle of the schematic? This is called a cross-coupled network.
The collector of Transistor 1 (Q1) is linked to the base of Transistor 2 (Q2) via Capacitor 1 (C1). Conversely, the collector of Q2 is linked to the base of Q1 via Capacitor 2 (C2).
This crisscross layout creates a competitive loop. When one transistor turns on, it forcibly shuts the other transistor down by pushing its base voltage into negative territory. Let’s break down step-by-step how this chaotic cycle operates.
Step-by-Step Deep Dive: How It Works
Imagine we just connected our 9V battery. Power floods the circuit. What happens next?
Phase 1: The Race to Turn On
No two electronic components are perfectly identical. Even though Q1 and Q2 are both BC547 transistors from the same factory, one will naturally be microscopic percentages faster or more conductive than the other. Let’s assume Q1 wins the race and turns ON first.
When Q1 turns ON, it becomes a closed switch. Current rushes from the 9V rail, through resistor R1 and LED1, through Q1’s collector, and straight down to the ground (GND) via the emitter. LED1 lights up.
Phase 2: The Sudden Drop
Because $Q1$ is wide open, the voltage at its collector drops almost instantly to near 0V.
Before this happened, Capacitor C1 was sitting between Q1’s collector and Q2’s base, gathering charge. When Q1’s collector suddenly drops to 0V, it drags the positive side of C1 down with it. Because capacitors cannot alter their stored voltage instantly, the negative side of C1 plunges below 0V (into negative territory).
Since C1’s negative side is wired directly to the base of Q2, Q2’s base is starved of voltage. Q2 is forced completely OFF, and LED2 stays dark.
Phase 3: The Slow Recharge
While Q1 is happily sitting in the ON state and LED1 is glowing, a silent countdown begins.
Current flows from the positive rail through the 10kΩ resistor R2 to slowly recharge the empty capacitor C1. As C1 charges, the voltage at the base of Q2 steadily climbs from its negative dip back up toward 0V, and then higher.
To turn a BC547 transistor ON, the base-emitter voltage (Vbe) needs to reach roughly 0.7V.
Phase 4: The Great Flip
The moment the voltage across R2 manages to pump Q2’s base up to 0.7V, Q2 wakes up and snaps ON.
When Q2 turns ON, its collector voltage instantly drops to 0V. This action drags Capacitor C2 down, which yanks Q1’s base voltage below 0V.
Instantly, Q1 slams shut (turns OFF). LED1 goes dark. Because Q2 is now ON, current flows through R4 and LED2. LED2 lights up.
Now the roles are perfectly reversed. Current travels through resistor R3 to slowly recharge capacitor C2. The moment Q1’s base reaches 0.7V, it will fire back up, shut down Q2, and the cycle repeats indefinitely.
Step-by-Step Breadboard Build Guide
Now that you possess the theoretical blueprint, let’s assemble it into physical reality. Take out your breadboard and arrange your components step-by-step.
Step 1: Powering the Rails
- Connect a jumper wire from your power supply’s positive terminal to the top red rail of your breadboard.
- Connect another jumper wire from the negative terminal to the bottom blue rail (GND) of your breadboard.
Step 2: Placing the Transistors
- Insert Q1 (BC547) into the left side of the breadboard. Keep track of its pins: Emitter on the left, Base in the middle, Collector on the right (flat side facing you).
- Insert Q2 (BC547) into the right side of the breadboard, configured identically.
- Use a jumper wire to connect the Emitter (Pin 3) of Q1 directly to the negative ground rail.
- Connect the Emitter (Pin 3) of Q2 to the negative ground rail as well.
Step 3: Installing the LEDs and Current Limiters
- Look closely at your LEDs. The longer leg is the positive anode, and the shorter leg (with a flat side on the plastic rim) is the negative cathode.
- Place LED1 on the left. Connect its anode to a vacant row and its cathode to Q1’s Collector (Pin 1).
- Place LED2 on the right. Connect its anode to a vacant row and its cathode to Q2’s Collector (Pin 1).
- Insert a 470Ω resistor (R1) between the positive power rail and the anode of LED1.
- Insert the other 470Ω resistor (R4) between the positive power rail and the anode of LED2.
Step 4: Adding the Base Resistors
- Take a 10kΩ resistor (R2) and bridge it from the positive power rail to the Base (Pin 2) of Q1.
- Take the second 10kΩ resistor (R3) and bridge it from the positive power rail to the Base (Pin 2) of Q2.
Step 5: Bridging with Capacitors (The Trickiest Step!)
Electrolytic capacitors are polarized, meaning orientation matters immensely. The negative side is marked by a clear stripe down the body and shorter legs.
- Take Capacitor 1 (C1). Insert its positive (longer) leg into the row connected to Q1’s Collector. Insert its negative (shorter) leg into a vacant row nearby. Run a jumper wire from that negative leg row over to the Base of Q2.
- Take Capacitor 2 (C2). Insert its positive (longer) leg into the row connected to Q2’s Collector. Insert its negative (shorter) leg into another vacant row. Run a jumper wire from that negative leg row over to the Base of Q1.
Step 6: Power Up and Test
Double-check your wiring against the description. Ensure no bare component leads are touching each other. Connect your 9V battery.
If everything is wired correctly, the two LEDs will instantly begin alternating in an elegant, steady blink!
Troubleshooting: Why Isn’t It Flashing?
If you connected your battery and nothing happened—or worse, both LEDs turned on solid without blinking—do not panic! This is where real engineering happens. Here is a diagnostic checklist to fix the issue:
Problem A: Both LEDs are turned on solid
This occurs when both transistors turn on simultaneously and lock up, freezing the oscillation.
- The Fix: Disconnect power for 5 seconds and reconnect it. If that fails, check your capacitors. If the capacitors are too small or leaking, they won’t hold enough charge to turn off the opposing transistor. Ensure you are using 100μF capacitors.
Problem B: One LED stays lit, the other is completely off
This means one half of the circuit is failing to trigger.
- The Fix: Check the cross-coupled wiring. Is the negative leg of C1 securely hooked to the base of Q2? Is the negative leg of C2 attached to the base of Q1? A loose jumper wire in this central “X” configuration is the most frequent culprit.
Problem C: The LEDs are blindingly bright and getting hot
- The Fix: Unplug power immediately! You have omitted or bypassed the 470Ω current-limiting resistors (R1 and R4). Running current directly through an LED from a 9V source without an inline resistor will destroy the LED instantly.
Math Section: Customizing the Blink Speed
One of the best things about building an analog circuit is that you can change its physical behavior by simply swapping component values.
The frequency (f) of our flashing circuit—how many times it blinks per second—can be calculated using a straightforward formula derived from the RC time constant:
f = 1 / (0.7 x (R2 x C1 + R3 x C2)
Since we used matching values for our timing network (R2 = R3 = R and C1 = C2 = C), we can simplify this equation dramatically:

Calculating Our Circuit’s Frequency
Let’s plug in the exact values we used on our breadboard to see what our mathematical frequency should be.
- R = 10 kΩ = 10,000 Ω
- C = 100 μF = 0.0001 F
f = 1 / (1.4 x 10,000 x 0.0001)
f = 1 / (1.4 x 1} ≈ 1 / 1.4 ≈ 0.71 Hz
A frequency of 0.71 Hz means the entire double-flash cycle takes about 1.4 seconds to repeat. This gives us a comfortable, rhythmic pulse where each LED stays illuminated for roughly 0.7 seconds.
How to Modify Your Flasher
Want to experiment with your circuit? Use the formulas above to customize your outputs:
- The Helicopter Strobe: Swap out the 100μF capacitors for tiny 10μF variants. Because the timing “buckets” fill up ten times faster, your blinking frequency will skyrocket to around 7.1Hz, generating a rapid strobe effect.
- The Lighthouse Beacon: Swap out the 10kΩ resistors (R2 and R3) for much larger 47kΩ or 100kΩ resistors. This narrows the incoming current pipeline, slowing the charge time down to a crawl. Your LEDs will stay lit for several seconds before alternating.
- The Heartbeat Pulse (Asymmetric Blinking): What happens if you make the sides unbalanced? Keep C1 at 100μF but switch C2 to 10μF. Now, one LED will blink incredibly quickly, while the other holds a long, drawn-out illumination state. This creates an uneven, organic rhythm resembling a heartbeat.
Conclusion: The Gateway to Analog Creativity
Congratulations! You have successfully built a functioning, fully analog Astable Multivibrator using the legendary BC547 transistor.
Think about what you have accomplished here. Without utilizing lines of software code, a clock crystal, or an integrated circuit chip, you forced raw electricity to construct its own timing pulse through an elegant configuration of silicon, copper, and carbon.
This specific cross-coupled architecture is not just a parlor trick for flashing lights. It is the primitive ancestor of digital memory storage. When modified slightly into a Bistable configuration, this circuit transforms into a Flip-Flop—the core foundational component that holds a single bit of information (1 or 0) inside modern computer RAM.
Take some time to swap out components, track down different combinations, alter your flash rates, and observe how changing analog variables creates vastly different practical behaviors. Once you master the simple transistor, the entire landscape of electronics opens up before you. Happy hacking!
Frequently Asked Questions
Can I use a different transistor instead of the BC547?
Yes, you can use any equivalent general-purpose NPN transistor, such as the 2N2222 or 2N3904, though you must double-check the pin layout.
Why do the capacitors need to be polarized?
Polarized electrolytic capacitors are required because they offer the high capacitance values needed for noticeable timing delays, and they must be oriented correctly to match the directional voltage shifts in the circuit.
How do I make the LEDs blink faster?
To speed up the blinking rate, you need to decrease the value of either the two timing resistors ($R2$ and $R3$) or the two capacitors ($C1$ and $C2$).

Author
Alex Klein is an electrical engineer with more than 15 years of expertise. He is the host of the Electro University YouTube channel, which has thousands of subscribers.
