Introduction
As electronic designs get bigger, it becomes difficult to build the complete circuit. So we will use prebuilt circuits that come in packages like the one shown above. This prebuilt circuit is called an IC. IC stands for Integrated Circuit. An IC has many transistors inside it that are connected together to form a circuit. Metal pins are connected to the circuit and the circuit is stuck into a piece of plastic or ceramic so that the metal pins are sticking out of the side. These pins allow you to connect other devices to the circuit inside. We can buy simple ICs that have several inverter circuits like the one we built in the LED and Transistor tutorial or we can buy complex ICs like a Pentium Processor.
The Pulse - More than just an on/off switch So far the circuits we have built have been stable, meaning that the output voltage stays the same. If you change the input voltage, the output voltage changes and once it changes it will stay at the same voltage level. The 555 integrated circuit (IC) is designed so that when the input changes, the output goes from 0 volts to Vcc (where Vcc is the voltage of the power supply). Then the output stays at Vcc for a certain length of time and then it goes back to 0 volts. This is a pulse.
The Oscillator (A Clock) - More than just a Pulse.
The pulse is nice but it only happens one time. If you want something that does something interesting forever rather than just once, you need an oscillator. An oscillator puts out an endless series of pulses. The output constantly goes from 0 volts to Vcc and back to 0 volts again. Almost all digital circuits have some type of oscillator. This stream of output pulses is often called a clock. You can count the number of pulses to tell how much time has gone by. We will see how the 555 timer can be used to generate this clock.
The 555 Timer
Creating a Pulse
The 555 is made out of simple transistors that are about the same as on / off switches. They do not have any sense of time. When you apply a voltage they turn on and when you take away the voltage they turn off. So by itself, the 555 can not create a pulse. The way the pulse is created is by using some components in a circuit attached to the 555.
This circuit is made of a capacitor and a resistor. We can flip a switch and start charging the capacitor. The resistor is used to control how fast the capacitor charges. The bigger the resistance, the longer it takes to charge the capacitor.
----change the resistance and see what happen..
The voltage in the capacitor can then be used as an input to another switch. Since the voltage starts at 0, nothing happens to the second switch. But eventually the capacitor will charge up to some point where the second switch comes on.
The way the 555 timer works is that when you flip the first switch, the Output pin goes to Vcc (the positive power supply voltage) and starts charging the capacitor. When the capacitor voltage gets to 2/3 Vcc (that is Vcc * 2/3) the second switch turns on which makes the output go to 0 volts.
1 - gnd
2 - trigger
3 - output
4 - reset
5 - ctrl
6 - thr
7- dis
8 - vcc
Deep Details
Pin 2 (Trigger) is the 'on' switch for the pulse. The line over the word Trigger tells us that the voltage levels are the opposite of what you would normally expect. To turn the switch on you apply 0 volts to pin 2. The technical term for this opposite behavior is 'Active Low'. It is common to see this 'Active Low' behavior for IC inputs because of the inverting nature of transistor circuits.
Pin 6 is the off switch for the pulse. We connect the positive side of the capacitor to this pin and the negative side of the capacitor to ground. When Pin 2 (Trigger) is at Vcc, the 555 holds Pin 7 at 0 volts (Note the inverted voltage). When Pin 2 goes to 0 volts, the 555 stops holding Pin 7 at 0 volts. Then the capacitor starts charging. The capacitor is charged through a resistor connected to Vcc. The current starts flowing into the capacitor, and the voltage in the capacitor starts to increase.
Pin 3 is the output (where the actual pulse comes out). The voltage on this pin starts at 0 volts. When 0 volts is applied to the trigger (Pin 2), the 555 puts out Vcc on Pin 3 and holds it at Vcc until Pin 6 reaches 2/3 of Vcc (that is Vcc * 2/3). Then the 555 pulls the voltage at Pin 3 to ground and you have created a pulse. (Again notice the inverting action.) The voltage on Pin 7 is also pulled to ground, connecting the capacitor to ground and discharging it.
|