Throbbing/Fading/Flashing LED With 555 Timer

201K257215

Intro: Throbbing/Fading/Flashing LED With 555 Timer

This tiny circuit is a simple way to make a fading led without having to program chips or writing code. Just a few simple components and you're ready to fade all day.
The end result is a constant fade up and fade down just like a Mac on standby.
Try it! See how small you can build it.
If you like it rate my Instructable. If you don't, rate my Instructable.

STEP 1: Gather Tool and Components

For this project you will need:

Electrical Components

470 ohm resistor (or a resistor to drop the current for your desired led from around 8 volts.)
33k resistor ( or a 100k potentiometer for adjustable fade times)
LED ( I used Blue)
100uf Capacitor
555 Timer
Generic NPN Transistor
Copper clad board. breadboard, or project board.

Tools

Dremel or other rotary tool for drilling
1/32" drill bit for wires
Cutting wheel or tin snips if necessary to trim board down
Soldering iron
Scotchbrite pad or fine sandpaper. ( I used sandpaper because it happened to be there)
Muriatic Acid (concrete cleaner or pool chemical) Home Depot and other hardware stores have it.
Hydrogen Peroxide (standard wound cleaner) Found in drugstores, grocery stores, you probably have some at home.


Misc
Latex or Nitrile Gloves
Acetone to clean ink off of board after etch.
Outdoors area to etch in
Plastic or glass container to put etchants in.
Helping Hands clamp with magnifying glass (nice to have a third hand)
I've included the files for Express PCB software. Free download.

STEP 2: Breadboard It

Break out the breadboard and proto it up.

555 Timer
Pin 1- To Ground
Pin 2- Jumper to Pin 6, Jumper to Base of NPN
Pin 3- 33k resistor to base of NPN
Pin 4- Jumper to Pin 8
Pin 5- NC
Pin 6-Jumper to Pin 2
Pin 7-NC
Pin 8-Jumper to Pin 4, Connected to Positive voltage

Emitter of NPN to 470ohm resistor to LED
Base of NPN to + side of cap, then ground - side
Collector of NPN to + voltage

STEP 3: Getting Started

For these boards, I took my schematic and predrilled the pcb before I drew the traces. This gave me a little more flexibility when drawing. It works well for one sided board but once you start the two sided boards, it can cause problems.
I used a dremel and a 1/32" bit and hand drilled them. As long as you're careful and make sure you aren't driling at an angle, you can hand drill your holes contrary to popular belief.

I knew I'd be making more of these so I took an old broken jewel case from a CD and used it as a drilling template.

Once you have the schematic and your traces routed, transfer or draw it on the board. I used the drawing method due to the simplicity of the circuit. For a more complex circuit or for a more streamlined process, you might look into the toner transfer method. Anything you draw on the copper will not be dissolved by the acid. I drew the traces and then filled all of the "dead space" with more ink. This was to speed up the etching process. The more copper you're etching, the longer the etch takes.

Once you're all inked up, step outside with our acid and our peroxide.

STEP 4: Let's Get Etching

Now that you've got your schematic inked and your Muriatic Acid and Peroxide, let's mix our etching agent. Get yourself a hard plastic container to pour these chemicals in. I like to use a container that is about the size of the board I'm etching to cut down on necessary etchant.
Grab some gloves and put them on or risk chemical burns. I've splashed it on myself and it does burn.
Mix around two parts peroxide to one part acid into your container. Always add the acid to the peroxide and pour the acid down the side of the container instead of splashing it into the middle. This should cut down/eliminate splashing. Drop the board in and lightly agitate the fluid around the board by swirling it. This step is not necessary but it will cut down on etching time. This particular etch took less than two minutes. The container will get hot so be very careful. Grab yourself a plastic fork to manipulate the board and a small container of water to dunk the finished board in upon completion.

STEP 5: Clean Up the Etched Board

Grab your acetone, rubbing alcohol, or other ink cleaner and get rid of all the marker. I dropped my board into a small container with a bit of acetone and swirled it around. The marker just floated off. Retreive the board, dry it off, and we're ready to start the electronic side of it.
At this point you can resand/scrub the board if you want to clean it further and bring back that shine. It will oxidize again so don't spend too much time on it.

STEP 6: Let's Solder

At this point, you might want to fire up the soldering iron and get your components out.

We need:
The 100uf Capacitor
Blue LED
33k Resistor
470 ohm Resistor
555 Timer
NPN Transistor (PNP will not work)
Our freshly etched board

The rest is easy. Place components making sure to keep polarity in mind. The top left pin with the circle next to it is pin one on the 555 timer. Both the capacitor and the LED have one long lead and one short lead. The long lead is the annode which is the positive side and the cathode is the shorter side.

Push the leads through the holes and bend them slightly on the other side to prevent them from falling out.

Solder away and power it up.
Wait... I forgot to add hole for power wires.
Actually I just forgot to drill them.
Hook up your 9v battery and apply positive to pin 8 and negative to pin 1. After a few seconds the LED should fade up, hold, and then fade back down. Lather, rinse, repeat.

http://www.youtube.com/watch?v=o9f3BoPnGu0

STEP 7: Done

You can solder on the wires for a battery terminal and connect as you please.
Or add a switch and turn it on at your discretion.
Check out a short vid here.
http://www.youtube.com/watch?v=o9f3BoPnGu0
I'll try to get a schematic up soon.

Props to this instructable
https://www.instructables.com/id/Beating_LED_Heart_Picture_Frame
Same basic schematic, different implementation.

Enjoy and thanks for reading.

199 Comments

Here's the detailed schematic I printed to etch and drill my PCBs. Keep in mind that this image was flipped to hopefully reduce confusion. You're looking at the top of the board.

The plus signs (+) are there to help with the polarity. They do not mean that you connect the positive voltage there.

The main problems I had when prototyping this project were the following.

Capacitor polarity
LED polarity
Proper/improper orientation of the NPN transistor.

Hopefully this clears things up a bit. Post a comment if you have any further questions or if you get it to work. And don't forget to rate my instructable.
*ETA*
The orientation of the resistors usually does not matter though the capacitor, the led, the transistor, and the timer MUST be positioned correctly.
How much current does this circuit draw? How long will a new 9V battery last?
What would be needed to drive say 10amps? I would like to be able to use something like this to controll 300+ 70ma leds. Would this be able to do it or do i need to try and find something else? Ive looked for an "off the shelf" controller but ive had no luck on a breathing controler.
This circuit should be adaptable to higher current requirements as long as the transistor you choose will handle the current required by your leds. Just look for a transistor that will handle 10A(or other current reqts) and replace the generic NPN shown in the circuit. You’ll also want to ensure that you have current limiting resistors for your leds to avoid burning them up.
Great simple Instructable! Now I don't have to use an Arduino Nano when I need pulsing LEDs!

Thank you, this is just what I was looking for. One question, is it possible to design the circut to run off 5v? So it could be powered with USB? thank you

Depending on what you’re using it for, it should light a single led at 5V. You might need to change the values of the resistor but I have not tried 5V myself.
Doing a project which includes 50 LEDs 10 of which are always on and have a momentary spdt button which activates the pulse circuit as long as the button is being held. Had these PCBs printed. Thanks for helping me with this!

For those of you who are looking for the schematic:

Can I swap the transistor out for a TIP120 to get more current to use long LED strip?

How would i wire this up to a totlt switch and make it shut itself off after 10 seconds?

What size capacitor is that? I'm using a 16v 100uf and the led just stays constant.

Great tutorial! How would I go about making a few LEDs pulse in sequential order? For example, LED #1 slowly lights up to full brightness, then decreases in brightness at the same rate LED #2 increases to full brightness, etc...

Can this be done without programming an attiny chip?

Thanks!

If I wanted to have a series of LEDs would I need to change any of the components?

Assuming the voltage source is enough to drive the series of leds, the only thing you have to worry about is that the transistor will handle the current required by the strip.
For example, we want to drive 10 normal leds at a full brightness of 20mA each, your transistor would need to be able to handle 20mA* 10 led= 200ma. If you're using a 2n2222 transistor, you should be fine.

Let me know how many and what kind of leds you're using and I'll try to be more specific.

Good luck!

CB
I see no reason that would be a problem. If you do switch it out, please add a video or a picture and let us all know how it goes.
More Comments