555 Timer: Difference between revisions
| Line 1: | Line 1: | ||
==Modes of Operation== | ==Modes of Operation== | ||
===Astable - Blinking=== | ===Astable - Toggling / Blinking=== | ||
[[File:555 in A-Stable Configuration.svg|alt=555 in A-Stable Configuration|left|thumb | [[File:555 in A-Stable Configuration.svg|alt=555 in A-Stable Configuration|left|thumb|555 in A-Stable Configuration]] | ||
An astable mode is when the timer is not stable in either state. In the context of the 555, an astable configuration can be accomplished by making use of its discharge pin to drain a capacitor in order to reset itself. The 555 timer can be used as a variable clock by using a potentiometer as RB and its frequency can be sub mHz up to 100kHz. | An astable mode is when the timer is not stable in either state. In the context of the 555, an astable configuration can be accomplished by making use of its discharge pin to drain a capacitor in order to reset itself. The 555 timer can be used as a variable clock by using a potentiometer as RB and its frequency can be sub mHz up to 100kHz. | ||
| Line 22: | Line 22: | ||
</math> | </math> | ||
===Monostable - | ===Monostable - One Shot=== | ||
[[File:555 in monostable configuration.svg|alt=555 in monostable configuration|left|thumb | [[File:555 in monostable configuration.svg|alt=555 in monostable configuration|left|thumb|555 in monostable configuration]] | ||
A monostable mode is when the timer is stable for one state but is unstable in another (hence the mono in the name). This is useful for one-shot triggers of a fixed duration such as to debounce a button or to run something for a fixed amount of time after a trigger. | A monostable mode is when the timer is stable for one state but is unstable in another (hence the mono in the name). This is useful for one-shot triggers of a fixed duration such as to debounce a button or to run something for a fixed amount of time after a trigger. | ||
| Line 29: | Line 29: | ||
As per the datasheet, pin 5 should have a 0.01uF capacitor to ground. | As per the datasheet, pin 5 should have a 0.01uF capacitor to ground. | ||
<br /> | <br /> | ||
===Bistable=== | ===Bistable - Flip Flop=== | ||
[[File:555 in bistable configuration.svg|alt=555 in bistable configuration|left|thumb | [[File:555 in bistable configuration.svg|alt=555 in bistable configuration|left|thumb|555 in bistable configuration]] | ||
A bistable mode is when the timer is stable for both on and off states. You may want to implement this to debounce a latched on/off switch for instance. | A bistable mode is when the timer is stable for both on and off states. You may want to implement this to debounce a latched on/off switch for instance. | ||
When using the 555 as in a bistable configuration, in essence, you are just | When using the 555 as in a bistable configuration, in essence, you are just exposing the internal SR-latch where the trigger pin is the latch set and reset pin as the latch reset. | ||
The discharge pin can be left disconnected. Pull both reset and trig high by default, and pull low to trigger. | |||
<br /> | |||
== Applications == | |||
=== Voltage Multipler / Negative Voltage Inverter === | |||
You can use the 555 in an astable configuration to drive a charge pump in order to multiply a voltage or invert the voltage. Example circuits are given below.<gallery> | |||
File:555 Voltage Multiplier.svg|alt=555 Voltage Multiplier|555 Voltage Multiplier | |||
File:555 Negative Voltage Inverter.svg|alt=555 Voltage Inverter|555 Voltage Inverter | |||
</gallery> | |||
Revision as of 22:28, 15 August 2020
Modes of Operation
Astable - Toggling / Blinking
An astable mode is when the timer is not stable in either state. In the context of the 555, an astable configuration can be accomplished by making use of its discharge pin to drain a capacitor in order to reset itself. The 555 timer can be used as a variable clock by using a potentiometer as RB and its frequency can be sub mHz up to 100kHz.
RA and RB form a voltage divider and charges the capacitor C. The 555 timer has an internal voltage divider that divides the input voltage evenly by 3 (Eg. 1.66v and 3.33v with a 5v input voltage) as well as an internal SR-latch. The trigger pin will set the internal SR-latch when it is below 1.66v. When triggered, the output will be high while the discharge pin will not allow current to flow. As a result, as the output is high, the capacitor will also begin to charge. Once the capacitor exceeds the threshold voltage (Eg. 3.3v), the SR-latch is reset causing the output to be low and the discharge pin to allow current to flow and discharges the capacitor. When the voltage drops below 1.66v, the cycle repeats.
The duty cycle and frequency of this vibrator can be adjusted based on the values of RA, RB, and the capacitance of C. This is because:
- How fast the capacitor drains is dependent on RB.
- How fast the capacitor charges is dependent on RA+RB
- How long it takes to charge C is based on C's capacitance
The formulas for the time the output is high or low and the frequency can be found in the datasheet:
$ t_{High}=0.693(R_{A}+R_{B})Ct_{Low}=0.693(R_{B})Cfrequency\approx 1.44/{(R_{A}+2R_{B})C} $
Monostable - One Shot
A monostable mode is when the timer is stable for one state but is unstable in another (hence the mono in the name). This is useful for one-shot triggers of a fixed duration such as to debounce a button or to run something for a fixed amount of time after a trigger.
In this configuration, the state is to have the output be off and the discharge pin to be discharging current. When the trigger pin is pulled low, the output will be driven high for as long as it takes until the capacitor C is charged via RA. During this period, any additional triggers on the input has no effect.
As per the datasheet, pin 5 should have a 0.01uF capacitor to ground.
Bistable - Flip Flop
A bistable mode is when the timer is stable for both on and off states. You may want to implement this to debounce a latched on/off switch for instance.
When using the 555 as in a bistable configuration, in essence, you are just exposing the internal SR-latch where the trigger pin is the latch set and reset pin as the latch reset.
The discharge pin can be left disconnected. Pull both reset and trig high by default, and pull low to trigger.
Applications
Voltage Multipler / Negative Voltage Inverter
You can use the 555 in an astable configuration to drive a charge pump in order to multiply a voltage or invert the voltage. Example circuits are given below.
-
555 Voltage Multiplier
-
555 Voltage Inverter