• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Get free circuit help 24/7

  • 1000+ Circuits
  • Privacy Policy
  • About Us
  • Contact
  • Disclaimer
  • Videos โ€“ Circuit Test Results
You are here: Home / Decorative Lighting (Diwali, Christmas) / LED Fader Circuit – Slow Rise, Slow Fall LED Effect Generator

LED Fader Circuit – Slow Rise, Slow Fall LED Effect Generator

Last Updated on March 1, 2020 by Swagatam 45 Comments

The following article explains a simple circuit which can be used for alternately switching LEDs with gradual brightening and fading effects.

Circuit Operation

The circuit can be effectively used for generating spooky effects in idols, for example it can be used for illuminating the eyes of a Jack-o'-lantern during haloween celebrations.

The circuit is overly simple and requires just a couple of op amps and a few other passive components for implementing the proposed brightening and fading actions in the LEDs.

The opamps can be a couple of separate IC 741 or a single IC with dual opamp such as IC 1458, 4558 or a TL072.

The opamp A1 is used for generating a gradual rising and sinking voltage, which ranges from 3 to 6 volts.

The opamp A2 is simply configured as a comparator for supplying an alternately varying voltage between 2 and 7 volts in order to charge and discharge C1 and C2 through a constant current input.

Thus the above operations become responsible for generating a linear peak to peak ramping signal at pin#1 of A1.

This signal is amplified with a couple of transistors wired as emitter followers to pin#2 of A1. Here the LEDs become the emitter loads of the transistors.

R4, together with C1 and C2 determines the rise and fall frequency of the connected LEDs.
R4 can be replaced with a 100K pot for making the fading rate manually adjustable.

The circuit should be operated from a 12V DC power supply for supporting at two LEDs on each channel.

For accommodating more LeDs, the collector of T1 and the upper end of R7 should be connected to a separate high voltage supply  may be to a 30V supply which would then allow the connection of 6 LEDs on each channel.

Parts List for alternate brightening and fading LED circuit

  • R1, R2, R3 = 56K,
  • R4, R5 = 120K,
  • R6, R7 = 150 OHMS
  • C1, C2 = 33uF/25V
  • T1 = BC547,
  • T2 = BC557
  • LEDS = 5mm, 20mA,



Previous: How to Generate PWM Using IC 555 (2 Methods Explored)
Next: How to Control Motor with a Cell Phone

About Swagatam

I am an electronic engineer (dipIETE ), hobbyist, inventor, schematic/PCB designer, manufacturer. I am also the founder of the website: https://www.homemade-circuits.com/, where I love sharing my innovative circuit ideas and tutorials.
If you have any circuit related query, you may interact through comments, I'll be most happy to help!

You'll also like:

  • 1.  Digital Christmas Candle Light Circuit
  • 2.  Make an Electronic Candle at Home Circuit
  • 3.  Remote Controlled Fish Feeder Circuit – Solenoid Controlled
  • 4.  3 Automatic Fish Aquarium Light Optimizer Circuits
  • 5.  Switching Two Alternate Loads ON/OFF with IC 555
  • 6.  Arduino Random RGB Light Generator Circuit

Please Subscribe (Only if you are Genuinely Interested in our Newsletters)


 

Reader Interactions

Comments

    Your Comments are too Valuable! But please see that they are related to the above article, and are not off-topic! Cancel reply

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

  1. Search Related Posts for Commenting

  2. Rich Gewax says

    Hi Swagatam, just wanted to touch base with you about this circuit I built. I troubleshot the circuit and found a bad transistor; which I probably damaged due to my novice soldering skills. lol
    The circuit you helped me modify for the 12V ‘Superflux’ leds works great. I used it to power the eyes, heart and mouth of the Dragon I carved for the small boat I built. I entered my boat into the ‘Off Center Harbor’s’ “Worldwide Classic Boat Show” and it was accepted!
    I included two pictures of my Dragon with the LEDs powered up for my boat’s description. If you’d like to see my entry, please go to the boat show ‘Entry’ page:
    https://classicboatshow.com/listing/whispr-16-redmond-whisp-skiff-2019/
    The ‘virtual show’ begins 2/19/21 at 2:00pm Eastern time.
    Thanks again for your help on this circuit. It does just what I wanted and makes the Dragon look very cool!
    Regards,
    Rich

    Reply
    • Swagatam says

      That’s amazing Rich, I am glad you could make it successfully, however, the link that you have attached seems to have expired, and there are no images in it. Would be great if you could resend them!

      Reply
  3. Rich says

    Hello Swagatam, I am once again bothering you about this circuit….
    Ordered the parts from Digikey, including the 2n2222 (T1) and 2n2907 (T2) as you suggested to support use of the quad-LEDs (Superflux) each drawing 80 mA. I built the circuit on a 1/4 size breadboard, hooked my 12 Vdc power supply to it and, Voila, it worked! Hooray!
    I inserted a 100Kohm trimmer pot in place of R4 to adjust the fade duration and I was amazed that I didn’t screw it up the first time through.

    So, I then carefully built the circuit on a thru-hole prototype board, checked and re-checked my diagram, examined the board with a magnifying glass looking for newbie (which I am in spades) mistakes like solder bridges, cold joints or mis-wired connections. Everything looked good, so I applied 12V. No smoke, no sparks, no obvious failures, but here’s all that happens:
    -Power on
    -White LED (T2) briefly lights, goes out, no fade; just on, then off.
    -Blue LED (T1) then lights at what appears to be full brightness and stays on.
    -No rise/fall of brightness, no subsequent alternation.
    -Power off.

    Help in troubleshooting please!
    I’ve popped the LM358 out of its DIP socket, replaced it with a spare; no change in operation.
    Used my VOM to check continuity as I rechecked my circuit diagram.
    Replace the PNP transistor because I ‘thought’ -11Vbe showed it to be a shorted device. No change in operation.
    Re-cleaned board with Isopropol Alcohol and a soft brush.
    Used magnifying glass and dental pick to make sure there was no path between through hole groups.
    Re-drew the circuit using the prototype board circuit as a guide and compared to original diagram; both identical.

    The circuit worked on the bread board beautifully, didn’t work once I soldered it to the prototype board; so, I must have messed up somehow! I’m at a loss as what to try next. Any suggestion(s) would be much appreciated.
    Sorry for my long-winded message, but I thought I should be thorough.
    Regards,
    Rich

    Reply
    • Swagatam says

      Thank you Rich for the detailed explanation, and glad you could breadboard it successfully. However it seems difficult to judge the fault in this case especially because the stripboard soldering is supposed to be more reliable than a breadborad assembly.

      Did you recheck the op amp orientation? sometimes the solder side view can be confusing and assembler can end up numbering the IC pins in the reverse direction.

      Reply
  4. Rich says

    Hello, I hope you can help me adjust component values to allow the use of two (one for each leg) Oznium ‘Prewired Superflux 4 chip LEDs’.

    Your circuit design is functionally exactly what I’m looking for, but being a ‘digitally-challenged-newbie’, I am at a loss as to what component/values need to be changed.

    The Superflux LEDs are designed to work at 12v and each unit draws 80 mA.

    Thanks in advance.
    Rich

    Reply
    • Swagatam says

      I guess those are same as the PIRHANA LEDs, and you can very easily use the above circuit simply by replacing the NPN transistor with a 2N2222 and the PNP with a 2N2907

      Reply
      • Rich says

        Swagatam, thank you very much for the prompt reply to my question! I will go about sourcing the parts list components to breadboard this circuit. Looking forward to success at this new hobby. Your help in this project is really encouraging!
        Regards,
        Rich

        Reply
        • Swagatam says

          No Problem Rich, wish you all the best with the project!

          Reply
  5. Norman Kelley says

    Hi Swagatam,
    Adding the 4148 diodes in series with the red LEDs works. I actually added three 4148 diodes in series with the red LEDs and the timing for the red and blue LEDs is almost identical. Thanks so much for your help!

    Reply
    • Swagatam says

      Sounds great Norman, I am glad it worked for you!

      Reply
  6. Norman Kelley says

    Hi Swagatam,
    The circuit works great with both sets of LEDs being the same color. I would like one set red and one set blue. When I breadboard with one set red and the other set blue, the red does not stay off as long as the blue. What can I change in the circuit to get the red and blue to mimic each other as far as time on and time off?

    Reply
    • Swagatam says

      Thanks Norman, It could be due to higher minimum forward voltage of blue LEDs than the red ones. Reducing blue led fwd voltage may not be possible, so may be you can try increasing the red LEDs fwd voltage by adding a 1N4148 diode in series with the red string. After this you can increase the C1, C2 values to 47uF and check the response.

      Reply
  7. Jan Wachter says

    LED Fader Circuit โ€“ Slow Rise, Slow Fall LED Effect Generator
    Dear Mr. Swagatam,
    As a Designer and artist completely untouched by the miracles of electrotechnical engineering, I seek your advice as it seems to me that you are a master of your trade.
    Iam looking for a simple and foremost small little electronical module that can fade one (or more) white LEDs veeery slowly up and down in an interval of around 30 seconds or more. It must run on 12V DC. And no programming required. A simple hardware solution that lasts. Assembled it should not be bigger than 4×4 cm in width/depth and 3 cms in heigth. Its is planed to add a very subtle glowing effect to a small lamp I am building .
    some of your described circuits seem to be quite close to my requirements.
    However, as my lack of skill doesnt allow me to make the right adjutments to your circuits by myself, I may kindly asked you to help me with an adapted diagram and a partslist that will fit my needs?
    Im a good craftsman, soldering and assembly shouldnยดt impose any big problems on me.
    I voluntarily can compensate you for your efforts.
    With best regards
    Jan Wachter

    Reply
    • Swagatam says

      Thanks Jan, you can probably try the following two designs:
      https://www.homemade-circuits.com/wp-content/uploads/2020/05/741-fader.png

      https://www.homemade-circuits.com/wp-content/uploads/2020/05/fade-circuit.jpg

      the second design can be simplified by eliminating the BC547 stage and replacing it with TIP122/LED section

      Reply
      • Swagatam says

        The resistors are 1/4 watt 5%, LED is 20 mA, 5 mm type

        Reply
  8. Adeel ur Rehman says

    Hey,
    I want to design the soft start and soft stop circuit to drive 12 volts solenoid valves. I have a switch connected to turn on/off. Can you please help in designing a ramp circuit.

    Reply
    • Swagatam says

      Hey, you can try implementing an transistor emitter follower with a capacitor across base/emitter, and the solenoid load across emitter ground. The details of an example circuit are as follows:

      TIP122 transistor, with base connected to positive via 1 k.
      100uF/25V capacitor connected across base/ground.
      Load connect across emitter/ground
      collector connected directly to positive

      Here ground refers to the negative line from the supply

      Reply
      • Adeel ur Rehman says

        Thank you so much for your help. I have simulated the circuit it works fine during the soft start but soft stop is too fast. when i try to change the capacitance to achieve the required ramp at soft stop the time of soft start increases more than desired amount. Any solution for this?
        Your help is much much appreciated.

        Reply
        • Swagatam says

          No problem, you can try putting the capacitor between two resistors, meaning put two series resistors 1k + 1k or other values, and put the capacitor between the junction of these two resistors, and ground.

          Reply
  9. Andrew says

    First, thank you. I appreciate the time and effort afforded to this website and the wealth of knowledge within.

    Unfortunately, I see a problem in this schematic. Vcc+ connects pin 8 on the 4558 and 1458; and to pin 7 on the 741 and TL078. Pin 4 is Vcc- on all 4 chips. So, what you labeled as pin 4 should be pin 8; and what you labeled as pin 11 should be pin 4. It is also a little confusing to see 2 op amps symbols (which are both 8 pin chips), but they appear to be labeled to match an 8 pin dual op amp.

    I hope this info helps future readers. Again, thanks for your time … and the circuits.

    Reply
    • Swagatam says

      Thank you for notifying the correction, I have updated the new diagram accordingly.

      Reply
  10. Abhinandan Sharma says

    i am using an led light strip.. the circuit is correctly connected but the fading effect is not shown.. what should i do now?

    Reply
    • Swagatam says

      did you connect the 741 pinouts correctly? use a single LED or 2 LEDs as shown in the diagram to test the effect, don't use strip.

      Reply
    • Abhinandan Sharma says

      yes i have used all connections correctly also i have tested the circuit for single led but the result is the same… should i connect the +ve terminal of power supply to pin #7 and negative to pin #4?

      Reply
    • Swagatam says

      how can you say you did everything correctly when you have not connected the pin4/7 to the supply rails?

      obviously you must connect them to the supply, otherwise how will the IC work…?

      Reply
  11. Abhinandan Sharma says

    have i used the correct opamps?? there is no #9 and #11 pin on opamp A1

    Reply
    • Swagatam says

      for IC 741, pin#7 is the positive supply, and pin#4 is the negative supply pins.

      pin#3 is the (+) input pin

      Pin#2 is the (-) input pin,

      pin#6 is the output.

      you must modify the connections according to this

      Reply
    • Abhinandan Sharma says

      but in the circuit given there is no connection of power directly to the IC through pin #t and #4

      Reply
    • Swagatam says

      the diagram shows a dual opamp IC, that means two opams in one package.

      Reply
  12. Abhinandan Sharma says

    What is A1 and A2?? I made the whole circuit,connected everything but it's not working.. i used IC 741 as A1 and A2

    Reply
    • Swagatam says

      A1 and A2 are opamps, please check all the connections once again and also the polarity of the capacitors…you can also try reducing the voltage to test the response

      Reply
  13. kikira says

    Good morning sir,
    THANK YOU VERY MUCH…. ๐Ÿ™‚ ๐Ÿ™‚ ๐Ÿ™‚
    K.Kausik

    Reply
  14. kikira says

    Sir,
    I'm really sorry. Apologizing for any kind of mistake.
    I didn't maintain the name with any kind of intention.
    Actually I always try to gather information before asking you anything,just to provide you more free time,that you may help others, all over the world. Not only me but the visitors out of India also appreciate your attitude to help and responsibility to answer as soon as possible. And that adds some extra colour in your website and it's the only green tree in the desert.
    I really feel proud to you and like to pray for your prosperity and happiness.
    Again I'm really sorry for any kind of mistake.
    Thanking you,
    K.Kausik

    Reply
    • Swagatam says

      Kaushik, please do not apologize, I know that you innocently included the external link without knowing that such links were not acceptable in most websites….

      You are one of the avid and dedicated readers of this blog and I appreciate and value your involvement very much.

      So please keep up the good work and feel free to comment whenever you have a query or doubt regarding anything in electronics.

      Reply
  15. kikira says

    Sir,
    Sorry for reposting …..
    Thanks for kind and quick response….
    k.Kausik

    Reply
    • Swagatam says

      No problems kuashik…keep up the good work

      Reply
  16. kikira says

    Good morning sir,
    There were a request,that I posted here yesterday but somehow it didn't appear here ! ! ! !….
    Actually I want to control a 5Mts led strip(China made,with its own power supply;12v, .75amp ).
    Is it possible with 555ic and/or what will be the transistor value.
    I have done with another page that explains different types of fader circuit with 555ic. And there are 139 no of comments and I'm not so wise to find out the definite solution. So I'm here to disturb you. Any suggestion….
    Thanking you,
    K. Kausik

    Reply
    • Swagatam says

      Good Morning kaushik,

      comments once posted will 100% reach me, it might get slightly delayed but all will be answered appropriately.

      If you want to use a 555 circuit, you can build any standard IC 555 astable circuit and use the transistor stage which is explained in the above article along with C1/C2 with its pin#3 for the same results.
      Simply by connecting the C1/C2 end with pin#3 of the IC 555 astabe you should be able to get the identical fading effect from a 555 circuit also.

      Reply
    • Swagatam says

      Kaushik, I did not publish your last comment since you had an added an external electronic site's link in it (sorry that's not acceptable here)

      I 'll surely try to answer your queries in my free time…

      Reply
  17. kikira says

    Sir,
    I want to control a 5mts(China made) led strip available in the market with its own power supply(12v,.75amp). Then which ckt is most useful;this one or any 555 one,explained in another post(actually there are 139 comments and I'm not so wise ๐Ÿ™ !!! ). Please inform with desired transistor values.
    Thanking you,
    K. Kausik

    Reply
  18. Anil Kumar. K says

    Hi Swagatham,
    Sorry, I forget to tell you this important things.
    My IC is LM358, LED…..1 blue led with series resistance 330ohms. Its ok now with c945 transistor. But I would like to control many leds using N mosfet.

    Reply
    • Swagatam says

      Hi Anil, If the circuit is working well with BJTs as recommended in the design then I think it's better to use BJTs only instead of mosfets which are not giving proper results.

      you can try 2N2222/2N2907 or 8050/8550 in place of BC547/BC557 and use many number of LEDs in series/parallel combinations as per your requirement.

      also you can try replacing R2, and R4 with 100K and 1M pots for getting an adjustable feature from the design

      Reply
  19. Anil Kumar. K says

    Hi Swagatham
    Thanks in advance.
    I assembled this circuit. R1 & R2 47k and R4 150k, T1 2sc945. Supply 12VDC. Circuit did not worked. LED always ON.
    I reduced supply voltage to 9v, R2 to 33k. Then the fading effect started. But rising and falling were not perfect. I replaced R4 with 1megaohms. Now rising-falling timing ok as I desired.
    I replaced c945 with N-mosfet 50n06. Again I lost fading effect. LED always ON. I changed supply 9v to12v. But no benifit.

    I have many 50n06 N channel mosfets stock. I want to control 2 channel LEDs, 1 fade ON then the 2nd fade OFF with 2 N-Mosfets. Supply must be 12v.

    Reply
  20. dhivya krishnan says

    Hiii this project is very useful sir.. I have a doubt how to connect audio jack with a mobile phone …

    Reply
    • Swagatam says

      Hi, thanks, why do you want to connect it with a cell phone audio?

      this is not a music level indicator circuit……

      Reply


  21. COMMENT BOX IS MOVED AT THE TOP


Primary Sidebar

Electronic Projects Categories

  • 3-Phase Power (15)
  • 324 IC Circuits (19)
  • 4017 IC Circuits (51)
  • 4060 IC Circuits (25)
  • 555 IC Circuits (92)
  • 741 IC Circuits (18)
  • Amplifiers (49)
  • Arduino Engineering Projects (82)
  • Audio Projects (84)
  • Battery Chargers (75)
  • Car and Motorcycle (87)
  • Datasheets (45)
  • Decorative Lighting (Diwali, Christmas) (31)
  • DIY LED Projects (81)
  • Electronic Components (97)
  • Electronic Devices and Circuit Theory (35)
  • Electronics Tutorial (99)
  • Fish Aquarium (5)
  • Free Energy (34)
  • Games (2)
  • GSM Projects (9)
  • Health Related (17)
  • Heater Controllers (23)
  • Home Electrical Circuits (98)
  • Incubator Related (6)
  • Industrial Electronics (26)
  • Infrared (IR) (39)
  • Inverter Circuits (94)
  • Laser Projects (10)
  • LM317/LM338 (21)
  • LM3915 IC (24)
  • Meters and Testers (54)
  • Mini Projects (153)
  • Motor Controller (64)
  • MPPT (7)
  • Oscillator Circuits (12)
  • PIR (Passive Infrared) (8)
  • Power Electronics (33)
  • Power Supply Circuits (66)
  • Radio Circuits (9)
  • Remote Control (46)
  • Security and Alarm (56)
  • Sensors and Detectors (115)
  • SG3525 IC (5)
  • Simple Circuits (72)
  • SMPS (30)
  • Solar Controllers (60)
  • Timer and Delay Relay (51)
  • TL494 IC (5)
  • Transformerless Power Supply (8)
  • Transmitter Circuits (38)
  • Ultrasonic Projects (12)
  • Water Level Controller (45)

Follow Homemade Circuits

Facebook
Twitter
YouTube
Instagram
My Facebook-Page
Quora

Feeds

Post RSS
Comment RSS

Circuit Calculators

  • AWG to Millimeter Converter
  • 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
  • Small Signal Transistor(BJT) and Diode Quick Datasheet
  • Transistor Astable Calculator
  • Transistor base Resistor Calculator
  • Voltage Divider Calculator
  • Wire Current Calculator
  • Zener Diode Calculator

© 2021 · Swagatam Innovations