555 Timer - Oscillator Tutorial
555 Timer - Oscillator Tutorial
The 555 timer IC was first introduced around 1971 by the Signetics Corporation as the SE555/NE555 and was called "The IC Time Machine " and was also the very first and only commercial timer ic available. It provided circuit designers and hobby tinkerers with a relatively cheap, stable, and user-friendly integrated circuit for both monostable and astable applications. Since this device was first made commercially available, a myrad of novel and unique circuits have been developed and presented in several trade, professional, and hobby publications. The past ten years some manufacturers stopped making these timers because of competition or other reasons. Yet other companies, like NTE (a subdivision of Philips) picked up where some left off. This primer is about this fantastic timer which is after 30 years still very popular and used in many schematics. Although these days the CMOS version of this IC, like the Motorola MC1455, is mostly used, the regular type is still available, however there have been many improvements and variations in the circuitry. But all types are pin-for-pin plug compatible. Myself, every time I see this 555 timer used in advanced and high-tech electronic circuits, I'm amazed. It is just incredible. In this tutorial I will show you what exactly the 555 timer is and how to properly use it by itself or in combination with other solid state devices without the requirement of an engineering degree. This timer uses a maze of transistors, diodes and resistors and for this complex reason I will use a more simplified (but accurate) block diagram to explain the internal organizations of the 555. So, lets start slowly and build it up from there.
The first type-number, in Table 1 on the left, represents the type which was/is preferred for military applications which have somewhat improved electrical and thermal characteristics over their commercial counterparts, but also a bit more expensive, and usually metal-can or ceramic casing. This is analogous to the 5400/7400 series convention for TTL integrated circuits.
T he 555, in fig. 1 and fig. 2 above, come in two packages, either the round metal-can called the 'T' package or the more familiar 8-pin DIP 'V' package. About 20-years ago the metal-can type was pretty much the standard (SE/NE types). The 556 timer is a dual 555 version and comes in a 14pin DIP package, the 558 is a quad version with four 555's also in a 14 pin DIP case.
www.sentex.ca/~mec1995/gadgets/555/555.html
1/14
30/03/13
I nside the 555 timer, at fig. 3, are the equivalent of over 20 transistors, 15 resistors, and 2 diodes, depending of the manufacturer. The equivalent circuit, in block diagram, providing the functions of control, triggering, level sensing or comparison, discharge, and power output. Some of the more attractive features of the 555 timer are: Supply voltage between 4.5 and 18 volt, supply current 3 to 6 mA, and a Rise/Fall time of 100 nSec. It can also withstand quite a bit of abuse. The Threshold current determine the maximum value of Ra + Rb. For 15 volt operation the maximum total resistance for R (Ra +Rb) is 20 Mega-ohm.
All IC timers rely upon an external capacitor to determine the off-on time intervals of the output pulses. As you recall from your study of basic electronics, it takes a finite period of time for a capacitor (C) to charge or discharge through a resistor (R). Those times are clearly defined and can be calculated given the values of resistance and capacitance. T he basic RC charging circuit is shown in fig. 4. Assume that the capacitor is initially discharged. When the switch is closed, the capacitor begins to charge through the resistor. The voltage across the capacitor rises from zero up to the value of the applied DC voltage. The charge curve for the circuit is shown in fig. 6. The time that it takes for the capacitor to charge to 63.7% of the applied voltage is known as the time constant (t). That time can be calculated with the simple expression: t=RXC Assume a resistor value of 1 MegaOhm and a capacitor value of 1uF (micro-Farad). The time constant in that case is: t = 1,000,000 X 0.000001 = 1 second Assume further that the applied voltage is 6 volts. That means that it will take one time constant for the voltage across the capacitor to reach 63.2% of the applied voltage. Therefore, the capacitor charges to approximately 3.8 volts in one second.
Fig. 4-1, Change in the input pulse frequency allows completion of the timing cycle. As a general rule, the monostable 'ON' time is set approximately 1/3 longer than the expected time between triggering pulses. Such a circuit is also known as a 'Missing Pulse Detector'.
Looking at the curve in fig. 6. you can see that it takes approximately 5 complete time constants for the capacitor to charge to almost the applied voltage. It would take about 5 seconds for the voltage on the capacitor to rise to approximately the full 6-volts.
www.sentex.ca/~mec1995/gadgets/555/555.html
2/14
30/03/13
30/03/13
voltage level anywhere between 0 and 0.4 volt is applied to the pin. The reset pin will force the output to go low no matter what state the other inputs to the flip-flop are in. When not used, it is recommended that the reset input be tied to V+ to avoid any possibility of false resetting. Pin 5 (Control Voltage): This pin allows direct access to the 2/3 V+ voltage-divider point, the reference level for the upper comparator. It also allows indirect access to the lower comparator, as there is a 2:1 divider (R8 - R9) from this point to the lower-comparator reference input, Q13. Use of this terminal is the option of the user, but it does allow extreme flexibility by permitting modification of the timing period, resetting of the comparator, etc. When the 555 timer is used in a voltage-controlled mode, its voltage-controlled operation ranges from about 1 volt less than V+ down to within 2 volts of ground (although this is not guaranteed). Voltages can be safely applied outside these limits, but they should be confined within the limits of V+ and ground for reliability. By applying a voltage to this pin, it is possible to vary the timing of the device independently of the RC network. The control voltage may be varied from 45 to 90% of the Vcc in the monostable mode, making it possible to control the width of the output pulse independently of RC. When it is used in the astable mode, the control voltage can be varied from 1.7V to the full Vcc. Varying the voltage in the astable mode will produce a frequency modulated (FM) output. In the event the control-voltage pin is not used, it is recommended that it be bypassed, to ground, with a capacitor of about 0.01uF (10nF) for immunity to noise, since it is a comparator input. This fact is not obvious in many 555 circuits since I have seen many circuits with 'no-pin-5' connected to anything, but this is the proper procedure. The small ceramic cap may eliminate false triggering. Pin 6 (Threshold): Pin 6 is one input to the upper comparator (the other being pin 5) and is used to reset the latch, which causes the output to go low. Resetting via this terminal is accomplished by taking the terminal from below to above a voltage level of 2/3 V+ (the normal voltage on pin 5). The action of the threshold pin is level sensitive, allowing slow rate-of-change waveforms. The voltage range that can safely be applied to the threshold pin is between V+ and ground. A dc current, termed the threshold current, must also flow into this terminal from the external circuit. This current is typically 0.1A, and will define the upper limit of total resistance allowable from pin 6 to V+. For either timing configuration operating at V+ = 5 volts, this resistance is 16 Mega-ohm. For 15 volt operation, the maximum value of resistance is 20 MegaOhms. Pin 7 (Discharge): This pin is connected to the open collector of a npn transistor (Q14), the emitter of which goes to ground, so that when the transistor is turned "on", pin 7 is effectively shorted to ground. Usually the timing capacitor is connected between pin 7 and ground and is discharged when the transistor turns "on". The conduction state of this transistor is identical in timing to that of the output stage. It is "on" (low resistance to ground) when the output is low and "off" (high resistance to ground) when the output is high. In both the monostable and astable time modes, this transistor switch is used to clamp the appropriate nodes of the timing network to ground. Saturation voltage is typically below 100mV (milli-Volt) for currents of 5 mA or less, and off-state leakage is about 20nA (these parameters are not specified by all manufacturers, however). Maximum collector current is internally limited by design, thereby removing restrictions on capacitor size due to peak pulse-current discharge. In certain applications, this open collector output can be used as an auxiliary output terminal, with current-sinking capability similar to the output (pin 3). Pin 8 (V +): The V+ pin (also referred to as Vcc) is the positive supply voltage terminal of the 555 timer IC. Supply-voltage operating range for the 555 is +4.5 volts (minimum) to +16 volts (maximum), and it is specified for operation between +5 volts and +15 volts. The device will operate essentially the same over this range of voltages without change in timing period. Actually, the most significant operational difference is the output drive capability, which increases for both current and voltage range as the supply voltage is increased. Sensitivity of time interval to supply voltage change is low, typically 0.1% per volt. There are special and military devices available that operate at voltages as high as 18 volts.
Try the simple 555 testing-circuit of Fig. 5. to get you going, and test all your 555 timer ic's. I build several for friends and family. I bring my own tester to ham-fests and what not to instantly do a check and see if they are oscillating. Or use as a trouble shooter in 555 based circuits. This tester will quickly tell you if the timer is functional or not. Although not foolproof, it will tell if the 555 is shorted or oscillating. If both Led's are flashing the timer is most likely in good working order. If one or both Led's are either off or on solid the timer is defective. Simple huh? The capacitor slows down as it charges, and in actual fact never reaches the full supply voltage. That being the case, the maximum charge it receives in the timing circuit (66.6% of the supply voltage) is a little over the charge received after a time constant (63.2%).
www.sentex.ca/~mec1995/gadgets/555/555.html
4/14
30/03/13
The capacitor slows down as it discharges, and never quite reaches the ground potential. That means the minimum voltage it operates at must be greater than zero. Timing circuit is 63.2% of the supply voltage.
The discharge of a capacitor also takes time and we can shorten the amount of time by decreasing resistance (R) to the flow of current.
Operating Modes: The 555 timer has two basic operational modes: one shot and astable. In the one-shot mode, the 555 acts like a monostable multivibrator. A monostable is said to have a single stable state--that is the off state. Whenever it is triggered by an input pulse, the monostable switches to its temporary state. It remains in that state for a period of time determined by an RC network. It then returns to its stable state. In other words, the monostable circuit generates a single pulse of a fixed time duration each time it receives and input trigger pulse. Thus the name one-shot. One-shot multivibrators are used for turning some circuit or external component on or off for a specific length of time. It is also used to generate delays. When multiple one-shots are cascaded, a variety of sequential timing pulses can be generated. Those pulses will allow you to time and sequence a number of related operations.
The other basic operational mode of the 555 is as and astable multivibrator. An astable multivibrator is simply and oscillator. The astable multivibrator generates a continuous stream of rectangular off-on pulses that switch between two voltage levels. The frequency of the pulses and their duty cycle are dependent upon the RC network values.
One-Shot Operation: Fig. 4 shows the basic circuit of the 555 connected as a monostable multivibrator. An external RC network is connected between the supply voltage and ground. The junction of the resistor and capacitor is connected to the threshold input which is the input to the upper comparator. The internal discharge transistor is also connected to the junction of the resistor and the capacitor. An input trigger pulse is applied to the trigger input, which is the input to the lower comparator.
With that circuit configuration, the control flip-flop is initially reset. Therefore, the output voltage is near zero volts. The signal from the control flip-flop causes T1 to conduct and act as a short circuit across the external capacitor. For that reason, the capacitor cannot charge. During that time, the input to the upper comparator is near zero volts causing the comparator output to keep the control flip-flop reset.
Notice how the monostable continues to output its pulse regardless of the inputs swing back up. That is because the output is only triggered by the input pulse, the output actually depends on the capacitor charge.
Monostable Mode:
The 555 in fig. 9a is shown here in it's utmost basic mode of operation; as a triggered monostable. One immediate observation is the extreme simplicity of this circuit. Only two components to make up a timer, a capacitor and a resistor. And for noise immunity maybe a capacitor on pin 5. Due to the internal latching mechanism of the 555, the timer will always time-out once triggered, regardless of any subsequent noise (such as bounce) on the input trigger (pin 2). This is a great asset in interfacing the 555 with noisy sources. Just in case you don't know what 'bounce' is: bounce is a type of fast, short term noise caused by a switch, relay, etc. and then picked up by the input pin. The trigger input is initially high (about 1/3 of +V). When a negative-going trigger pulse is applied to the trigger input (see fig. 9a), the threshold on the lower comparator is exceeded. The lower comparator, therefore, sets the flip-flop. That causes T1 to cut off, acting as an open circuit. The setting of the flip-flop also causes a positive-going output level which is the beginning of the output timing pulse. The capacitor now begins to charge through the external resistor. As soon as the charge on the capacitor equal 2/3 of the supply voltage, the upper comparator triggers and resets the control flip-flop. That terminates the output pulse which switches back to zero. At this time, T1 again conducts thereby discharging the capacitor. If a negative-going pulse is applied to the reset input while the output pulse is high, it will be terminated immediately as that pulse will reset the flip-flop.
www.sentex.ca/~mec1995/gadgets/555/555.html 5/14
30/03/13
Whenever a trigger pulse is applied to the input, the 555 will generate its single-duration output pulse. Depending upon the values of external resistance and capacitance used, the output timing pulse may be adjusted from approximately one millisecond to as high as on hundred seconds. For time intervals less than approximately 1-millisecond, it is recommended that standard logic one-shots designed for narrow pulses be used instead of a 555 timer. IC timers are normally used where long output pulses are required. In this application, the duration of the output pulse in seconds is approximately equal to:
www.sentex.ca/~mec1995/gadgets/555/555.html
6/14
30/03/13
Astable operation: Figure 9b shows the 555 connected as an astable multivibrator. Both the trigger and threshold inputs (pins 2 and 6) to the two comparators are connected together and to the external capacitor. The capacitor charges toward the supply voltage through the two resistors, R1 and R2. The discharge pin (7) connected to the internal transistor is connected to the junction of those two resistors. When power is first applied to the circuit, the capacitor will be uncharged, therefore, both the trigger and threshold inputs will be near zero volts (see Fig. 10). The lower comparator sets the control flip-flop causing the output to switch high. That also turns off transistor T1. That allows the capacitor to begin charging through R1 and R2. As soon as the charge on the capacitor reaches 2/3 of the supply voltage, the upper comparator will trigger causing the flip-flop to reset. That causes the output to switch low. Transistor T1 also conducts. The effect of T1 conducting causes resistor R2 to be connected across the external capacitor. Resistor R2 is effectively connected to ground through internal transistor T1. The result of that is that the capacitor now begins to discharge through R2. The only difference between the single 555, dual 556, and quad 558 (both 14-pin types), is the common power rail. For the rest everything remains the same as the single version, 8-pin 555.
As soon as the voltage across the capacitor reaches 1/3 of the supply voltage, the lower comparator is triggered. That again causes the control flip-flop to set and the output to go high. Transistor T1 cuts off and again the capacitor begins to charge. That cycle continues to repeat with the capacitor alternately charging and discharging, as the comparators cause the flip-flop to be repeatedly set and reset. The resulting output is a continuous stream of rectangular pulses. The frequency of operation of the astable circuit is dependent upon the values of R1, R2, and C. The frequency can be calculated with the formula:
f = 1/t or t = 1/f
The time intervals for the on and off portions of the output depend upon the values of R1 and R2. The ratio of the time duration when the output pulse is high to the total period is known as the duty-cycle. The duty-cycle can be calculated with the formula:
t1 = .693(R1+R2)C t2 = .693 x R2 x C
The 555, when connected as shown in Fig. 9b, can produce duty-cycles in the range of approximately 55 to 95%. A duty-cycle of 80% means that the output pulse is on or high for 80% of the total period. The duty-cycle can be adjusted by varying the values of R1 and R2.
Applications:
There are literally thousands of different ways that the 555 can be used in electronic circuits. In almost every case, however, the basic circuit is either a one-shot or an astable. The application usually requires a specific pulse time duration, operation frequency, and duty-cycle. Additional components may have to be connected to the 555 to interface the device to external circuits or devices. In the remainder of this experiment, you will build both the oneshot and astable circuits and learn about some of the different kinds of applications that can be implemented. Furthermore, the last page of this document contains 555 examples which you can build and experiment with.
Required Parts:
In addition to a breadboard and a DC powersupply with a voltage in the 5 to 12 volt range, you will need the following components: 555 timer, LED, 2inch /8 ohm loudspeaker, 150-ohm 1/4 watt resistor, two 10K ohm 1/4 resistors, two 1-Mega ohm 1/2 watt resistors, 10 Mega ohm 1/4 watt resistor, 0.1 F capacitor, and a 0.68F capacitor.
Experimental steps:
This circuit is resetable by grounding pin 4, so be sure to have an extra wire at pin 4 ready to test that feature.
www.sentex.ca/~mec1995/gadgets/555/555.html
7/14
30/03/13
1 .O ny o u rb r e a d b o a r d ,w i r et h eo n e s h o tc i r c u i ta ss h o w ni nf i g u r e1 1 . 2 .A p p l yp o w e rt ot h ec i r c u i t . I fy o uh a v eas t a n d a r d5v o l tl o g i cs u p p l y , u s ei tf o rc o n v e n i e n c e . Y o um a yu s ea n yv o l t a g eb e t w e e n5a n d1 5 v o l t sw i t ha5 5 5t i m e r .Y o uc a na l s or u nt h ec i r c u i tf r o mb a t t e r yp o w e r . As t a n d a r d9 v o l tb a t t e r yw i l lw o r kp e r f e c t l y . W i t ht h ep o w e rc o n n e c t e d ,n o t et h es t a t u so ft h eL E D : i si to no ro f f ?_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 3 .C o n n e c tas h o r tp i e c eo fh o o k u pw i r et ot h et r i g g e ri n p u tl i n eo np i n2 . M o m e n t a r i l y ,t o u c ht h a tw i r et og r o u n d . R e m o v ei tq u i c k l y . T h a tw i l l c r e a t eap u l s ea tt h et r i g g e ri n p u t . N o t ea n dr e c o r dt h es t a t eo fL E D :_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 4 .C o n t i n u et oo b s e r v et h eL E Da n dn o t ea n yc h a n g ei nt h eo u t p u ts t a t e a f t e rap e r i o do ft i m e . W h a ti st h es t a t e ?_ _ _ _ _ _ _ _ _ _ _ _ _ _ 5 .W h e ny o ut r i g g e rt h eo n e s h o t ,t i m et h ed u r a t i o no ft h eo u t p u tp u l s ew i t h as t o p w a t c ho rt h es e c o n d sh a n do ny o u rw a t c h . T od ot h a t ,t h ei n s t a n t t h a ty o ut r i g g e rt h eo n e s h o tb yt o u c h i n gt h ew i r et og r o u n d ,i m m e d i a t e l y s t a r ty o u rs t o p w a t c ho rm a k en o t eo ft h es e c o n d sh a n do ny o u rw a t c h . T r i g g e rt h eo n e s h o ta n dt i m et h eo u t p u tp u l s e . W r i t ei nt h ea p p r o x i m a t e v a l u eo ft h ep u l s e d u r a t i o n :_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 6 .U s i n gt h ev a l u e so fe x t e r n a lr e s i s t o ra n dc a p a c i t o rv a l u e si nF i g .1 1a n d t h et i m ei n t e r v a lf o r m u l af o rao n e s h o t ,c a l c u l a t et h eo u t p u t p u l s ed u r a t i o n . W h a ti sy o u rv a l u e ?_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 7 .C o m p a r ey o u rc a l c u l a t e da n dt i m e dv a l u e so fo u t p u tp u l s e s . E x p l a i na n y d i s c r e p a n c i e sb e t w e e ny o u rc a l c u l a t e da n dm e a s u r e dv a l u e s . A n s w e r :_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 8 .C o n n e c tas h o r tp i e c eo fh o o k u pw i r e t op i n4 . Y o uw i l lu s et h a ta sa r e s e t . 9 .T r i g g e rt h eo n e s h o ta si n d i c a t e dp r e v i o u s l y . T h e ni m m e d i a t e l yt o u c h t h er e s e tw i r ef r o mp i n4t og r o u n d . N o t et h eL E Dr e s u l t :_ _ _ _ _ _ _ _ _ _ _ _ _ 1 0 .W i t haD Cv o l t m e t e r ,m e a s u r et h eo u t p u tv o l t a g ea tp i n3d u r i n gt h eo n e s h o t ' so f fa n do ns t a t e s . W h a ta r ey o u rv a l u e s ? O F F :_ _ _ _ _ _ _ _ _ _v o l t s O N :_ _ _ _ _ _ _ _ _ _ _v o l t s . 1 1 .R e p l a c et h e1 0M e g O h mr e s i s t o rw i t ha1M e g O h mr e s i s t o ra n dr e p e a t s t e p s5a n d6 . R e c o r dy o u rt i m e da n dc a l c u l a t e dr e s u l t s : T i m e d :_ _ _ _ _ _ _ _s e c o n d s C a l c u l a t e d :_ _ _ _ _ _ _ _ _ s e c o n d s
If you want to get fancy, after you've completed the experiment you can replace the resistors with potentiometers to build a variable function generator and play with that to learn more. To automate the 'RESET' pin, you can connect this pin directly to the positive of pin 8. (Thanks Bob).
1 2 .N e x ty o uw i l le x p e r i m e n tw i t ha s t a b l ec i r c u i t s . F i r s t ,r e w i r et h ec i r c u i ts o i ta p p e a r sa ss h o w ni nF i g .1 2 . 1 3 .A p p l yp o w e rt ot h ec i r c u i ta n do b s e r v et h eL E D . W h a ti sh a p p e n i n g ? A n s w e r :_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1 4 .R e p l a c et h e1 0M e g O h mr e s i s t o rw i t ha1M e g O h mr e s i s t o r . A g a i n o b s e r v et h eL E D . I st h ef r e q u e n c yh i g h e ro rl o w e r ? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1 5 .U s i n gt h ef o r m u l ag i v e ni nt h et u t o r i a l ,c a l c u l a t et h eo s c i l l a t i o nf r e q u e n c y u s i n gR 1a s1 0M e g O h m ,a n da g a i nw i t hR 1a s1M e g O h m ,a n da g a i nw i t h R 1a s1 0M e g O h m .R 2i s1M e g O h mi nb o t hc a s e s . R e c o r dy o u rf r e q ' s : f=_ _ _ _ _ _ _ _ _ _ _ _ _H z ( R 1=1 0M e g O h m ) f=_ _ _ _ _ _ _ _ _ _ _ _ _H z ( R 1=1M e g O h m ) 1 6 .C a l c u l a t et h ep e r i o d ,t 1a n dt 2 ,a n dt h ed u t y c y c l ef o re a c hr e s i s t o rv a l u e : 1 0M e g O h m : t=_ _ _ _ _ _ _ _ _ _ _ t 1=_ _ _ _ _ _ _ _ _ _ _ _ t 2=_ _ _ _ _ _ _ _ _ _ _ _ 1M e g O h m : t=_ _ _ _ _ _ _ _ _ _ _ t 1=_ _ _ _ _ _ _ _ _ _ _ _ t 2 =_ _ _ _ _ _ _ _ _ _ _ _
www.sentex.ca/~mec1995/gadgets/555/555.html
8/14
30/03/13
Monitoring the timer with a speaker can be amusing if you switch capacitors or resistors to make an organ.
Review of steps 1 through 20: The circuit you built for those steps was a one-shot multi-vibrator. The circuit is similar to that described in the tutorial. The trigger input is held high with a 10,000 ohm resistor. When you bring pin 2 low, by touching the wire to ground, the one-shot is fired. The LED installed at the output of the 555 is used to monitor the output pulse. The LED goes on when the one-shot is triggered. The component values selected for the circuit are large, so as to generate a long output pulse. That allows you to measure the pulse duration with a stop watch. Once the one-shot is triggered, the output LED stays on until the capacitor charges to 2/3 of the supply voltage. That triggers the upper comparator and causes the internal control flip-flop to reset, turning off the pulse and discharging the capacitor. The one-shot will remain in that state until it is triggered again. Timing the pulse should have produced an output duration of approximately 7.5 seconds. Calculating the output time interval using the formula given previously, you found the pulse duration to be:
www.sentex.ca/~mec1995/gadgets/555/555.html
9/14
30/03/13
Example Circuits:
I have placed a couple 555 circuit examples below for your convenience. Play with different component values and use the formulas mentioned earlier to calculate your results. Things to remember: For proper monostable operation with the 555 timer, the negative-going trigger pulse width should be kept short compared to the desired output pulse width. Values for the external timing resistor and capacitor can either be determined from the previous formulas. However, you should stay within the ranges of resistances shown earlier to avoid the use of large value electrolytic capacitors, since they tend to be leaky. Otherwise, tantalum or mylar types should be used. (For noise immunity on most timer circuits I recommend a 0.01uF (10nF) ceramic capacitor between pin 5 and ground.) In all circuit diagrams below I used the LM555CN timer IC from National, but the NE555 and others should not give you any problems.
www.sentex.ca/~mec1995/gadgets/555/555.html
10/14
30/03/13
Circuits 1 to 10a:
Play with different indicating devices such as bells, horns, lights, relays, or whatever (if possible). Try different types of LDR's. If for any reason you get false triggering, connect a ceramic 0.01uF (=10nF) capacitor between pin 5 (555) and ground. Keeping the basic rules of the 555 timer, try different values for Ct and Rt (or the C & R over pins 2, 6 & 7) Replace Rt with a 1 megohm potentiometer if you wish. Make notes of the values used and use the formulas to calculate timing. Verify your calculations with your timing. Fig. 1, Dark Detector: It will sound an alarm if it gets too dark all over sudden. For example, this circuit could be used to notify when a lamp (or bulb) burns out. The detector used is a regular cadmium-sulphide Light Dependent Resistor or LDR, for short, to sense the absence of light and to operate a small speaker. The LDR enables the alarm when light falls below a certain level. Fig. 2, Power Alarm: This circuit can be used as a audible 'Power-out Alarm'. It uses the 555 timer as an oscillator biased off by the presence of linebased DC voltage. When the line voltage fails, the bias is removed, and the tone will be heard in the speaker. R1 and C1 provide the DC bias that charges capacitor Ct to over 2/3 voltage, thereby holding the timer output low (as you learned previously). Diode D1 provides DC bias to the timersupply pin and, optionally, charges a rechargeable 9-volt battery across D2. And when the line power fails, DC is furnished to the timer through D2. Fig. 3 Tilt Switch: Actually really a alarm circuit, it shows how to use a 555 timer and a small glass-encapsulated mercury switch to indicate 'tilt'. The switch is mounted in its normal 'open' position, which allows the timer output to stay low, as established by C1 on startup. When S1 is disturbed, causing its contacts to be bridged by the mercury blob, the 555 latch is set to a high output level where it will stay even if the switch is returned to its starting position. The high output can be used to enable an alarm of the visual or the audible type. Switch S2 will silent the alarm and reset the latch. C1 is a ceramic 0.1uF (=100 nano-Farad) capacitor. Fig. 4, Electric Eye Alarm: The Electric-Eye Alarm is actually a similar circuit like the Dark Detector of Fig. 1. The same type of LDR is used. The pitch for the speaker can be set with the 500 kilo-ohm potentiometer. Watch for the orientation of the positive (+) of the 10uF capacitor. The '+' goes to pin 3. Fig. 5, Metronome: A Metronome is a device used in the music industry. It indicates the rhythm by a 'toc-toc' sound which speed can be adjusted with the 250K potentiometer. Very handy if you learning to play music and need to keep the correct rhythm up. Error fixed with thanks to Grant Fair in regards to the two resistors. (Grant also added a PNP power transistor to increase the volume and a led for visual as well as audio output). Fig. 6, CW Practice Oscillator: CW stands for 'Continuous Wave' or Morse-Code. You can practice the morse-code with this circuit. The 100K potmeter is for the 'pitch' and the 10K for the speaker volume. The "Key" is a morse code key. Fig. 7, CW Monitor: This circuit monitors the morse code 'on-air' via the tuning circuit hookup to pin 4 and the short wire antenna. The 100K potmeter controls the tone-pitch.
www.sentex.ca/~mec1995/gadgets/555/555.html 11/14
30/03/13
Fig. 8, Ten-Minute Timer: Can be used as a time-out warning for Ham Radio. The Federal Communications Commission (FCC) requires the ham radio operator to identify his station by giving his call-sign at least every 10 minutes. This can be a problem, especially during lengthy conversations when it is difficult to keep track of time. The 555 is used as a one-shot so that a visual warning indicator becomes active after 10-minutes. To begin the cycle, the reset switch is pressed which causes the 'Green' led to light up. After 10 minutes, set by the 500K potentiometer R1, the 'Red' led will light to warn the operator that he must identify. Fig. 9, Schmitt Trigger: A very simple, but effective circuit. It cleans up any noisy input signal in a nice, clean and square output signal. In radio control (R/C) it will clean up noisy servo signals caused by rf interference by long servo leads. As long as R1 equals R2, the 555 will automatically be biased for any supply voltage in the 5 to 16 volt range. (Advanced Electronics: It should be noted that there is a 180-degree phase shift.) This circuit also lends itself to condition 60-Hz sine-wave reference signal taken from a 6.3 volt AC transformer before driving a series of binary or divide-by-N counters. The major advantage is that, unlike a conventional multivibrator type of squares which divides the input frequency by 2, this method simply squares the 60Hz sine wave reference signal without division. Fig. 10, Better Timing: Better and more stable timing output is created with the addition of a transistor and a diode to the R-C timing network. The frequency can be varied over a wide range while maintaining a constant 50% duty-cycle. When the output is high, the transistor is biased into saturation by R2 so that the charging current passes through the transistor and R1 to C. When the output goes low, the discharge transistor (pin 7) cuts off the transistor and discharges the capacitor through R1 and the diode. The high & low periods are equal. The value of the capacitor (C) and the resistor (R1 or potmeter) is not given. It is a mere example of how to do it and the values are pending on the type of application, so choose your own values. The diode can be any small signal diode like the NTE519, 1N4148, 1N914 or 1N3063, but a high conductance Germanium or Schottky type for the diode will minimize the diode voltage drops in the transistor and diode. However, the transistor should have a high beta so that R2 can be large and still cause the transistor to saturate. The transistor can be a TUN (europe), NTE123, 2N3569 and most others. Fig. 10a, Missing Pulse Detector (Basic): This transistor can be replaced with a ECG or NTE159. This is just a basic model but works. Experiment with the values of Resistor and Capacitor. A good example would be the 'Crashed Aircraft Locator' beacon used in radio control. If there is no signal it sees it as a missing pulse and sounds buzzer.
The following circuits are examples of how a 555 timer IC assist in combination with another Integrated Circuit. Again, don't be afraid to experiment. Unless you circumvent the min and max parameters of the 555, it is very hard to destroy. Just have fun and learn something doing it.
www.sentex.ca/~mec1995/gadgets/555/555.html
12/14
30/03/13
Circuits 11 to 14:
Play with different indicating devices such as bells, horns, lights, relays, or whatever (if possible). Try different types of LDR's. If for any reason you get false triggering, connect a ceramic 0.01uF (=10nF) capacitor between pin 5 (555) and ground. In all circuit diagrams below I used the LM555CN timer IC from National. The 555 timer will work with any voltage between 3.5 and 15volt. A 9-volt battery is usually a general choice. Keeping notes is an important aspect of the learning process. Fig. 11, Two-Tones: The purpose of this experiment is to wire two 555 timers together to create a 2-note tone. If you wish, you can use the dual 556 timer ic. Fig. 12, Recording Beep: This circuit is used to keep recording of telephone conversations legal. As you may know, doing otherwise without consent of the other party is illegal. The output of IC1 is fed to the 2nd 555's pin 3 and made audible via C2 and the speaker. Any 8-ohm speaker will do. Fig. 13, Coin Toss: Electronic 'Heads-or-tails' coin toss circuit. Basically a Yes or No decision maker when you can't make up your mind yourself. The 555 is wired as a Astable Oscillator, driving in turn, via pin 3, the 7473 flip-flop. When you press S1 it randomly selects the 'Heads' or 'Tails' led. The leds flashrate is about 2Khz (kilo-Hertz), which is much faster than your eyes can follow, so initially it appears that both leds are 'ON'. As soon as the switch is released only one led will be lit. Fig. 14, Logic Probe: Provides you with three visible indicators; "Logic 1" (+, red led), "Logic 0" (-, green led), and "Pulse" (yellow led). Good for TTL and CMOS. The yellow or 'pulse' led comes on for approximately 200 mSec to indicate a pulse without regards to its width. This feature enables one to observe a short-duration pulse that would otherwise not be seen on the logic 1 and 0 led's. A small switch (subminiature slide or momentary push) across the 20K resistor can be used to keep this "pulse" led on permanently after a pulse occurs. In operation, for a logic 0 input signal, both the '0' led and the pulse led will come 'ON', but the 'pulse' led will go off after 200 mSec. The logic levels are detected via resistor R1 (1K), then amplified by T1 (NPN, Si-AF Preamplifier/Driver), and selected by the 7400 IC for what they are. Diode D1 is a small signal diode to protect the 7400 and the leds from excessive inverse voltages during capacitor discharge. For a logic '1' input, only the logic '1' led (red) will be 'ON'. With the switch closed, the circuit will indicate whether a negative-going or positive-going pulse has occurred. If the pulse is positive-going, both the '0' and 'pulse' led's will be on. If the pulse is negative-going, the '1' and 'pulse' led's will be on.
www.sentex.ca/~mec1995/gadgets/555/555.html
13/14
30/03/13
Check the listing in Table 2. It shows some variations in the 555 manufacturing process by two different manufacturers, National Semiconductor and Signetics Corporation. Since there are other manufacturers then those two I suggest when you build a circuit to stick with the particular 555 model they specify in the schematic. Meaning, the LM555 and NE555 have minor differences the way they operate. In general you can use one for the other. However, on some occasion, the NE555 will not work in your circuit but the LM555 does and vice versa. So, when a certain schematic calls for a NE555, uA555, LM555 or a MC1455 try to obtain that specific type if things don't work out.
The absolute maximum ratings (in free air) for NE/SA/SE types are:
V c c ,s u p p l yv o l t a g e :1 8 V I n p u tv o l t a g e( C O N T ,R E S E T ,T H R E S ,T R I G ) :V c c O u t p u tc u r r e n t :2 2 5 m A( a p p r o x ) O p e r a t i n gf r e e a i rt e m p .r a n g e :N E 5 5 5 . . . . . . . . . . . 0 C-7 0 C S A 5 5 5 . . . . . . . . . . .4 0 C-8 5 C S E 5 5 5 ,S E 5 5 5 C . . .5 5 C-1 2 5 C S t o r a g et e m p e r a t u r er a n g e :6 5 C-1 5 0 C C a s et e m p e r a t u r ef o r6 0 s e c .( F Kp a c k a g e ) :2 6 0 C
Suggested Reading:
1. 555 Timer IC Circuits. Forrest M. Mims III, Engineer's Mini Notebook. Radio Shack Cat. No: 62-5010. "Create & experiment with pulse generators, oscillators, and time delays." 2. IC Timer Cookbook. Walter G. Jung. Published by Howard W. Sams & Co., Inc. ISBN: 0-672-21932-8. "A reference 'must' for hobby, technicians, and engineers." 3. The 555 Timer Applications Sourcebook. Howard M. Berlin. Published by Sams Inc. ISBN: 0-672-21538-1. "Learn how to connect the 555, perform 17 simple experiments." 4. Other good 555 timer/oscillator tutorials can be found here also:
D o c t r o n i c s W i l l i a m sL a b L M 5 5 5a n dL M 5 5 6T i m e rC i r c u i t s
Copyright 1995 - Tony van Roon (VA3AVR). ALL RIGHTS RESERVED. Last updated: September 26, 2010
www.sentex.ca/~mec1995/gadgets/555/555.html
14/14