Simple 555 timer curcuit. very basic. flash an led on and off.

video included

Step 1: Get Parts

you will need:

- 1x ne/se 555 timer IC chip.
- 1x solderless breadboard
- 1x source of 8 or more volts (i had 18)
- 1x 5V voltage regulator (if you dont have one you can use a 6v lantern battery.
- 2x 0.5k resistor (you can use anything from 0.5 to 1.5)
- 2x resistor (i used 2 and 5k, it would be better to use higher values)
- 2x 47 Uf electrolitic capacitors. (these can vary)
- 1x flasher led (red)

Optional components:

- 1x power led(green)
- 1x 300 uf electrolitic capacitor (value can go lower, this just prevents spikes)
- 1x switch
<p>I want to create a 555 timer relay alarm. one powersupply and a 5 volt relay from Canada robotix would be attached to a Cds cell. the three relay output would attach to the 555 timer with the two darl transistors. Resistors 1 K ohm and 470 k ohm and 1 uf capacator (electric).</p>
<p>I made it, it runs. To change blink delay you need to change capcitor between first and second pins. And you should use a diode to more secured circuit. Because I burned my 5V Reg. </p>
<p>Hi I wanted to use the 555 timer for a solenoid because I wanted to simulate recoil for a prop gun. Is this possible? I think the solenoids require 12v</p>
<p>It is possible. Will depend on what you want your 555 to do in the circuit.<br><br>the 555 timer can be used to time the solenoid opening/closing, say for example once every few seconds, or a few times a second. The 555 can also be used for &quot;Pulse Width Modulation&quot;, if say you wanted it to return slowly or something.<br><br>If the solenoid works fine on 12 volts, figure out how much current it will draw at that voltage. Many solenoids draw over 500 miliamps, or even many amps depending on the purpose, and this kind of current would damage the 555 timer. You'll need to use a relay, opto-isolator, transistor (BJT or mosfet), or something of the sort to isolate the 555 from the solenoid to stop damage from happening.</p>
Hi I found your post very interesting to start my research with the 555 timer. I had the idea of using it to activate an step motor for a time lapse travel base that I would like to build. The only drawback I could find is using your post to promote a website that looks like a scam, selling a outdated version of a free flight simulator. (<a href="http://www.flightgear.org/" rel="nofollow">http://www.flightgear.org</a>/) Kind of left a sour taste in my mouth after following your nice explanations. Regards
Shag carpet in the background. Groovy
Or perhaps you know somewhere i can find this info?<br>
A more accurate title for this instructable would be &quot;How to assemble an LED flasher circuit using a 555 timer.&quot; Otherwise, I would suggest adding more information about the behavior of the 555 chip and what calculations/behaviors a person would need to know to make their own 555 circuit. <br>
Very nice.. What few changes will be needed to run 12v. and make the LED steady, but blink, every 20-30 seconds or so. REASON : RED LED and fiber optics to appear as eyes watching in the night darkness and blinking &gt; WHAT little animal could that be ?? A great &quot;foundation&quot; to start with... AGAIN - nice
an R1 value of 100Kohm, a R2 value of 2Kohm, and a capacitor value of 470 microfarads will produce the following result:<br>On time (t1) is 33.2 seconds.<br>Off time (t2) is 0.651 seconds.<br>Duty cycle is 98.1%.<br>Frequency is 0.0295 Hz.<br><br>To experiment with values, use this website:<br>http://www.horrorseek.com/home/halloween/wolfstone/TechBase/com555_555TimerCalc.html
can i change this from an LED to a pushbutton hack? as in use the wires that connect to the Led to hack a button so it presses every 3 or four seconds?
yepp you can use this for that. a common circuit example would be a rapid fire mouse button for games. what you need to look at is the button being triggered, a straight input wont work most of the time. for example, if the button is switching 5 volts and sending it to a controller, this will work, but if it is grounding it, or doing something else funky, it would be more effective to add some sort of electronic switch, such as a npn or pnp transistor. In curcuits that wont need to be totally accurate on timing could use a small relay to do the job.
im really not the best at electronics and all i want to do with this timer is connect it to a mouses left click so that like every four seconds. i took apart my mac mouse and i found that there is a 3 pin switch there. i was just going to randomly test the wires to find out which is positive and negative and then attach some wires from the breadboard where the LED should go onto the positive and negative of the switch.
Okay, its good that you are testing the positive and negative of the switch, but that might not work in all cases. I'm going to attach a picture of what i mean. Another thing that isn't shown in the picture, in some cases the person that made the device might have done some tricky stuff with their switches, in the example of a computer keyboard, everything has massive charliplexing, if that is the case you will need trial and error with transistors, or using relays would just work (but is slightly less timing accurate)
so im not ALL that smart so all i want to know if its possible
yea its totally possible.
sweet also, does lowering the number of ohms in the resistors make it flash less or more?
The less resistance the faster it flashes. The lower the resistance the quicker it is for the capacitor to charge and discharge.
thanks one last question, does the power source have to be 8 volts or could it be a 9 volt battery
Most 555 timers support having an input from like 5 to 12 volts. In my case i had an 18 volt input, so i used a power regulator to bring it down to 5 volts. you can power it with a 9 volt battery, but if you were connecting it to a mouse it could be damaged by 9v (depending on the components you used to connect it) but yea, a lot of people use 9 volts because they are easy.
thanks sooo much i built it and it works like a charm! i hope you like your patch! also i am having a small struggle trying to figure out how to make it so that the LED only lights up for about a second and stay off for about four....is this possible? if it is then tell me what two resistors i need to use. thanks a ton
There is some math involved to figure it out, or you can plug in the numbers to an online calculator like this:<br> <a href="http://www.horrorseek.com/home/halloween/wolfstone/TechBase/com555_555TimerCalc.html" rel="nofollow">http://www.horrorseek.com/home/halloween/wolfstone/TechBase/com555_555TimerCalc.html</a><br> <br> (just found it on google)<br> <br> in the case of this video this is what the 555 is configured to do:<br> On time (t1) is 0.228 seconds.<br> Off time (t2) is 0.0651 seconds.<br> Duty cycle is 77.8%.<br> Frequency is 3.41 Hz.<br> <br> hope that helps you find what you need.<br>
ok so i am so thankful for your help im working on it as we speak, also what happens if you run it without any resistors?
it would just go ballistic i think, im not exactly sure, it might damage parts so i wouldn't recommend it....
as in would there be enough power to connect the curcuit
&nbsp;So if you were using say a USB port of your computer you wouldn't need a voltage regulator would you as it provides a fairly consistent 5v, right?<br />
yes you could do that.<br /> <br /> but if your driving anything other than leds do not use usb power, you could risk damage to your computer with things such as motors.<br /> <br /> just make sure the circuit is built before you apply power and it should have no problems with this circuit though.<br />
What's the risk of running motors with USB power? How can you reduce or avoid the risk?
USB can only supply 500mA of current, and most motors will use a lot more then that. Because of this your motors cant run well because they cant get enough energy. Another thing is the huge voltage spikes that come off coils. The motors have coils inside that upon being disconnected from the power source (when the motor turns around) will create massive voltages back thru your electronics (in this case the computer) that can be fixed with a simple diode placed the opposite way across the motor's contacts.
&nbsp;but well, can u suugest how to choose resistor.... i have a 9v supply....and a led....which uses 3.3v...and 20mA.......what is the resistor used...?<br /> and how we come to know that LEd use 30mA?????
well if you have a 9v supply, and your leds require 20 ma, then your resistors should be 450 ohms. how do i know this? simple calculations, here goto this site, it does it for you:<br /> <br /> http://www.sengpielaudio.com/calculator-ohm.htm<br /> <br /> (put in 2 known values and it gives you 2 others, so for example in goes volage and amperage, and out will come your resistance. note: amperage is in AMPS, and 20 ma is 0.02 A!)<br /> <br /> now you could go searching everywhere for a 450 ohm resistor, but the standard resistor size for leds is normally a 470 ohm resistor, that will protect most leds at low voltages. so if you have a 470 ohm resistor that is good, just as long as it is not a value below 450 you are set.<br /> have fun!<br />
&nbsp;UR right :-)
I&nbsp;did the same exact circuit again, but with some revisions.<br /> <br /> I didn't put in power source; used 2 AA&nbsp;batteries.<br /> Put in a jumper from pin 4 to +.<br /> No capacitors for spike control.<br /> <br /> It works fine now, before it didn't work correctly.<br />
2 AA batteries provide 3 volts, that is the minimum possible voltage to power the circuit I believe. so it will only operate for a short time, and once it dips below 3 volts it wont work right.<br /> <br /> and the 2 capacitors are there because i had a very VERY bad power supply.<br />
Very good job i used to know how to make this, then forgot, the nyou helped me remember again :D. Now i shall make a... CUSTOM&nbsp;RAPID&nbsp;FIRE&nbsp;MOUSE, to use with counter strike sources double pistols :D
yes, rapid fire buttons are AWESUM<br />
JUST&nbsp;MADE&nbsp;IT. Does like 65 clicks per 10 seconds on avg. Thanks for schematic!
nice, so are you using a transistor to trigger the button?<br /> <br /> i have a mouse that had a rapidfire button built in. (it only gives you 3 clicks though, i might mod it yet)<br />
No, I just linked the output to the negative of the left mouse button.<br /> <br /> IE Before you bridged the gap in mouse button and electricity flows to negative from positive, not you just flow electricity to negative 6.5 times a second.<br />
if you get the 555 timer to be working at a fast enough pace, you wouldnt need a resistor and it will appear to be running normally. like a joule thief.<br />
Excellent job, friend. I was able to use my new breadboard also. Thanks
Here's a video I made. I used a variable resistor to change the hertz. Couldn't find my other switches so I used a rotary switch pulled from a mouse. 9V batt. much better than wall wart i.e. much smaller+less wire. <br/><embed src="http://us.i1.yimg.com/cosmos.bcst.yahoo.com/player/media/swf/FLVVideoSolo.swf" flashvars="id=14847335" type="application/x-shockwave-flash" width="425" height="350"></embed><br/>
very nice
i am going to add a video soon, i just re-installed my computer so i need to make a new video. i think i will do the entire thing from scratch and upload to youtube.
with the 5v voltage regulater can you put in any voltage higher thhan 5 volts and get 5 volts out
yea... i know
I think he was asking a question.
I have a question, when you connect the LED's to the timer, do you only get 5v at 200mA? If so, is there a way I can boost the voltage and the amperage? I also have another question, the data sheet for the LM555 states I can apply anywhere from 4.5v to 16v of voltage to the chip, can I increase the input voltage to increase the LED output voltage? thanks, un0
thats a good question. now, it depends the use you are using the timer for. if you just need it to power leds then you will only need 30-50 miliamps. now depending on the chip they can put out enough to burn out leds, so you need to put in a resistor. and yes the output of the led will increase for more voltage. now although this sounds like a good thing, if you are only running leds they will get too hot and burn out (leds tend to short themselves when they burn out so you will probably blow ur chip too) so in any case if u are usning leds above 3 volts (i think its 3) you need to put a resistor to prevent burnouts (you can use a .5K resistor at lower voltages. with 16 volts u will want a 0.7-1K resistor now if you are using it for other applications, such as running a motor. the 555 chip will probably not have enough output to run the motor. if this is the case you will need to consider a few options. you can use relays, you just need to ensure that the input voltage and output amperage exceed the rating for the coil in the relay. another oprion to consider is power transistors. (transistors that can normally take an amp or more) in that case you can hook up a small imput to the power transistor (from the 555) and then u hook up power and the motor to the other 2 pins and it will power your motor (or whatever else) in any case you need to know what your equipment is capable of handling. most things have a item number on them u can look up to get the specs.
Thank you for your reply, I am using the LM555 timer to control a lot of 3.2 - 3.4v blue LED's. I was thinking of making an amplification circuit using a simple NPN transistor, but it does not seem to be nesseccary. <br/><br/>Judging by what you have told me, I can apply any amount of voltage I want to chip (up to 16v?) and I obviously need to put a resistor. I also found out a interesting way to calculate the amount of hertz the LED will pulse at.<br/><br/>h= 1.44 / ((R1+2*R2)xC)<br/><br/>H stands for hertz (1 hurt will blink once every second) and C is the capacitor you use. In the equation however, you will need to use farads for the capacitance calculation, no micro farads. to 13mircro farads would be .00013 farads.<br/><br/>For my purpose, I want to hook an array of 25-30 blue LED's. My current plan is to push 16v through the chip. Asumming the out put will be 16v, i will have 4 LED's in series with a 20 ohm resistor. The array will draw 100 mA aporx. Will the chip survive the abuse?<br/>

About This Instructable


68 favorites

More by andrew101: How to use 555 timers Get project 64k to work in windows vista Speed up your PC without Spending a Fourtune
Add instructable to: