LM339 Pinout, Specs, Equivalent-Working Explained

LM339 is one of the widely used voltage comparator IC from the series of LMx39x comparators. It consists of four independent voltage comparators, designed in such a way that it can work from a single source of power supply.

It is used in various applications like analog to digital converter (ADC), measuring instruments, etc. In this article, we will see the pinout and specifications of the LM339 IC. We will also discuss its working and the other equivalents of this IC.

LM339 pinout

LM339 IC pinout
LM339 IC pinout

The table below gives the description of each pin present in LM339 IC.

Pin No.Pin NameDescription
1OUT PinOut pin of the first comparator
2OUT PinOut pin of the second comparator
3VccThe power supply of the comparator
4IN-Negative input pin of the second comparator
5IN+Positive input pin of the second comparator
6IN-Negative input pin of the first comparator
7IN+Positive input pin of the first comparator
8IN-Negative pin of the third comparator
9IN+Positive pin of the third comparator
10IN-Negative pin of the fourth comparator
11IN+Positive pin of the fourth comparator
12GNDGround pin
13OUTThe output pin of the fourth comparator
14OUTThe output pin of the third comparator
This table describes each pin on LM339 IC

What is LM339?

LM339 is a voltage comparator IC that consists of 14 pins and four independent voltage comparators. This specially designed comparator can work from a single power supply. It is available in different packages like TSSOP-14, SOIC-14, and PDIP-14.

It can even work from a dual power supply, but the voltage difference between the two supplies must be between 2 V to 36 V. The comparator even operates well for split power supplies.

It compares two inputs that are applied at the input terminal and shows the output in a digital form. Based on their amplitudes, it indicates which of the input is higher.

One of the distinctive features of the LM339 comparator is that the Input Common-Mode Voltage Range (ICMR) includes a ground when it works from a single voltage source.

Here are the main features of LM339 Voltage comparator IC:

  • Low supply current i.e. 1.1 mA
  • Low input bias current i.e. 25 nA
  • Low input offset current i.e. 5 nA
  • Wide range of single supply voltage values (+3 Volts to 36 Volts)
  • Low output saturation voltage i.e. 250 mW
  • Low input offset voltage i.e. 1 mV

What is a Voltage comparator?

In electronic circuits, a voltage comparator is used to compare two input voltages and shows which one of the two is greater.

Voltage comparator
Voltage comparator

A reference voltage signal is first applied to the inverting input of the circuit. The voltage signal of unknown value is then applied to the non-inverting input of the circuit.

Now, the comparator compares this unknown signal with the reference signal and gives an output. It can be either of the following:

Input VoltageOutput Voltage
Equal to the reference voltageZero
Greater than the reference voltagePositive
Lesser than the reference voltageNegative
The output of the voltage comparator

What are the types of Voltage comparators?

Depending upon the Op-Amp terminal to which the input signal is applied, there are two types of Voltage comparators: Inverting and Non-inverting comparators.

Inverting Comparator

It is an op-amp based comparator where

  • Reference voltage is applied to its non-inverting terminal
  • Input voltage is applied to its inverting terminal

Non-Inverting Comparator

It is an op-amp based comparator where

  • Reference voltage is applied to its inverting terminal
  • Input voltage is applied to its non-inverting terminal

How does LM339 Work?

The working of the LM339 voltage comparator is similar to other comparators ICs. LM339 IC has four voltage comparators. Each comparator of this IC consists of three pins. These are Non-inverting(+IN), Inverting (-IN), and Output.

To understand its working, consider one comparator out of the four comparators present on this IC. Let V1 and V2 be the two input voltages that need to be compared and V0 be the output of the comparator.

Working of LM339 as voltage comparator
Working of LM339 as a voltage comparator

Suppose the voltage V1 is connected to pin 5 which is the non-inverting input (+IN) of the comparator. And the voltage V2 is connected to pin 4, which is inverting input (-IN) of the comparator.

Case 1: If the voltage V2  is greater than voltage V1, then the output will be logic zero.

V2>V1 then Vo = 0V or GND

Case 2: If the voltage V1 is greater than the voltage V2, then the output will be logic Vcc.

V1>V2 then Vo = VCC

LM339 IC specifications

The specifications of LM339 IC are explained below:

Compatible with logic formsTTL, CMOS, MOS
Operating temperature-25°C to 85°C
Junction temperature150°C
Low input bias current25nA
Low Input offset current±5nA
Low supply current1.1 mA
Single power supply range+3.0 V to +36 V
Dual power supplies range+18V to -18V
Low input offset voltage1mV
The low output saturation voltage130 mV at 4mA
LM339 IC specifications

What are the the equivalents of the LM339?

The equivalent of LM339 voltage comparator IC are:

  • LM2901
  • LM239
  • LM311
  • LM324
  • LM397
  • LM139

What is the difference between LM339 & LM324?

The difference between LM339 and LM324 is that:

The output of the LM339 comparator is an open collector, while the LM324 has a complementary output.
Due to the open collector, the output load can be connected to any voltage level, irrespective of the voltage provided to the IC. While
in the case of the LM324 the load will always operate at the voltage given to the IC.

Please note that an open collector only sinks the current whereas the complementary output can either source or sink.

**To know more about open collector output, read this article: Open collector

What are the applications of LM339?

LM339 is used in several applications. Some of them are mentioned below:

  • Driving CMOS
  • Transducer Amplifier
  • Voltage comparators
  • Industrial oscillators
  • Peak detectors
  • Crystal controlled oscillator
  • Negative reference comparator
  • Driving TTL
  • Low-frequency Om-amp
  • Measuring instruments
  • Logic voltage translation
  • Automotive
  • Limit comparators
  • Power supervision
  • Square wave pulse generation and time delay generation
  • Analog to digital conversion of signals

LM339 packages

LM339 IC is available in different packages in the market which are listed below:

The TSSOP-14 package (LM339DTBR2G)

TSSOP-14 package
TSSOP-14 package

The PDIP-14 package (LM339NG)

PDIP-14 package
PDIP-14 package

The SOIC-14 package (LM339DG)

SOIC-14 package
SOIC-14 package

LM339 datasheet

To download the LM339 IC datasheet, click here. By reading this datasheet, you can find detailed information about the IC.

Leave a Comment