Wednesday, February 18, 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.

Astable Multivibrator with 555 Timer

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

Astable Multivibrator with 555

Saturday, February 14, 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.
Running Lights with CD4017
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.

Wednesday, February 04, 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.

Dual Polarity Power Supply

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

  1. Battery Level Indicator
  2. Simple Sample and Hold
  3. Sample and Hold Standby
  4. Voltmeter Attenuator
  5. Precision Current Source
  6. Opamp Supply Virtual Ground

SCR and Triac

  1. Solid State Relay
  2. Normally Closed AC SSR
  3. AC-AC-SSR
  4. DC-DC SSR
  5. 2N2646 based Pulser
  6. Drive SCR thyristor

Mains Power

  1. Flashing Neon Lamp
  2. Dimmer power control
  3. Edison Bulb Life Extend
  4. Mains Current LED
  5. Mains Voltage LED

Digital Circuits

  1. Simple Digital Counter
  2. Running Lights
  3. Frequency Divider
  4. Crystal Oscillator
  5. Simple High speed switch
  6. Differential TTL converter

Measureall DMM

  1. Ohmmeter Measure Resistance
  2. Precision Digital Attenuator
  3. Precision Amplifier

Mixed Circuits

  1. Monostable Multivibrator
  2. Digital to Analog
  3. LM311 Oscillator
  4. PLL using 4046
  5. VCO with LM331
  6. BCD Thumbwheel to Analog
  7. V to F Converter ICL8038
555 Circuits
  1. OR gate with two 555
  2. fixed frequency duty cycle
  3. Pulse width modulation
  4. Astable Multivibrator
  5. uC Reset Generator
  6. LM555 Voltage Doubler
  7. 555 Power Oscillator
Discrete Circuits
  1. Isolated dual supply
  2. Sound to light converter
  3. Water operated relay
  4. Telephone Indicator
  5. Passive volume control
  6. RS232 Opto-Isolation
  7. Voltage Level Indicator
  8. Relay Driver
  9. Constant Current LED
  10. Voltage Doubler
  11. FET Current Source
Opamp Circuits
  1. Three Opamp Differential
  2. Two Opamp Differential
  3. Buffer Opamps
  4. Differential Op-Amp
  5. Inverting Opamp
  6. Non Inverting Opamp
  7. Digital gain control
  8. Square Triangle Oscillator
  9. Dual Polarity Output Amps
  10. Ammeter Precision Rectifier
  11. Voltage / Current 4-20 mA
  12. Current Source for RTD
Power Electronics
  1. Dual Power Supply
  2. Single Power Supply
  3. Battery Backup Supply
  4. 5V 1A Supply LM2575
  5. 5V Power Supply L296
  6. Dual Power Supply
  7. Tubelight Electronic Choke
  8. Voltage Doublers Multipliers
  9. White LED Lamp on Ni-Cd

uC and uP

  1. PC RS232 with MAX232A
  2. Battery Backup SRAM
  3. watchdog uC uP systems
Instrumentation Circuits
  1. Mains monitor LM3914
  2. Simple Mains monitor
  3. single digit voltmeter
  4. High Resistance Meter
  5. Diode Thermometer
  6. Function Generator
  7. Diode Leakage Tester
  8. Analog LED Ohm Meter
  9. Millivolt Source Current Loop
Process Control
  1. AD590 - temperature
  2. Thermocouple Amplifier
  3. Linearizing Thermocouple
  4. Thermocouple Amplifier
  5. 0-1V to 4-20 mA
  6. 1-5V to 4-20 mA
  7. InfraRed - Optical Switch
  8. InfraRed Detector