Illustration: At an electronic parts shop counter, a customer holds up two 8-pin chips printed LM358 and LM393 and asks, "They both have 8 pins, so they're the same, right?" A female staff member in a red apron points at the two chips and answers, "One's an op amp, the other's a comparator!"
An op amp is an amplifier that boosts or filters small signals, while a comparator checks which of two voltages is higher and switches its output on or off. Part numbers like LM358 · LM324 · LM393 · TL072 are short and look alike, but the digits in the part number tell you the channel count and temperature grade, and the trailing letters tell you the package and packing. In particular, even with the same pin count, op amps and comparators have different output types, and 14-pin and 5-pin chips have different pinouts depending on the maker and series, so in many cases you cannot simply swap one for another.
All values were checked against TI · ST · onsemi · Analog Devices · Microchip · Nisshinbo (NJR) datasheets. Click a part number to look up stock in eGuro Part Search.
Part numbers in this family follow the order [prefix] + temperature grade digit + function digits + package + packing. LM358DR is TI · 0~70℃ grade · dual op amp · SOIC-8 · 2,500-piece reel. Changing only the leading digit for the same function changes the temperature grade: LM158 (−55~125℃) · LM258 (−25~85℃) · LM358 (0~70℃) (per TI). Comparators follow the same rule, so LM193 · LM293 · LM393 are one family.
| Series | Single | Dual | Quad |
|---|---|---|---|
| LM series op amps | — | LM358 | LM324 |
| LMV low-voltage | LMV321 | LMV358 | LMV324 |
| TL07x (FET input) | TL071 | TL072 | TL074 |
| MCP600x | MCP6001 | MCP6002 | MCP6004 |
| LM series comparators | — | LM393 | LM339 |
How many op amps are in one chip is built into the part number digits. Many series split them by the last digit 1 · 2 · 4, like TL07x (TI documents say "x is the channel count"), while others such as LM358 · LM324 use entirely different numbers. onsemi documents describe the LM358 as "half of an LM324". Some have separate numbers for automotive and wide-temperature versions: LM2904 = wide-temperature version of the LM358, LM2902 = wide-temperature version of the LM324, and for comparators LM2903 = LM393, LM2901 = LM339.
| LM358 (op amp) | LM393 (comparator) | |
|---|---|---|
| 8-pin pinout | 1 OUT · 2 IN− · 3 IN+ · 4 GND · 8 V+ | Identical |
| Output | Sources and sinks current | Pull-down only — open-collector |
| To output High | Comes out as is | A pull-up resistor is required |
| Used for | Amplification · filters | Voltage sensing · switching on/off |
The TI datasheet explains that the LM393 output is open-collector, so "a pull-up resistor can be connected to the desired logic voltage to match the level". The output transistor only sinks at least 6mA when Low, and almost no current flows when High, so without a pull-up resistor you get no High output. The LM358, by contrast, can also source current from its output (at least 20mA with a 15V supply). The two chips have identical 8-pin pinouts, so you cannot tell them apart on the board — always check the part number. The LM393's response time is about 1.3µs (TI · ST · onsemi typ).
| Part number | TI | ST | onsemi |
|---|---|---|---|
| LM358 / LM393 | 0~70℃ | 0~70℃ | 0~70℃ |
| LM258 / LM293 | −25~85℃ | −40~105℃ | −25~85℃ |
| LM2904 / LM2903 | −40~125℃ | −40~125℃ (2904) | −40~105℃ (125℃ with V) |
Even with the same leading digit, the temperature range differs by maker. For the same LM2904, onsemi rates it −40~105℃, and only LM2904VDR2G with a V reaches 125℃. The supply range also differs: TI LM2904 is 3~26V, ST LM2904 is 3~30V.
| Letter | TI | ST | Other makers |
|---|---|---|---|
| D | SOIC | SO8 tube (DT = reel) | NJR NJM4558D = DIP8(discontinued) |
| P | DIP-8 | TSSOP8 (LM393PT) | Microchip P = PDIP |
| N | DIP-14 (LM324N) | — | onsemi N = DIP-8 |
| ST | — | MiniSO8 (LM358ST) | Microchip ST = TSSOP-14 |
| Trailing R / T | R = large reel, T = small reel | Trailing T = reel | onsemi R2 = reel, G = lead-free |
At TI, 8-pin DIP is P and 14-pin DIP is N. But the NS in LM324NSR is not DIP but an SOP-14 reel, so judging by the N alone will mislead you. ST has dropped DIP from its current documents (SO8 is D/DT, TSSOP8 is PT, MiniSO8 is ST, DFN8 is QT), and onsemi writes D (SOIC) + R2 (reel) + G (lead-free), as in LM358DR2G. Microchip uses the order T (reel) · I/E (temperature) · /MS (MSOP-8), as in MCP6002T-I/MS, and NJR uses NJM4558M (DMP8) · E (SOP8) · V (SSOP8); the trailing -D is not a package but a grade selected for low noise.
| Part number | Supply | Features (datasheet) |
|---|---|---|
| LM358 | 3~30V (single) | Input range includes ground; output drops at least 1.5V below the upper supply |
| TL072 | ±2.25~±20V (H) | FET input, high input impedance, GBW 5.25MHz (H) |
| NE5532 | ±5~±15V | Low noise 5nV/√Hz, for audio |
| LMV321 | 2.7~5.5V | Low voltage, output swings to the supply (rail-to-rail) |
| MCP6002 | 1.8~6.0V | Rail-to-rail input and output, 1MHz |
| OPA2333 | 1.8~5.5V | Zero drift, offset 10µV max |
| OP07 | ±3~±18V | Precision type, offset 75µV max (E grade) |
They are all "op amps", but their operating voltages and performance are completely different. The LM358 works up to 30V but its output does not swing all the way to the supply rail, while low-voltage types such as LMV321 · MCP6002 swing to the rail but must not exceed 5.5~6V. TL072 · NE5532 suit circuits with dual ± supplies. Don't substitute just because the part numbers look alike — check the supply range first.
| Type | Pinout | Across makers |
|---|---|---|
| Dual 8-pin (LM358 · LM393 · TL072 · NE5532 · MCP6002) | 1 OUT A · 2 IN−A · 3 IN+A · 4 V− / GND · 5 IN+B · 6 IN−B · 7 OUT B · 8 V+ | All the same |
| Quad 14-pin op amp (LM324 · TL074 · MCP6004) | 4 V+ · 11 GND | Same |
| Quad 14-pin comparator (LM339) | 3 VCC · 12 GND, outputs 1 · 2 · 13 · 14 | Different from LM324 |
| Single 5-pin SOT-23 | All different, as shown below | Differs even within the same maker |
Dual-channel 8-pin parts share the same pinout regardless of op amp · comparator · maker, so plugging them in is easy (which is why the output difference in section 3 is even more of a trap). But for quad-channel 14-pin parts, the LM324 and LM339 have different power pins. If you plug an LM339 into an LM324 socket, power goes into the wrong pins from the start. Also, don't assume pin 4 of a 14-pin chip is ground out of 8-pin habit — on the LM324, pin 4 is the + supply.
The most dangerous is the single-channel 5-pin SOT-23. Even within TI, LMV321IDBVR has IN+ on pin 1, while TL071H · OPA333 have OUT on pin 1. Microchip has three versions of the same MCP6001 with different pinouts (MCP6001 · R · U), and in particular the MCP6001R has + supply on pin 2 and − supply on pin 5, so the power is reversed. For TL071H · OPA333, the SOT-23 and SC70 pinouts also differ from each other. For 5-pin op amps, check the pin diagram in the datasheet down to the last letter of the part number.
Illustration: A customer is about to plug an LM339 into a 14-pin socket on a board and asks, "I just pull out the LM324 and plug this in, right?" A female staff member holds out her palm to stop him and answers, "The power pins are in different places!"
| Order part number | Top marking | Maker |
|---|---|---|
| LM358DR | LM358 | TI |
| LM393DGKR | One of M9P · M9S · M9U | TI |
| LMV321IDBVR | RC1F | TI |
| LM358ST | K405 | ST |
| LM393QT | K5B | ST |
| MCP6001UT-E/OT | CF + trace code | Microchip |
Large chips such as SOIC · DIP are printed with text resembling the part number, but small chips such as VSSOP · SOT-23 · DFN carry only short codes like M9P · RC1F · K5B, which you have to look up in that maker's datasheet marking table. TI's new LM358BIDDFR also has LM358 on top, the same as the old LM358DR, so you cannot tell from the marking alone whether it is the B version, and onsemi's NCV2903 (automotive) is also marked 2903V on top, so it cannot be distinguished by the surface alone.
| Part number | Maker | What it is | Package · packing |
|---|---|---|---|
| LM358DR | TI | Dual op amp · 0~70℃ | SOIC-8 reel |
| LM358DT | ST | Dual op amp · 0~70℃ | SO8 reel |
| LM358DR2G | onsemi | Dual op amp · lead-free | SOIC-8 reel |
| LM2904WYDT | ST | Wide temperature · enhanced ESD · automotive | SO8 reel |
| LM324NSR | TI | Quad op amp | SOP-14 reel |
| TL072HIDR | TI | FET-input dual · new die | SOIC-8 reel |
| LMV321IDBVR | TI | Low-voltage single | SOT-23-5 reel |
| LM393DR | TI | Dual comparator | SOIC-8 reel |
| LM339N | TI | Quad comparator | DIP-14 tube |
| MCP6002T-I/MS | Microchip | Dual op amp · −40~85℃ | MSOP-8 reel |
All of these part numbers appear letter for letter in the ordering information of each maker's datasheet. Even for the same LM358 SOIC reel, the ending differs: DR at TI, DT at ST, and DR2G at onsemi.
Sources: TI LM358 (SLOS068AB) · LM324 (SLOS066AE) · TL072 (SLOS080W) · NE5532 (SLOS075K) · LMV321 (SLOS263Y) · OPA2333 (SBOS351E) · LM393 (SLCS005AH) · LM339 (SLCS006Z), ST LM358 · LM2904 · TL072 · LM393, onsemi LM358/D · LM393/D, Analog Devices OP07, Microchip MCP6001/2/4 (DS20001733L), Nisshinbo NJM4558 datasheets. Grades · packages · markings may differ by maker and product, so check the relevant datasheet before placing an actual order.
| ▲ Next | 쎄미하우 MOSFET 데이터시트 — SiC MOSFET |
|---|---|
| ▼ Previous | How to Read Voltage Regulator Part Numbers — 7805 · LM317 · AMS1117-3.3, LDO Voltage Codes and Package Letters |