## Tuesday, February 17, 2015

### Astable Multivibrator with 555 Timer

The 555 Astable oscillator gives a square wave output at pin 3, The output drives two LEDs, LED1 lights up when pin 3 is low and LED2 when pin 3 is high.

The 555 can source (LED2) or Sink (LED1) upto 200mA. It can even drive a small motor or lamp with diodes added to protect from inductive kickback. Vary Ra, Rb and Ct and see the change of frequency, period and duty cycle.

These are the formulae used by 555 .

T1 = 0.693 (Ra + Rb) * Ct charge time of Ct

T2 = 0.693 (Rb * Ct) discharge time of Ct

T = T1 + T 2 total period in seconds

F = 1 / T = 1.44 / ((Ra + (2 * Rb)) * Ct) Frequency in Hertz

D = T 2 / T duty cycle, multiply by 100 to get %.

Ct in farads and Ra-Rb in ohms.

The max power dissipation of 555 is 700mW so overload of more than 200mA will damage the device, connecting the battery in the reverse or wrong polarity will also damage device, ensure also Ra and Rb do not go less than 2.2K (use 4.7K minimum) as it may damage the discharge transistor at pin 7. The supply voltage can go upto 18V. For CMOS 555 like 7555 see the datasheet they are different.

Interactive demo

This is a demo of the popular 555 timer. you can try out the project on this page by a javascript simulation.Press the Red button below to turn on the circuit press it again to turn off. The 555 can source (LED2) or Sink (LED1) upto 200mA.

It can even drive a small motor or lamp with diodes added to protect from inductive kickback.Vary Ra, Rb and Ct with the controls given and see the change of frequency, period and duty cycle.

This is a tutorial with calculator to help learn the application of 555 which is a very rare chip innovation. It is simple, versatile, flexible and programmable (by tweaking of pots).

Astable Multivibrato xml code

Screenshot of Astable 555 Timer Flasher

## Friday, February 13, 2015

### Running Lights with CD4017

The 555 Astable generates a clock for this circuit, an oscillator giving a square wave output at pin 3 which is counted by 4017 to give a running lights effect.

The decade counter-divider CD4017 has 10 outputs, for every low to high transition at the clock input, rising edge, the counter advances one LED. After going one full circle the the first LED lights again and it goes on. You can vary the value of R2 100K Linear potentiometer to make LEDs run fast or slow.

The frequency of oscillation of astable 555 is given as f = 1.44 / ((R4 + 2 * (R2 + R3)) * C3)
The 10 outputs have 10 green LEDs. The current thru the LED is limited by R1, the current can be calculated like this (9V - 1.6V) / 1K = 7.4mA this is within 20mA which is the danger limit of the CMOS output. You want it to be bright use transistors for every output.

The cap C1 is a filter and C2 is to prevent noise at pin 5 influencing the output as it is a control voltage point.
You can cascade or chain many more counters with the CO or carry out pin 12 of 4017. The pin 15 reset is kept at low for counting, on high it will reset the counter but is not used in this circuit.

pdf links may take time to load in the browser if you just click it, do right click save target to your disk.

## Tuesday, February 03, 2015

### Dual Polarity Power Supply

This supply gives both positive and negative outputs. Appropriate Fuses should be used to protect from fire hazard and overload of transformer.

Voltage Regulators LM7812 and LM317

You could use LM7824 or LM7815 or LM7812 for 24V, 15V and 12V respectively. You could use LM7924 or LM7915 or LM7912 for -24V, -15V and -12V respectively.

The Filter capacitor C1 4700uF has an impedance of Xc = 1 / (2 * 3.14 * f * C) which comes to 0.6 ohms at 50 Hz.

Power Electronic Circuits

The impedance of the load at 2A for 24V is R = V / I that is 12 Ohms which is more than 20 times the impedance of the capacitor at 50 Hz. That means less than 1 / 20 of ripple current will flow thru the load. The Regulator also reduces the ripple a little.

## Circuits by Application

 Analog Circuits SCR and Triac Mains Power Digital Circuits Measureall DMM Mixed Circuits 555 Circuits Discrete Circuits Opamp Circuits Power Electronics uC and uP Instrumentation Circuits Process Control