Showing posts with label Integrated Circuits. Show all posts
Showing posts with label Integrated Circuits. Show all posts

Saturday, 25 January 2020

555 Timer IC

A bit about the 555 IC.
This is a very basic introduction for a friend who is learning electronics.
I'm building a NLC 555 resonator which uses five of these. This module provided the
prefect excuse to discuss it.

The 555 is the most popular integrated circuit ever manufactured.
It was developed by Signetics in 1972 and is found in timer, pulse generation, and oscillator applications.
The Atari Punk Console uses two of these (one in astable and the other monostable configurations)
or one 556 chip.
The standard IC is commonly known as the 555 timer, but it has many more applications than the name suggests.

There are a few variations of the original 555 ic.
The original were TTL (Transistor-Transistor Logic) or bipolar. These preceded modern CMOS chips
which use much less power. The TTLs use bipolar transistors.
The advantage of TTL is that they are hard to damage and have powerful outputs, but they can generate voltage spikes. In comparison, the CMOS versions don't spike, have less powerful outputs.
The 556 has two timing circuits.
The 558 has four timing circuits in one package.
There is very little standardization among manufacturers.
Sometimes you will see 7555s used instead of 555s
The Intersil ICM7555 is a low-power CMOS version but there are other CMOS versions with no clear
identifing marks.

The 555 IC has 4 operating modes:
1. Astable (free-running) mode
2. Monostable (one-shot) mode
3. Bistable (flip-flop) mode
4. Smitt Trigger (inverter) mode.

Astable Mode
An Astable Circuit has no stable state - hence the name "astable". ... It can also be used to flash lamps and LEDs, and is useful as a 'clock' pulse for other digital ICs and circuits
Here the 555 timer puts out a continuous stream of rectangular pulses at pin 3.
It's output is continually alternating between high (1) and low (0) and it never has a stable state.
The frequency of the pulses at the output  is controlled by an RC network (resistor capacitor)
made up of R1, R2 & C.
The frequency can be calculated with the formula:
F = 1.443/(C(R1+2R2))

Thus the larger the values of R1,R2 & C, the lower the frequency.
The 10nF capacitor connected to pin 5 is a decoupling capacitor to shunt electrical noise

Monostable
A Monostable Circuit produces one pulse of a set length in response to a trigger input (such as a push button). Here the 555 works as a timer (Monostable Multivibrator).
It's output has a stable logic state that only changes when the 555 is triggered or activated.
Normally, the output at pin 3 is low (0). It remains at this state until a low (0) is applied to pin 2 (trigger).
When this happens, the timer is activated and pin 3 goes high (1)...... but only for a certain amount
of time.
Notice that pins 7 and 6 are connected to each other and to C & R.
The time period when the pulse exiting pin 3 is high is determined by the values of R & C.
This time period can be calculated using the following formula:
Time ON = (1.1)(R)(C)

Thus , the larger the values of R & C, the longer the time ON.
The 10nF capacitor connected to pin 5 is a decoupling capacitor to shunt electrical noise, to avoid instability and false triggering.

Bistable (flip-flop) mode.
The full name is a Bistable Multivibrator.
Flipflops are really impt as they are the building blocks of sequential circuits such as counters, registers, decoders, latches, memory, etc etc....
Basically, they are memory circuits that remember the logic state they were set
You can read more about flip flops here:
+ Flip Flops - an introduction

The 555 timer can act as a SR flip-flop.

 (Author of image: Philip Bosma)

You need to put two pull up resistors on pins 4 & 2 to hold the voltage high.
The 10nF capacitor connected to pin 5 is a decoupling capacitor to shunt electrical noise, to avoid instability and false triggering.

For computer applications, the 555 is not very useful as a flip-flop as its output is relatively slow.
Computers are driven by very high speed clocks, and the trigger and reset response times can't keep up.
But it's ok for noncomputer applications where high-speed response isn’t necessary.

Smitt Trigger (inverter) mode.
This  converts a noisy  (analog) input into a clean digital output.
It's a comparator circuit.

 The input signal is connected through a capacitor which connects to the trigger and threshold pins.
The 10nF capacitor connected to pin 5 is a decoupling capacitor to shunt electrical noise, to avoid instability and false triggering.

Links
+ TTL - transistor-transistor logic  
+ DIY Index
+ CMOS
+ How did NASA steer the saturn V - the computer & data storage in the 1960s (memory module)
+ LVDC - The saturn V memory module
+ NLC It's 555 
+ Evil Mad Scientist
+ Collin's Lab: Atari Punk Console

-----------------------------------------------------------------------------------
You can find more NLC builds here.
---------------------------------------------------------------------------------------

Tuesday, 28 February 2017

Integrated circuits - classification - Families & packages

ICs are mainly classified according to their family & packaging.
Building synths these days means ordering parts from various suppliers.
Olders synths often use parts developed decades ago.
IC packaging has evolved from the simple through hole in the 1970's  to mini SMD & STM today

It's essential to know pin numbers.
Each pin has a special function.
Pin 1 is always located  below the notch, dot or band in a DIP package.

Pins are numbered counter clockwise, starting from pin 1.
Thus, the last pin, is always located above pin 1.

ICs are also classified into families:
The 3most common are:
1. TTL (Transistor - Transistor - Logic)
2. CMOS
3. Linear - mainly amps, oscillators, regulators, etc


Packages
So many ......
The most common are:
1. Dual In-line Package (DIP)
2. Small Outline Package (SOP)
3. Quad Flat Package (QFP)
4. Ball Grid Array (BGA)

1. DIP = Dual inline package.
It's through hole.
It consists of two rows of pins . It connects to a circuit board with either a through-hole or a socket.
The pins are spaced by 0.1" (2.54mm). This is a standard spacing designed for fitting into breadboards and other prototyping boards.
          

The IC is designed to fit perfectly into the big gap in the centre of the breadboard.
There is a  0.3″ (7.62 mm) spacing between the two rows of pins.
This type of package is great for your synth DIY experiments.
You can have up to 64 pins on such a package.


2. SOP = Small Outline Packages
When it comes to Surface mount, you will often use SOP (Small-outline package) types for the ICs.
These usually have a rectangular shape with pins along two edges.
 ICs will also use the SOIC Small-outline integrated circuit package.

With SOIC packages, each pin is spaced by about 0.05" (1.27mm)

 Another common IC SMD package is the TSOP (Thin small-outline package).
TSOPs are common on ICs that power RAM and flash memory.
They are very low-profile (about 1mm) and have tight lead spacing (as low as 0.5mm).

SSOP (shrink small-outline package) is an even smaller version of SOIC packages.

 Notice that one edge has a bevel.
This bevel also lies on the side with the dot marking pin 1.
You can also see the notch .
Sometimes, the ICs are so small, that the dot isn't visible or present.
Thus, look for the bevel when trying to orientate the chip






TSSOP (thin-shrink small-outline package) is yet another variation.
It has a rectangular surface mount plastic package with gull-wing leads.
It is also smaller and thinner than a TSOP with the same lead count. 
The TSSOP comes in body sizes of 3.0mm, 4.4mm and 6.1mm. 
Lead counts range from 8 to 80. 





You may com across these adapters:
I get these from RS components
They are useful for converting various Small Outline packages
 (SOP/SSOP/TSOP/TSSOP/MSOP/QSOP) to dual in line package (DIP) format.



3. QFP = Quad Flat Packages.
Mostly, these are flat and square.
You will see the component with leads along each of the four edges.
QFPs can have pin numbers ranging from 32 pins to 304 pins.
It all depends on the pitch range.
The shape can vary too ... include low-profile and thin. 

These are really common in your microcontrollers
This is a Teensy 3.2
Micro-controllers are getting pretty common in Synth DIY, esp in Eurorack

4. Ball Grid Array (BGA)
You hopefully wont encounter any of these in synth DIY.

One side is covered with balls of solder. These are the connectors.
You will need special instruments ...either a reflow oven or hot air gun to work with these.
Specialised rework stations, vacuum devices to lift the IC, and  thermocouples to monitor the temperature are needed when repairing these.


----------------------------------------------------------
Transistors  and diodes often use this type

The old metal cans. These are named : TO-3/5/8/18/39/46/52/72
These can have many more than just 3 pins.
In the 1960's early chips were housed mainly in either TO-5 or TO-18 packages
These were commonly used to package bipolar transistors.
http://www.ti.com/lit/an/snoa033/snoa033.pdf

The metal can was ok, but as more and more leads were added something more
durable was needed.... thus the DIP package was invented.