• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Need circuit help? Post them in the comments! I've answered over 50,000!

Blog | Categories | About | Contact | Calculators-online
You are here: Home / Lamps and Lights / Make this 2 Pin Bi-Color LED Flasher Circuit

Make this 2 Pin Bi-Color LED Flasher Circuit

Last Updated on January 2, 2023 by Swagatam 16 Comments

This transformerless mains power supply circuit will allow flashing of a Bi-color 100 LED string, in an alternately switching red, green effect.

Table of Contents
  • Using 2-pin Bi-color LEDs
  • Circuit Operation
  • Two Color LED Blinker Using Neon Lamps

Using 2-pin Bi-color LEDs

The proposed circuit can be used as a Bi-color LED flasher, for generating an alternate red, green flashing effect over a string of 100 LEDs.

download

Bi-color LEDs are available in 3-pin and 2-pin variations, in our project we use the 2-pin Bi-color LED option for keeping things compact and much efficient.

bicolor2Bled2Bflasher2Bcircuit

Circuit Operation

Looking at the design shown above, we can see a simple configuration using a push-pull clock generator IC 4047.

The IC is used for generating an alternately switching pair of outputs, from the shown pinout#10 and 11 of the IC.

The frequency of these alternately conducting outputs can be set by appropriately adjusting the pot P1 and by selecting the desired range with C1.

The switching outputs can be seen configured with two oppositely wired SCRs, which are in turn hooked up with the Bi-color LED string across the mains input through a dropping high voltage capacitor C3.

The circuit also incorporates a transformerless power supply stage consisting of C2, D1, C4, Z1, for powering the IC with the required low voltage DC.

When the proposed 2 pin Bi-color LED flasher circuit is switched ON, the IC starts oscillating at the set rate across its pin#10 and pin#11 alternately, driving the SCRs at the same alternating rate.

The SCRs respond to these pulses and conduct accordingly, enabling the Bi-color LED string to illuminate through an alternately green and red color flashing effect.

Caution: The above circuit is not isolated from mains, therefore is extremely dangerous to touch in an uncovered and switch-ON positioned.

Parts list

  • R1, R2, R3 = 1K
  • C1, C4 = 100uF 25V
  • C2, C3 = 0.33uF/400V
  • Z1 = 12V 1 watt zener
  • D1 = 1N4007 diode
  • SCRs = 2nos BT169G
  • LEDs = 100nos (for 220V input), 50nos (for 110V input) of 2pin, Hi-bright RED, Green Bi-color LEDs
  • Input: 220V/110V

Correction Update

The design shown above has a serious flaw in it. The SCR1 is configured wrongly and might not conduct as proposed in the explanation.

The following diagram using an DPDT relay appears to be the correct approach for implementing the above discussed Bi-color LED flashing operations:

bicolor2Bled2Bflasher2Bcircuit 1

Two Color LED Blinker Using Neon Lamps

As seen in the following image, our next light string cycles between red and green at a consistent 1 Hz frequency, allowing it to be a lovely complement to any seasonal decoration. The process for changing colours happens as I have explained below.

red green LED flasher 220V using neon bulbs

A relaxation oscillator circuit made a couple of two neon lamps, NE1 and NE2, alternates back and forth at a rate of roughly 1 Hz.

The two color LED changeover rate is determined by R1, R2, and C3 numbers. C2 and D1 provide DC power to the neon oscillator circuit. DC filter capacitors are not employed or required.

When NE1 activates, current passes via an optocoupler in U1's LED, switching on the SCR and grounding D2's anode in the process.

Due to this , the LEDs get just the positive half of the AC waveform, which only illuminates the red LEDs (LEDs 1 through 30). After around one second, NE1 switches off, NE2 switches on, and U2 grounds the cathode of D3 as a result.

As a result, the LEDs get only the negative half of the AC cycle, which only illuminates the green LEDs. You may decrease the values of R1 and R2, and increase the value of capacitor C3 to decrease the frequency, in case you want to reduce the red/green alternating rate to less than one second.

You'll also like:

  • 1.  PIR Solar Home Lighting Circuit
  • 2.  7 Automatic Street Light Circuits [Using Relays and Solar Panel]
  • 3.  Light Emitting Diodes (LED) Explained
  • 4.  Make this Red LED Sign Circuit
  • 5.  LED Light Circuit for Street Vendors, Hawkers, Shopkeepers
  • 6.  Making a 10/12 watt LED Lamp with 12 V Adapter

About Swagatam

I am an electronics engineer with over 15 years of hands-on experience. I am passionate about inventing, designing electronic circuits and PCBs, and helping hobbyists bring their projects to life. That is why I founded homemade-circuits.com, a website where I share innovative circuit ideas and tutorials. Have a circuit related question? Leave a comment.... I guarantee a reply!

Previous Post: « How Mosquito Traps Work
Next Post: Industrial Valve Switching Detector Indicator Circuit »

Reader Interactions

Comments

  1. Akshay Khaladkar says

    February 14, 2023 at 5:15 pm

    Hello Sir, Can we modify the circuit with three push buttons one each for turning ON red LED, green LED and switching OFF.

    I was planning to make a portable multi-color (red, green one at a time) blinking LED torch. It should be visible from at least 1km. Would a 3W SMD LED would be appropriate for it. Also it would be helpful if you could help me with the circuit.

    Reply
    • Swagatam says

      February 14, 2023 at 6:39 pm

      Hello Akshay,
      You can try the first circuit from the following article:
      https://www.homemade-circuits.com/single-push-10-step-selector-switch/
      Replace the relay coils with your LEDs.
      Use TIP122 for the transistors

      Reply
  2. Sunil says

    May 29, 2018 at 4:49 pm

    Hi Swagatam,

    One of my friend request me to repair his bi-color (26 nos) LED series. It is china mfg low cost lighting operated in AC current through 4 diodes. Also there is Resistor attached with each LED. How the thing are working on that High voltage using only 4 diodes and resistors?

    Reply
    • Swagatam says

      May 29, 2018 at 5:47 pm

      Hi Sunil, may be the resistor values are very high, could you tell me what value resistors are used? or you can investigate a little more and check what exactly are used in addition to the 4 diodes to step down the input current.

      Reply
  3. Abdulbasit says

    October 18, 2017 at 8:42 pm

    Hello sir i have 4 pin 8mm led full color sir i wanted to run 300 leds of that so u have any circuit for that

    Reply
    • Swagatam says

      October 19, 2017 at 5:54 am

      Hello Abdul, you can try the following concept

      https://www.homemade-circuits.com/2014/04/simplest-100-watt-led-bulb-circuit.html

      make 3 strings of 100 LED each, and connect them in parallel.

      calculate the value of the input capacitor as per the current specs of the LED

      Reply
  4. satheesh k Nalluswamy says

    March 20, 2016 at 7:35 am

    Sir ,
    I did the test twice, i have use bicolour but only shining red color. What will be my fault in this? I'm waiting for your advice.

    Reply
    • Swagatam says

      March 20, 2016 at 2:21 pm

      Hi Satheesh, yes, SCR1 is incorrectly configured in the first circuit, therefore the circuit might not work, I have designed another one which is shown at the end of the article, you can try that….or alternatively you can try using a 3-pin Bicolor LED with the first circuit by inverting the SCR1 and a few other minor modifications.

      Reply
  5. satheesh k Nalluswamy says

    February 27, 2016 at 8:10 pm

    Sir,
    Good day to you I looked at doing this. However, only shining red color. Not two-color fluorescence What is the solution? So please provide you suggestion I have used c1 20k pot

    Reply
    • Swagatam says

      February 28, 2016 at 8:10 am

      satheesh, did you connect the ground of the circuit with the SCR ground?

      and make sure both the outputs of the IC are oscillating.

      and if possible first check the LED series manually by changing the supply polarity with an external DC power supply and check whether or not the LEDs illuminate with their specified twin colors?

      Reply
  6. Daniel Boulanger says

    January 13, 2016 at 4:59 am

    Me again,

    What type of modification could be applied to the circuit so that the leds are fading from one color to the other instead of switching ?

    Reply
    • Swagatam says

      January 13, 2016 at 7:17 am

      fading effect will require further stages to be included, which can make the design complex.

      Reply
  7. Daniel Boulanger says

    January 13, 2016 at 4:36 am

    Hi, I'm assuming that this circuit is designed for main AC voltage of 220 V, right ? (Roughly 2V per led, 100 of them).

    What is the value of the potentiometer P1 ? As per the provided values, the switch between red and green would occur roughly 2.2 times a second, assuming P1 is at the zero mark. Putting a 10K pot would max out the switching rate to roughly once every 5 seconds or so. Which value are you using or tested with ?

    How much current will this deliver to the leds and how do you calculate it ?

    Isn't connecting the main ac neutral to the circuit ground a risky practice ? What if the mains AC neutral and line wire are reversed ? Wouldn't that expose the user to potential risks ?

    It should be CLEARLY stated that the ground shown on your drawing ISN'T the earth ground from the mains otherwise if the mains wires are swapped, there will be a good surprise when the user will connect his project. It will flash indeed, but not the expected way.

    Reply
    • Swagatam says

      January 13, 2016 at 7:14 am

      I have presented the concept only, rest can be investigated by the interested users.

      I am happy that most people here are courteous and respectful to me for my contributions and I acknowledge their immense love and trust and am thankful to them

      you can refer to the datasheet of the IC 4047 for finding the correct values of the pot and the capacitor.

      the ground in any electronic circuit refers to the negative of the circuit, that's an understood fact.

      I have provided enough warnings in this site regarding the consequences of playing with electronics and electricity without adequate knowledge and ignorance, so that makes everything clear.

      Reply
  8. basit momin says

    July 2, 2015 at 3:17 pm

    Hello sir……if I want to run 50 led Series and another 50 leds series in parallel total 100 leds then it will work

    Reply
    • Swagatam says

      July 3, 2015 at 6:21 am

      Hello Basit, yes it will work, just connect a 100 ohm resistor with each series.

      Reply

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

Your email address will not be published. Required fields are marked *

Primary Sidebar

Subscribe to New Circuit Ideas

Categories

  • Arduino Projects (87)
  • Audio and Amplifier Projects (132)
  • Automation Projects (17)
  • Automobile Electronics (101)
  • Battery Charger Circuits (83)
  • Datasheets and Components (104)
  • Electronics Theory (143)
  • Free Energy (37)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (19)
  • Health related Projects (25)
  • Home Electrical Circuits (12)
  • Indicator Circuits (14)
  • Inverter Circuits (87)
  • Lamps and Lights (142)
  • Meters and Testers (69)
  • Mini Projects (46)
  • Motor Controller (64)
  • Oscillator Circuits (27)
  • Pets and Pests (15)
  • Power Supply Circuits (108)
  • Remote Control Circuits (50)
  • Security and Alarm (64)
  • Sensors and Detectors (101)
  • Solar Controller Circuits (59)
  • Temperature Controllers (42)
  • Timer and Delay Relay (49)
  • Transmitter Circuits (29)
  • Voltage Control and Protection (37)
  • Water Controller (36)

Calculators

  • Battery Back up Time Calculator
  • Capacitance Reactance Calculator
  • IC 555 Astable Calculator
  • IC 555 Monostable Calculator
  • Inductance Calculator
  • LC Resonance Calculator
  • LM317, LM338, LM396 Calculator
  • Ohm’s Law Calculator
  • Phase Angle Phase Shift Calculator
  • Power Factor (PF) Calculator
  • Reactance Calculator
  • Transistor Astable Calculator
  • Transistor base Resistor Calculator
  • Voltage Divider Calculator
  • Wire Current Calculator
  • Zener Diode Calculator
  • Filter Capacitor Calculator
  • Buck Converter Calculator
  • Boost Converter Calculator
  • Solar Panel, Inverter, Battery Calculator
  • Wire Current Calculator
  • SMPS Transformer Calculator
  • IC SG3525, SG3524 Calculator
  • Inverter LC Filter Calculator

People Also Search

555 Circuits | 741 Circuits | LM324 Circuits | LM338 Circuits | 4017 Circuits | Ultrasonic Projects | SMPS Projects | Christmas Projects | MOSFETs | Radio Circuits | Laser Circuits | PIR Projects |

Recent Comments

  • Swagatam on Real MPPT Solar Charger Circuit Using Arduino, LCD, and Manual/Auto Switch
  • Obaidullah Khan on Real MPPT Solar Charger Circuit Using Arduino, LCD, and Manual/Auto Switch
  • Swagatam on 2 Compact 12V 2 Amp SMPS Circuit for LED Driver
  • Alan Bishop on AC Motor Speed Controller Circuits using Back EMF
  • Swagatam on Real MPPT Solar Charger Circuit Using Arduino, LCD, and Manual/Auto Switch

Company

  • Privacy Policy
  • Cookie Policy
  • About Me
  • Contact
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Quora
  • Stack Exchange
  • Linkedin
  • © 2025 · Swagatam Innovations