An IC (integrated circuit), or "chip", is a complete circuit, with transistors, resistors and capacitors, all placed on a small piece of silicon inside a plastic package with pins. The 555 timer is a chip, the op-amp is a chip, and the microcontroller is a chip.
What's inside it?
If you broke open the plastic package, you'd find a piece of silicon smaller than a grain of rice, and gold or copper wires thinner than a hair connecting it to the pins. On that piece there may be tens of transistors (as in the 555) or billions (as in a phone processor).
Why is this better than separate parts? It's much smaller, cheaper in large production, faster, and uses less power, and the parts inside are matched because they were made together. That's why a single op-amp is more accurate than the same circuit built from separate transistors.
The types
| Type | What it does | Examples |
|---|---|---|
| Digital | 0 and 1, logic, counting and memory | Logic gates, 74HC595 |
| Analogue | Amplifying and comparing signals | LM358, LM393 |
| Mixed | In between | The 555, the ADC and the microcontroller |
| Power | Regulating voltage and charging | AMS1117, TP4056 |
| Interface | Connecting between systems | MAX485, CH340 |
Packages
| Package | Shape | Suited to |
|---|---|---|
| DIP | Long legs in two rows, 2.54 mm apart | Breadboards and hand soldering |
| SOIC | Short surface-mount legs, smaller | Modern boards, and relatively easy to hand-solder |
| TSSOP / MSOP | Smaller and closer together | Needs a steady hand and flux |
| QFN | No legs, pads under the chip | Factories and hot-air stations |
The same chip is often sold in more than one package. For experimenting on a breadboard, look for DIP.
If the chip you want only comes in SMD, buy an SOIC-to-DIP adapter (breakout) board, solder it on, and plug it into the breadboard. Soldering tips are in hand-soldering SMD parts.
Where's pin 1?
This is the most important thing. If you fit the chip the wrong way round, it may burn out as soon as you power it.
- The notch at one end of the chip, or a dot engraved next to pin 1.
- If you look at it from above with the notch to the left, pin 1 is bottom left.
- The count runs anticlockwise: the bottom row from left to right, then the top row from right to left.
An example: on an 8-pin chip, pin 1 is bottom left, pin 4 bottom right, pin 5 top right, and pin 8 top left. So pin 1 and pin 8 are opposite each other.
On QFN and square packages, pin 1 is marked with a dot or a bevelled corner, and the count is again anticlockwise around the four sides. And there's often a large pad in the middle under the chip, which is usually ground and must be soldered.
Reading the datasheet
The datasheet is the chip's "catalogue", and the first things to look for:
- Pin configuration: the function of each pin.
- Absolute maximum ratings: the limits that if you exceed them, the chip may be damaged. These aren't operating conditions.
- Recommended operating conditions: the right supply voltage and temperature.
- Electrical characteristics: the real performance (current, delay and voltages).
- Typical application: a ready-made circuit. Start from it; it's usually what you need.
An example: the LM358
If you open the datasheet of the LM358 (a well-known dual op-amp) you'll find:
- Supply: from 3 to 32 V. And the absolute maximum is 32, so don't run it there.
- Output: it doesn't reach the full supply voltage; it stops about 1.5 V short. That explains why the output stops at 3.5 when you power it from 5 V.
- Input: it accepts voltages down to ground (an important feature when you power it from a single supply).
Each of these facts can save you hours of trying to work out why the circuit "doesn't work".
Decoding the marking
The chip is marked with something like SN74HC595N or LM358DR:
- The first letters: the manufacturer (SN = Texas Instruments, LM = originally National).
- The core name: 74HC595 or 358. This is what you search for.
- The last letters: the package and temperature. For example N = DIP, D = SOIC, and R = reel.
- And below it numbers such as 2245: the date of manufacture (year 22, week 45) or a batch number.
The decoupling capacitor
Every digital chip needs a 100 nF capacitor between the supply pin and ground, as close as possible to the pin. Without it, the chip may behave erratically. It's one of the best-known PCB mistakes. The details are in decoupling capacitors.
Tips
- A socket: when you solder a DIP chip, use a socket so you can replace it without desoldering.
- Static electricity: CMOS chips are sensitive. Hold them by their sides, after touching something connected to earth.
- The code marked on it: it contains the chip's name plus extra letters for the package and temperature. Search for the core name (such as NE555 or LM358) to find the datasheet.
Mistakes that burn out chips
| Mistake | Result |
|---|---|
| The chip is fitted the wrong way round | The supply goes to the wrong pins, and it usually heats up and fails |
| A supply voltage above the maximum | Immediate damage, or damage after a while |
| A CMOS input left unconnected | Erratic behaviour and extra consumption |
| A signal on a pin while the chip is unpowered | Current flows through its internal protection diodes |
| Removing or fitting it with the power on | It may be damaged |
Unused inputs: on digital chips, connect any unused input to ground or the supply. And on a spare op-amp, connect it as a buffer with the input at half the supply.
FAQ
How do I know a chip has burnt out? Signs such as it getting hot when it should be cold, or the supply dropping when you fit it. The easiest way is to try a new one in the same socket.
Can I replace a chip with another of the same number from a different manufacturer? Usually yes, if the core name and package are the same (such as the NE555 and LM555). But check the datasheet, because there are sometimes small differences in speed or current.