Opens in a new tab

LM339N

Quad comparator, open-collector, 2-36V, GND-referenced input, PDIP-14

12000

Effective Inventory

Image for reference only

Manufacturer Part:

LM339N

Package:

PDIP-14 (19.3 x 6.35 x 4.57mm, 2.54mm pitch, through-hole)

Brand:

Product Categories:

Quality Commitment

Shipping & Payment

Service & Packaging

Product Manual

Other recommendations you may be interested in.

Description

Product Overview

The LM339N from Texas Instruments is a quad differential comparator with open-collector outputs, 2V-36V supply range, input common-mode range including ground, and 1.3µs response time in a 14-pin PDIP package.

Key Specifications

Number of Comparators 4 (independent)
Supply Voltage 2V to 36V (single) or ±1V to ±18V (dual)
Input Offset Voltage 2mV typical, 5mV max
Input Bias Current 25nA typical
Input Offset Current ±5nA typical
Input Common-Mode Range 0V to V+−1.5V (includes ground)
Differential Input Voltage Up to 36V
Output Type Open-collector (sinks to GND)
Output Sink Current 6mA min, 16mA typical
Output Saturation Voltage 250mV max @ ISINK=4mA
Response Time 1.3µs typical
Supply Current (all 4) 0.8mA typical
Voltage Gain 200 V/mV typical
Operating Temperature 0°C to +70°C
Package PDIP-14 (19.3 x 6.35mm)

Features

  • Four independent comparators
  • Open-collector outputs for wired-AND
  • Input common-mode range includes ground
  • Low input offset voltage: 2mV typical
  • Low supply current: 0.8mA for all four
  • Wide supply range: 2V to 36V
  • TTL, CMOS, MOS logic compatible output

Applications

  • Voltage level detection
  • Window comparator
  • Oscillator (RC relaxation)
  • Zero-crossing detector
  • Battery monitor
Product Introduction: LM339N Product Introduction

The LM339N from Texas Instruments contains four independent precision voltage comparators in a single 14-pin PDIP package. Each comparator has an open-collector output that can sink up to 16mA, making it directly compatible with TTL, CMOS, and MOS logic. The open-collector architecture allows wired-AND connections: multiple outputs tied together with a single pull-up resistor create a logical AND — the combined output is HIGH only when all individual outputs are HIGH (i.e., all comparators see their non-inverting input above their inverting input). The input common-mode voltage range extends from ground (0V) to V+−1.5V, which is unique because most comparators cannot accept inputs at the negative rail. The 2mV typical input offset voltage provides excellent precision for threshold detection. The 0.8mA total supply current for all four comparators makes the LM339 ideal for battery-powered applications. The N suffix denotes the commercial temperature range (0°C to +70°C) in a PDIP-14 package.

Working Principle: LM339N Working Principle

Each of the four comparators in the LM339N continuously compares the voltage at its non-inverting input (+) with the voltage at its inverting input (−). When V+ > V−, the output transistor is OFF and the open-collector output floats (appears HIGH when a pull-up resistor is connected to a positive supply). When V+ < V−, the output transistor turns ON and sinks current to ground, pulling the output LOW. There is no feedback — the comparator operates in open-loop, providing a digital (HIGH/LOW) output based on the relative input voltages. The output cannot source current; it can only sink. A pull-up resistor (typically 1kΩ to 10kΩ) from the output to the logic supply voltage is always required. For a voltage threshold detector, a reference voltage is applied to the inverting input (e.g., from a voltage divider) and the signal is applied to the non-inverting input. When the signal exceeds the reference, the output goes HIGH. For a window comparator, two comparators are used: one detects the upper limit and the other detects the lower limit; their open-collector outputs are tied together so the combined output is HIGH only when the input is within the window.

Pin Description: LM339N Pin Definition and Functions
Pin Name Type Description
1 1OUT Output Comparator 1 output (open-collector)
2 2OUT Output Comparator 2 output (open-collector)
3 VCC Power Positive supply (2V to 36V)
4 2IN− Input Comparator 2 inverting input
5 2IN+ Input Comparator 2 non-inverting input
6 1IN− Input Comparator 1 inverting input
7 1IN+ Input Comparator 1 non-inverting input
8 3IN− Input Comparator 3 inverting input
9 3IN+ Input Comparator 3 non-inverting input
10 4IN− Input Comparator 4 inverting input
11 4IN+ Input Comparator 4 non-inverting input
12 GND Power Ground
13 4OUT Output Comparator 4 output (open-collector)
14 3OUT Output Comparator 3 output (open-collector)
Application Scenarios: In which products and applications is LM339N used
  • Voltage Monitor: IN+ = battery voltage divider; IN− = TL431 reference (2.5V); output LOW when battery drops below threshold; drives LED indicator
  • Window Comparator: Two comparators with different thresholds; open-collector outputs tied together; HIGH only when input is within range
  • RC Oscillator: Positive feedback through resistor divider; RC on negative input; self-oscillating at ~1/(2×R×C×ln(3))
  • Zero-Crossing: IN+ at GND; IN− from AC via resistor; output transitions at each zero crossing of the AC waveform
  • Motor Control: Multiple comparators sense current shunt voltages; open-collector outputs wired-AND for overcurrent shutdown
Alternative Models: What chips are recommended as replacements for LM339N
Model Manufacturer Key Difference Package Specs
LM339AN TI Improved version with lower 2mV max offset voltage for precision multi-channel comparison DIP-14 1.3µs/4-ch
LM2901N TI Automotive-grade -40 to +125C version with enhanced ESD for harsh automotive environments DIP-14 1.3µs/-40-125C
LM393N TI Dual comparator version in DIP-8 for applications requiring only two comparator channels DIP-8 1.3µs/2-ch
TLV3204AIDR TI Quad 40ns high-speed comparator with push-pull output for fast multi-signal detection SOIC-14 40ns/2.7-5.5V
TSX3704IPT ST Quad micropower comparator with 10µA supply current per comparator for battery systems TSSOP-14 10µA/2.5-6V

LM339N is the industry-standard quad voltage comparator in DIP-14 with open-drain outputs and 2-36V supply range. All four comparators share common power rails. LM339AN offers lower 2mV offset. For automotive use, LM2901 extends temperature to 125C. For high-speed applications, TLV3204 provides 40ns response at 2.7-5.5V. The dual version LM393 provides 2 channels in DIP-8.

Recommend Parts

RK73H1ETTP20R0F

20Ohm +/-1% 0.063W thick film resistor, 0402, +/-100 ppm/C, AEC-Q200

Brand: KOA Speer

Package: 0402 (1005 Metric) 1.0 x 0.5 x 0.35 mm

IN STOCK: 33180pcs

Cargo cycle: 3-7 Days

The minimum order is 1

TPS77001DBVR

50mA LDO, adjustable 1.2-5.5V out, 35mV dropout, 17µA IQ, SOT-23-5

Brand: TI

Package: SOT-23-5 (2.9 x 1.6 x 1.45 mm)

IN STOCK: 5000pcs

Cargo cycle: 3-7 Days

The minimum order is 1

TPS61021ADSGR

3A synchronous boost converter, 1.8-5.5V, VSSOP-8

Brand: TI

Package: VSSOP-8 (3.0 x 3.0 mm, DSG package)

IN STOCK: 12398pcs

Cargo cycle: 3-7 Days

The minimum order is 1

S1MB-13-F

1A 1000V GPP rectifier, 1.1V VF, 3μs trr, SMB/DO-214AA, -65~150°C

Brand: Diodes Inc

Package: SMB / DO-214AA (4.57 x 3.94 x 2.50mm)

IN STOCK: 3679pcs

Cargo cycle: 3-7 Days

The minimum order is 1

ADUM5000ARWZ-RL

500mW isolated DC-DC converter, 3.3/5V, SOIC-16W

Brand: ADI

Package: SOIC-16W (10.3 x 7.5 mm, RW package)

IN STOCK: 6373pcs

Cargo cycle: 3-7 Days

The minimum order is 1

ADS830E/2K5

8-bit 60MSPS high-speed ADC, TSSOP-24

Brand: TI

Package: TSSOP-24 (7.8 x 4.4 mm)

IN STOCK: 9357pcs

Cargo cycle: 3-7 Days

The minimum order is 1