Building your own 555 Timer IC

The 555 Timer IC is one of those evergreen and versatile ICs that finds place in every common place electronics applications. What does it do? It generates a square wave used in timing applications and many other fields. It mainly has three modes of operation – monostable, abstable , bistable. Each of these modes can be implemented by using very few additional components.

Here, I will show how you can make your own version of the 555 timer using just NAND gates, opamps , a transistor and a few resistors! Now, you may think what is the purpose of building this when you can buy the IC at very cheap rates. The answer is, you learn electronics better, understand how the actual IC functions and improve your confidence in building electronic circuits. Let us first take a look at the simplified circuit diagram for our own 555 timer.

Observe that I have created a voltage divider configuration using three 4.7K Ohm resistors. The actual IC uses 5K Ohm (hence its name) but 4.7K Ohm was readily available to me. This network creates two voltage levels Vcc/3 and (2*Vcc)/3. Then there are two opamps that are being used as comparators here. The voltage levels connect to the individual opamp inputs. The Trigger and the Threshold pins connect to the other inputs of the two comparators and serve the same purpose as the original IC.

Below the opamps, are two NAND gates that are interfaced to form an SR Latch. The output from comparator 1 Sets the latch while comparator 2 output Resets the latch. The output of the latch Q is the output for our entire circuit. The complemented output Q’ drives an npn Bipolar Junction Transistor through a 220 Ohm resistor. This transistor is used to discharge the timing capacitor and its collector is the Discharge pin, similar to the actual IC. The reset and Control Voltage pins present in the 555 IC have been ignored here just for the sake of keeping the circuit simple.

Now let us construct the actual circuit. We will use the 2-input Quad NAND Gate IC 74LS00 and an LM358 which comes as a dual opamp package. The 2N2222A transistor will be our BJT here. An astable multivibrator is implemented with this circuit using two resistors each 6.8K Ohm (taken arbitrarily) and a 60 nF capacitor.

Output Frequency 
= 1.44 / ((R1 + 2*R2)*C)
= 1.44 / (3 * R * C)
= 1.44 / (3 * 6800 * 60 *10^(-9))
= 1.176 KHz

Duty Cycle 
= (R1 + R2) * 100 / ( R1 + 2*R2 )
= (2 * R * 100) / (3 * R)
=  66.7 %                

Probing the output (yellow waveform) and the capacitor voltage (green waveform) using a USB Digital Oscilloscope , we see that the frequency evaluates to 1.157 KHz and duty cycle to 64.6% , which are pretty accurate to the theoretical values. The capacitor charges to 2/3*Vcc through both the resistors when the output is HIGH and discharges to 1/3 * Vcc through the second resistor when the output is LOW and the process continues. It is noteworthy here that unlike the 555 Timer IC which can support input voltages upto 16 Volts , our circuit can only tolerate upto 5.5 Volts since the NAND gate IC cannot withstand voltages beyond 5.5 Volts.

If you are interested to understand how our circuit or the 555 Timer IC functions to produce the various astable, monostable or bistable waveforms – then stay tuned for the next article , I will be discussing these in detail there.

Advertisements

4 thoughts on “Building your own 555 Timer IC

  1. Pingback: Modeling The Classic 555 Timer On A Breadboard – Ans Info

  2. Pingback: Modeling The Classic 555 Timer On A Breadboard

  3. Pingback: Building your own 555 timer IC – gStore

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s