Build it step by step
0 of 7 doneBuild on the breadboard first
Use the layout in the table.
Check the polarity
Plus of each capacitor goes to a collector.
Power it
The two LEDs should alternate about once a second.
Change the rate
Try 22 µF or 4.7 µF capacitors.
Measure current
Put the meter in series with the supply and estimate battery life.
Solder it
Move it to perfboard.
Seal it
Put it in a clear box with a battery clip.
How do you build a road work warning flasher?
A battery flasher with two alternating amber LEDs runs for weeks to mark a hazard or a parked bike. You need BC547 NPN transistor × 2, Resistor 330 Ω × 2, Resistor 100 kΩ × 2, Electrolytic capacitor 10 µF × 2, LED 5 mm yellow × 2, Battery holder 2 × AA, AA alkaline battery × 2 and Perfboard (dot PCB) 7 × 9 cm. It takes 7 steps and about 45 minutes.
- Level
- Beginner
- Time
- About 45 min
- Parts
- 8
Parts list
- SemiconductorsBuy
- PassivesBuyResistor 330 Ω × 2
- PassivesBuyResistor 100 kΩ × 2
- PassivesBuy
- SemiconductorsBuyLED 5 mm yellow × 2
- PowerBuy
- BatteriesBuy
- PrototypingBuy
Tick what you already own. It saves to My Garage, so “Build with what I have” knows.
Wiring
| From | To | Why |
|---|---|---|
| Battery holder + | + rail | About 3 V from two AA cells |
| Battery holder - | - rail | Ground |
| Yellow LED 1 and 330 Ω resistor | + rail through the resistor, LED anode to the resistor, cathode to Q1 collector | Load 1 |
| Yellow LED 2 and 330 Ω resistor | + rail through the resistor, LED anode to the resistor, cathode to Q2 collector | Load 2 |
| Q1 and Q2 emitters | - rail | Ground |
| 100 kΩ resistor | + rail and Q1 base | Base bias |
| 100 kΩ resistor | + rail and Q2 base | Base bias |
| 10 µF capacitor | Q1 collector and Q2 base, + on the collector | Cross coupling |
| 10 µF capacitor | Q2 collector and Q1 base, + on the collector | Cross coupling |
No code needed
No code. The two transistors switch on and off in turn: when Q1 is on, its collector is low, which holds Q2 off through the capacitor until the capacitor charges through the 100 kΩ base resistor. The flash rate is about 1 ÷ (1.4 × R × C), which is roughly 0.7 Hz with 100 kΩ and 10 µF. Each LED draws about 2 to 3 mA while lit on two AA cells, so the average current is about 1.5 mA and a pair of AA cells should run it for several weeks of continuous flashing. Check the battery life with a meter on the supply. The electrolytic capacitors must have the plus lead on the collector side; a 3 V supply keeps the reverse voltage on the capacitors within what a BC547 base tolerates.
Test checklist
What you should see at each check. If a reading is far off, stop and use the troubleshooting list.
| Check | Expected |
|---|---|
| Power on | LEDs alternate |
| 22 µF capacitors | Slower flashing |
| Current | A few milliamps on average |
| After a week | Still flashing at a steady rate |
If it does not work
Both LEDs on or off
Check the capacitor polarity and the base resistors.
Does not start
Swap a transistor and check the pinout (flat face, C B E varies, check the datasheet).
Dim
Reduce the resistor value a little.
Rate wrong
Check the resistor and capacitor values.
Still stuck? Find the fault step by step with your multimeter →
Common questions
What parts do I need for the road work warning flasher?
BC547 NPN transistor × 2, Resistor 330 Ω × 2, Resistor 100 kΩ × 2, Electrolytic capacitor 10 µF × 2, LED 5 mm yellow × 2, Battery holder 2 × AA, AA alkaline battery × 2 and Perfboard (dot PCB) 7 × 9 cm.
How long does the road work warning flasher take to build?
About 45 minutes for a beginner maker, in 7 steps.
How do I know the road work warning flasher works?
Power on: LEDs alternate. 22 µF capacitors: Slower flashing. Current: A few milliamps on average.
Both LEDs on or off: what should I check?
Check the capacitor polarity and the base resistors.
Does not start: what should I check?
Swap a transistor and check the pinout (flat face, C B E varies, check the datasheet).
Dim: what should I check?
Reduce the resistor value a little.
Rate wrong: what should I check?
Check the resistor and capacitor values.
