Thursday, November 13, 2014
555 timer bassed Electronic lock circuit with explanation
A very simple electronic key code lock circuit that require few external components can be constructed using this schematic diagram . This electronic key code lock circuit is based on a common 555 timer circuit and some other common components .
This low cost key code circuit use six switches that needs to be pressed to open the lock, but only two switches at a time. In many other , more expensive electronic circuits the key code is formed by pressing some switches one by one , not like in this case two switches . If you don’t like to press two switches in the same time you can eliminate one switch , but in that case the code can be more easy to guess by someone ells .
Thus a total of three sets of switches have to be pressed in a particular sequence. (Of these three sets, one set is repeated.)
An essential property of this electronic code lock is that it works in monostable mode, i.e. once triggered, the output becomes high and remains so for a period of time, governed by the
timing components, before returning to the quiescent low state.
Pin 2 of 555 timer is the triggering input pin which, when held below 1/3 of the supply voltage, drives the output to high state. The threshold pin 6, when held higher than 2/3 of the supply voltage, drives the output to low state. By applying a low-going pulse to the reset pin 4, the output at pin 3 can be brought to the quiescent low level. Thus the reset pin 4 should be held high for normal operation of the IC.
Three sets of switches SA-SC, S1- S8 and S3-S4 are pressed, in that order, to open the lock. On pressing the switches SA and SC simultaneously, capacitor C3 charges through the potential
divider comprising resistors R3 and R4, and on releasing these two switches, capacitor C3 starts discharging through resistor R4. Capacitor C3 and resistor R4 are so selected that it takes about five seconds to fully discharge C3.
Depressing switches S1 and S8 in same time, within five seconds of releasing the switches SA and SC, pulls pin 2 to ground and IC 555 is triggered. The capacitor C1 starts charging through resistor R1. As a result, the output (pin 3) goes high for five seconds .
Within these five seconds, switches SA and SC are to be pressed momentarily once again, followed by the depression of last code-switch pair S3-S4.
The contacts of the relay close and the solenoid pulls in the latch (forming part of a lock) and the lock opens. The remaining switches are connected between reset pin 4 and ground. If any one of these switches is pressed, the IC is reset and the output goes to its quiescent low state.
The given circuit can be recoded easily by rearranging connections to the switches as desired by the user.
Wednesday, November 12, 2014
Simple LED flasher circuit using NE555 timer IC
- R1, R2, C1 and the supply voltage determine the flash rate. Using a regulated power supply will do much to insure a stable flash rate. For a variable flash rate, replace R1 with a 1 megohm pot in series with a 22k resistor.
- The duty cycle of the circuit (the percentage of the time LED 1 is on to the time it is off during each cycle) is deterimed by the ratio of R1 to R2. If the value of R1 is low in relationship to R2, the duty cycle will be near 50 percent. If you use both LEDs, you will probably want a 50 percent duty cycle. On the other hand, if R2 is low compared to R1, the duty cycle will be less than 50 percent. This is useful to conserve battery life, or to produce a strobe type effect, when only LED1 is used.
- The NE555 timer chip can be damaged by reverse polarity voltage being applied to it. You can make the circuit goof proof by placing a diode in series with one of the supply leads.
- The purpose of R3 and R4 is to limit current through the LEDs to the maximum they can handle (usually 20 milliamps). You should select the value of these according to the supply voltage. 470 ohms works well with a supply voltage of 9-12 volts. You will need to reduce the value for lower supply voltages.
- Rainbow Kits offers several kits to build the above circuit. You can also order these kits from RadioShack.com. The Radio Shack catalog numbers (and web pages) are as follows: standard kit with two 5mm red LEDs, (990-0067), kit with two red, two green and two yellow 3mm LEDs, (990-0063), kit with jumbo green LEDs, (990-0048), kit with jumbo red LEDs, (990-0049). You can also buy all the parts to build the circuit at your local Radio Shack store, including a circuit board (276-159B).
Saturday, September 20, 2014
Simple 555 Timer circuit diagram
# Dont supply more than 4.5V
# Build this on a PCB
Tuesday, September 2, 2014
555 Timer as Monostable Multivibrator
A monostable multivibrator (MMV) often called a one-shot multivibrator, is a pulse generator schema in which the duration of the pulse is determined by the R-C network,connected externally to the 555 timer. In such a vibrator, one state of output is stable while the other is quasi-stable (unstable). For auto-triggering of output from quasi-stable state to stable state energy is stored by an externally connected capacitor C to a reference level. The time taken in storage determines the pulse width. The transition of output from stable state to quasi-stable state is accomplished by external triggering. The schematic of a 555 timer in monostable mode of operation is shown in figure.
Pin 1 is grounded. Trigger input is applied to pin 2. In quiescent condition of output this input is kept at + VCC. To obtain transition of output from stable state to quasi-stable state, a negative-going pulse of narrow width (a width smaller than expected pulse width of output waveform) and amplitude of greater than + 2/3 VCC is applied to pin 2. Output is taken from pin 3. Pin 4 is usually connected to + VCC to avoid accidental reset. Pin 5 is grounded through a 0.01 u F capacitor to avoid noise problem. Pin 6 (threshold) is shorted to pin 7. A resistor RA is connected between pins 6 and 8. At pins 7 a discharge capacitor is connected while pin 8 is connected to supply VCC.
555 IC Monostable Multivibrator Operation.
555 monostable-multivibrator-operation
For explaining the operation of timer 555 as a monostable multivibrator, necessary internal schemary with external connections are shown in figure.
The operation of the schema is explained below:
Initially, when the output at pin 3 is low i.e. the schema is in a stable state, the transistor is on and capacitor- C is shorted to ground. When a negative pulse is applied to pin 2, the trigger input falls below +1/3 VCC, the output of comparator goes high which resets the flip-flop and consequently the transistor turns off and the output at pin 3 goes high. This is the transition of the output from stable to quasi-stable state, as shown in figure. As the discharge transistor is cutoff, the capacitor C begins charging toward +VCC through resistance RA with a time constant equal to RAC. When the increasing capacitor voltage becomes slightly greater than +2/3 VCC, the output of comparator 1 goes high, which sets the flip-flop. The transistor goes to saturation, thereby discharging the capacitor C and the output of the timer goes low, as illustrated in figure.
Thus the output returns back to stable state from quasi-stable state.
The output of the Monostable Multivibrator remains low until a trigger pulse is again applied. Then the cycle repeats. Trigger input, output voltage and capacitor voltage waveforms are shown in figure.
Monostable Multivibrator Design Using 555 timer IC
The capacitor C has to charge through resistance RA. The larger the time constant RAC, the longer it takes for the capacitor voltage to reach +2/3VCC.
In other words, the RC time constant controls the width of the output pulse. The time during which the timer output remains high is given as
tp = 1.0986 RAC
where RA is in ohms and C is in farads. The above relation is derived as below. Voltage across the capacitor at any instant during charging period is given as
vc = VCC (1- e-t/RAC)
Substituting vc = 2/3 VCC in above equation we get the time taken by the capacitor to charge from 0 to +2/3VCC.
So +2/3VCC. = VCC. (1 – e-t/RAC) or t – RAC loge 3 = 1.0986 RAC
So pulse width, tP = 1.0986 RAC s 1.1 RAC
The pulse width of the schema may range from micro-seconds to many seconds. This schema is widely used in industry for many different timing applications.
Saturday, August 23, 2014
Extend Timer Range For The 555

The power supply output is not referenced to earth potential and the pulsing full wave rectified signal is fed to the base of T1 via resistor R1. A 100-Hz square wave signal is produced on the collector of T1 as the transistor switches. The positive half of this waveform charges up the timing capacitor C1 via D2 and P1. Diode D2 prevents the charge on C1 from discharging through T1 when the square wave signal goes low. Push-button S1 is used to start the timing period. This method of charging uses relatively low component values for P1 (2.2 MΩ) and C1 (100 to 200 µF) but achieves timing periods of up to an hour which is much longer than a standard 555 schema configuration.