Texas Instruments

LM339DR - Quad Differential Comparator, Open-Collector | TI

MPN: LM339DR ✓ Active
In Stock Ships in 1-3 business days
2 V to 36 V Vdss 25 nA Id SOIC-14 Package
From $0.15 USD / Unit
MOQ: 1 |
Price updated: 2026-10-20
Volume Pricing
Qty Unit Price Extended
1 $0.42 $0.42
10 $0.36 $3.60
100 $0.25 $25.00
500 $0.2 $100.00
1,000 $0.17 $170.00
2,500 $0.15 $375.00
ℹ️ All prices are in USD

LM339DR Overview

The Texas Instruments LM339DR is a quad differential comparator that integrates four independent precision voltage comparators into a single 14-pin SOIC package. The device operates from a single power supply over a wide voltage range and is well-suited for use in voltage-level detection, threshold detection, and analog signal conditioning circuits. The LM339DR outputs are open-collector and require a pull-up resistor to a supply ranging from 5V to 36V (or higher), enabling level-shifting between incompatible logic domains.

What is an analog comparator? An analog comparator is an active circuit element that compares two input voltages and produces a binary output based on which is larger. Comparators sit alongside op-amps and ADCs in the signal-chain hierarchy: op-amp (linear amplification) -> comparator (1-bit decision) -> Schmitt trigger (hysteresis-based decision). The LM339 family sits in the general-purpose comparator category, optimized for cost and versatility rather than speed or precision.

Key features of the LM339DR include a typical input offset voltage of 2 mV, a wide common-mode input voltage range that includes ground, a differential input voltage range equal to the maximum-rated supply voltage, and an operating supply range of 2V to 36V. The device draws a low supply current of approximately 1 mA (200 uA per comparator in the newer LM339B), and outputs are compatible with TTL, MOS, and CMOS logic families. Operating temperature range spans 0C to +70C in the standard commercial grade, with automotive-grade LM2901 variants covering -40C to +125C.

The LM339DR architecture uses a bipolar transistor design with Darlington NPN output stages driving open-collector transistors. This architecture provides high input impedance and stable switching thresholds, though response time is in the microsecond range rather than the nanosecond range of high-speed comparators. The device is internally compensated and requires no external frequency-compensation components.

Typical applications include overvoltage/undervoltage protection circuits, zero-crossing detectors, oscillator circuits, window comparators, and sensor-signal level translation. Industrial uses include battery chargers, switch-mode power supply feedback loops, and motor-control interface circuits.

Designers should note that open-collector outputs require external pull-up resistors and that output transition time is dominated by the RC time constant of the pull-up resistor and load capacitance. For high-speed applications, choose a comparator with push-pull outputs such as the TL331 family.

This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the standalone TI datasheet, providing engineers a single-point comparison resource.

Drop-in alternatives for LM339DR — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.

Variants in this series

Same-series models that are drop-in compatible with LM339DR (same form factor and footprint) — differing in Logic Compatibility, Package.

Texas Instruments
Logic Compatibility: TTL, MOS, and CMOS-compatible output
Package: 14-pin SOIC
Compare with LM339DR →

Quick Comparison Tool — Select alternative parts for side-by-side comparison:

LM339DR2G

✅ Drop-In
📦 SOIC-14
same SOIC-14 package, open-collector outputs, identical pinout

📋 Reference alternative (not in catalog)

LM339BDR

✅ Drop-In
📦 SOIC-14
same SOIC-14 footprint, 0.37 mV offset (vs 2 mV), 2 kV ESD

📋 Reference alternative (not in catalog)

LM2901DR

✅ Drop-In
📦 SOIC-14
same SOIC-14 footprint, extended -40C to +125C automotive temp range

📋 Reference alternative (not in catalog)

LM2901DR2G

✅ Drop-In
📦 SOIC-14
same SOIC-14 footprint, automotive temp range, cross-brand second source

📋 Reference alternative (not in catalog)

LM239DR

✅ Drop-In
📦 SOIC-14
same SOIC-14 footprint, -25C to +85C industrial temp range

📋 Reference alternative (not in catalog)

LM339DT

✅ Drop-In
📦 SOIC-14
same SOIC-14 footprint, identical pinout, STMicro second source

📋 Reference alternative (not in catalog)

BA2903SF-E2

✅ Drop-In ⚠️ Specs Unverified
📦 SOIC-14
dual comparator in SOIC-14 (2 comparators), different pin mapping - NOT drop-in

📋 Reference alternative (not in catalog)

LM339DR Maximum Ratings & Electrical Characteristics

Number of Comparators 4 (Quad)
Comparator Type General Purpose
Output Type Open-Collector
Supply Voltage Range (Single) 2 V to 36 V
Supply Voltage Range (Dual) ±1 V to ±18 V
Input Offset Voltage (max) 5 mV
Input Bias Current (typ) 25 nA
Input Offset Current (typ) 5 nA
Common-Mode Input Range 0 V to VCC - 1.5 V
Differential Input Voltage ±36 V (equal to VCC max)
Supply Current (typ, all 4) 1 mA
Response Time (typ) 1.3 us
Operating Temperature Range 0 C to +70 C
Logic Compatibility TTL, MOS, CMOS
Package SOIC-14
Mounting Type Surface Mount
RoHS Status Compliant

LM339DR Pin Configuration

SOIC-14 (3.9mm) Package Pinout Diagram SOIC-14 14-pin small outline IC, 3.9x8.7mm, P1.27mm, JEDEC MS-012. Pin 1 by chamfer. 1 14 2 13 3 12 4 11 5 10 6 9 7 8 SOIC-14 (3.9mm)
Pin 1 1OUT — Output of comparator 1 (open-collector)
Pin 2 1IN- — Inverting input of comparator 1
Pin 3 1IN+ — Non-inverting input of comparator 1
Pin 4 VCC — Positive supply voltage
Pin 5 2IN+ — Non-inverting input of comparator 2
Pin 6 2IN- — Inverting input of comparator 2
Pin 7 2OUT — Output of comparator 2 (open-collector)
Pin 8 3IN- — Inverting input of comparator 3
Pin 9 3IN+ — Non-inverting input of comparator 3
Pin 10 4OUT — Output of comparator 4 (open-collector)
Pin 11 4IN- — Inverting input of comparator 4
Pin 12 4IN+ — Non-inverting input of comparator 4
Pin 13 GND — Ground (0V reference)
Pin 14 3OUT — Output of comparator 3 (open-collector)

Typical Applications

LM339DR is suitable for 6 applications: Battery Overvoltage/Undervoltage Protection, Zero-Crossing Detector for AC Line, Window Comparator for Sensor Signal Validation, Square-Wave and Pulse Oscillator, Level Translator / Logic Family Interface, Industrial Process Control Limit Switch.

⚡

Battery Overvoltage/Undervoltage Protection

The LM339DR's wide supply range of 2V to 36V and quad comparator architecture make it ideal for multi-cell battery management circuits. Each of the four channels can monitor a different threshold: overvoltage cutoff, undervoltage cutoff, overcurrent detection via shunt resistor, and temperature cutoff using an NTC. The 1.3 us response time is fast enough to disconnect a load via MOSFET gate before damage occurs, and open-collector outputs can directly drive logic-level signals or optocouplers for isolated battery stacks. Using the same part across all four cells of an industrial 12V-24V battery system reduces BOM complexity.

🔌

Zero-Crossing Detector for AC Line

In zero-crossing detector circuits, the LM339DR senses when an AC mains waveform crosses 0V by comparing the attenuated line voltage to ground reference. The open-collector output produces a low-going pulse at each zero crossing, enabling triac triggering at minimal load current and reducing EMI in dimmer and motor-control circuits. With differential input voltage rating equal to VCC (36V max), the LM339DR tolerates direct connection to a 240V AC line through a high-impedance divider without damage. The quad package enables four separate zero-crossing or voltage-monitoring channels in one IC.

🏭

Window Comparator for Sensor Signal Validation

Window comparators use two LM339DR channels to define an upper and lower acceptance limit for a sensor signal. The output is active only when the input lies within the valid window, useful for validating that an analog sensor reading is neither shorted nor open. Compared to dedicated window-comparator ICs, the LM339DR offers flexibility to set independent thresholds for different sensors. The 2 mV input offset is acceptable for industrial sensors with full-scale outputs of volts, and the open-collector outputs can be wire-ORed to a single interrupt line.

📺

Square-Wave and Pulse Oscillator

Using two of the LM339DR's four comparators in a feedback loop with an RC network creates a relaxation oscillator producing square waves from sub-Hz to tens-of-kHz. The open-collector output charges and discharges a capacitor through a resistor, generating triangle and square outputs simultaneously. The other two comparators remain available for signal conditioning or alarm outputs. This topology is common in function generators, missing-pulse detectors, and PWM modulators where stability and a wide frequency range matter more than ultra-low distortion.

🌐

Level Translator / Logic Family Interface

The LM339DR's open-collector output with external pull-up resistor naturally performs logic-level translation between incompatible voltage domains (such as 3.3V microcontroller to 5V peripheral, or 5V to 12V industrial logic). When the input threshold is crossed, the open-collector transistor pulls the output low; the pull-up resistor to the target supply holds the output at that higher level when off. This is a clean way to bridge 3.3V MCUs to legacy 5V or 12V industrial logic without level-shifter ICs, and the four channels fit common 4-wire SPI or UART translation.

🏭

Industrial Process Control Limit Switch

In industrial process control, the LM339DR serves as a quad limit detector sensing temperature, pressure, flow, and level via transducer bridges. Each comparator channel drives a relay or solid-state relay through an optocoupler for galvanic isolation. Operating from a single 24V industrial supply, the LM339DR survives typical 36V transient spikes. The commercial-grade temperature range (0C to +70C) suits enclosure-mounted industrial controls; for outdoor or cold-storage installations, the LM2901DR variant extends the range to -40C to +125C.

Recommended Products Summary

IRF540N N-channel MOSFET switch driven by comparator output Used in: Battery Overvoltage/Undervoltage Protection TL431 Precision shunt reference for accurate threshold setting Used in: Battery Overvoltage/Undervoltage Protection MOC3021 Optotriac driver for isolated AC load switching Used in: Zero-Crossing Detector for AC Line BT137-600E TRIAC load switch controlled by triac driver Used in: Zero-Crossing Detector for AC Line LM4040 Precision voltage reference for threshold accuracy Used in: Window Comparator for Sensor Signal Validation AT24C128 EEPROM storing calibrated threshold values Used in: Window Comparator for Sensor Signal Validation MC1458 Op-amp for triangle wave buffer Used in: Square-Wave and Pulse Oscillator 1N4148 Discharge diode for asymmetric duty cycle Used in: Square-Wave and Pulse Oscillator TXS0108E 8-channel bidirectional level translator alternative Used in: Level Translator / Logic Family Interface AT24C128BMM/TR HGSEMI Used in: Level Translator / Logic Family Interface G5V-2 Signal relay driven by comparator output Used in: Industrial Process Control Limit Switch LM35 Analog temperature sensor feeding threshold input Used in: Industrial Process Control Limit Switch
What is the output type of the LM339DR?
The LM339DR has open-collector outputs. According to the TI LM339 datasheet, this means the output stage can only sink current to ground; a pull-up resistor to a positive supply (often 5V or VCC) is required to pull the output high. This architecture allows level translation between mismatched supply rails and the wired-OR connection of multiple comparators.
What is the operating voltage range of the LM339DR?
The LM339DR operates from a single supply of 2V to 36V or from a dual supply of ±1V to ±18V. According to the TI datasheet, the common-mode input voltage range includes ground, which makes it well suited for single-supply circuits where one input may sit near 0V. The differential input voltage can equal the maximum supply voltage of 36V without damage.
Does the LM339DR require pull-up resistors on the outputs?
Yes, the LM339DR outputs must be connected to a pull-up resistor tied to a positive supply rail. Because the outputs are open-collector, they cannot actively drive high; they only sink current when the non-inverting input exceeds the inverting input. A typical pull-up value is 10 kohm for TTL-level interfaces.
What is the difference between LM339DR and LM339P?
The LM339DR ships in a SOIC-14 surface-mount package while the LM339P ships in a PDIP-14 through-hole package. Both share identical electrical specifications per the TI datasheet. The DR variant is preferred for reflow-soldered mass production; the P variant is preferred for prototyping and breadboard use.
Can LM339DR replace LM2901DR?
Yes, the LM2901DR is the automotive-temperature-grade equivalent of the LM339DR. The LM2901DR operates from -40C to +125C instead of 0C to +70C and is pin-to-pin compatible in the same SOIC-14 footprint. For industrial designs that may see cold-temperature environments, LM2901DR is the recommended second source.
What is the typical input offset voltage of LM339DR?
The LM339DR has a typical input offset voltage of ±2 mV and a maximum of ±5 mV. The newer LM339B improved-spec version drops the maximum offset to 0.37 mV. For most threshold-detection applications this offset is negligible, but precision designs that rely on sub-millivolt accuracy should consider the LM339B or a chopper-stabilized comparator.
Where can I download the LM339DR datasheet PDF?
The official LM339DR datasheet PDF is available on Texas Instruments' product page at ti.com/lit/ds/symlink/lm339.pdf. The datasheet includes electrical characteristics, application notes, typical performance graphs, and ESD/latch-up considerations. A free myTI account is not required for download.
Is the LM339DR still in production?
The LM339DR is an active production part as of October 2026, with multi-source availability from TI, onsemi, and others. TI has also released the improved LM339B which is a drop-in replacement per the TI product page. Inventory is widely available through major distributors including DigiKey and Mouser.
What is the response time of the LM339DR?
The LM339DR response time is typically 1.3 us with a 5 mV overdrive driving a TTL load. According to the TI datasheet, response time is measured as the propagation delay from input transition to 50 percent of output transition. For high-speed applications in the tens-of-nanosecond range, designers should choose a faster comparator such as the TL331.
Where to buy LM339DR online?
The LM339DR is in stock at major distributors including DigiKey (276657) and Mouser. Pricing as of October 2026 starts at approximately $0.42 per unit at qty-1, with volume pricing down to $0.15 per unit at 2500 pieces. Lead time is typically immediate from distributors for stock quantities, with 8-12 week factory lead times for high-volume orders.
What is the LM339DR stock status and lead time?
As of October 2026, the LM339DR is listed as active inventory at DigiKey and Mouser. Distributor stock pages show the part as 'ships today' for low quantities. Factory-direct orders through TI typically have 8-12 week lead time, though this can extend during allocation events. The multi-source availability of LM339-compatible parts (TI, onsemi, ROHM) reduces supply risk.
What is the best drop-in replacement for LM339DR?
The most reliable drop-in replacement is the onsemi LM339DR2G, which shares the SOIC-14 package, open-collector outputs, and identical pinout with the TI version. TI's own LM339BDR is also a drop-in upgrade with improved specifications (0.37 mV offset, 2 kV ESD, 200 uA per-comparator supply current). Cross-brand equivalents from STMicroelectronics and ROHM are also pin-compatible.
Which comparator is better for high-speed applications, LM339DR or TL331?
The TL331 is faster than the LM339DR for high-speed applications. The TL331 (single comparator version) offers a 200 ns response time compared to the LM339DR's 1.3 us response time. However, if you need four independent comparators in one SOIC-14 footprint, the LM339DR remains the better choice; for a single high-speed comparator, the TL331 is preferable.
When should I choose LM339DR instead of LM393?
Choose the LM339DR when you need four independent comparators in one package; the LM393 is a dual comparator in SOIC-8. Both share similar open-collector output architectures and electrical specifications. The LM339DR saves board space when three or four comparators are required; use the LM393 if only one or two are needed.
What is the LM339DR price per unit?
As of October 2026, the LM339DR unit price starts at approximately $0.42 at qty-1, scaling down to $0.17 at qty-1,000 and $0.15 at qty-2,500. Volume discounts through distributors like DigiKey and Mouser are tier-based. For long-term production, requesting a quote directly from TI or authorized distributors can yield additional savings on reels.

Engineering reference data for LM339DR — comparison, design guidance, and compliance information.

Selection Guide

Choose the LM339DR when you need four independent general-purpose comparators in a single SOIC-14 surface-mount package with open-collector outputs. The standard commercial temperature range (0C to +70C) and 2V to 36V supply range cover most industrial and consumer designs. Choose the LM339BDR for improved precision (0.37 mV offset, 2 kV ESD) at the same cost and footprint. Choose the LM2901DR for automotive or industrial-grade temperature coverage (-40C to +125C). Avoid the LM339DR for high-speed applications above 1 MHz - select the TL331 family instead. For dual comparator needs in SOIC-8, use the LM393DR.

Comparison with Alternatives

Parameter This Product LM339DR2G LM339BDR LM2901DR LM339DT
Brand Texas Instruments onsemi Texas Instruments Texas Instruments STMicroelectronics
Package SOIC-14 SOIC-14 - same SOIC-14 - same SOIC-14 - same SOIC-14 - same
Number of Comparators 4 4 4 4 4
Output Type Open-Collector Open-Collector Open-Collector Open-Collector Open-Collector
Supply Voltage Range 2 V to 36 V 2 V to 36 V 2 V to 38 V 2 V to 36 V 2 V to 36 V
Operating Temperature 0 C to +70 C 0 C to +70 C -40 C to +85 C -40 C to +125 C -40 C to +125 C
Input Offset Voltage (max) 5 mV 5 mV 0.37 mV 7 mV 5 mV
Response Time (typ) 1.3 us 1.3 us 1.0 us 1.3 us 1.3 us

Key Differentiators

  • Multi-source availability across four major manufacturers (vs Single-source competitor parts)
  • Improved-spec LM339BDR is a true drop-in upgrade (vs Industry-standard LM339ADR)
  • Open-collector output enables level shifting and wire-OR (vs Push-pull output comparators)

Design Notes

Open-collector outputs REQUIRE an external pull-up resistor. Without a pull-up tied to a positive supply (typically 2 kohm to 10 kohm depending on capacitive load), the output never goes high. If the LM339DR's output appears stuck low, check that the pull-up is present, connected to a valid supply, and not shorted to ground. For high-frequency switching above 10 kHz, minimize stray capacitance on the output node to maintain clean edges.

Place the VCC bypass capacitor (0.1 uF ceramic) within 5 mm of the VCC pin (pin 4). The LM339DR draws short current spikes during output transitions that can inject noise into the supply rail, and a local bypass prevents this noise from coupling back into the comparators' input stages via the supply. For multi-comparator designs, add a bulk 1 uF to 10 uF electrolytic near the IC to handle aggregate switching transients.

The common-mode input range includes ground but extends only to VCC - 1.5 V. Driving inputs above VCC or below ground by more than a few hundred mV can cause phase reversal or permanent damage. The differential input voltage can equal VCC (36V max), but only when both inputs are within the absolute-maximum input range. For inputs that may exceed these limits, add external series resistance (10 kohm) to limit fault current.

The LM339DR's SOIC-14 package has a thermal resistance of approximately 100 C/W (junction to ambient) on a standard JEDEC test board. At the maximum supply current of 1 mA, internal power dissipation is negligible (36 mW max). However, if the outputs are sinking significant load current through the open-collector transistors, additional dissipation can occur. Calculate junction temperature as TJ = TA + (PD x theta_JA) and ensure TJ stays below 150 C.

Compliance Information

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Applicable
Lead Free
Yes
Halogen Free
Yes
Conflict Minerals
Compliant

RoHS compliant per TI product page. The LM339DR is the commercial-grade variant; the LM2901DR is the AEC-Q100-qualified automotive variant.

Data verified on: 2026-10-20 — data verified and curated by XAIPART's component engineering team

Related Searches

LM339DR LM339DR datasheet LM339DR pinout SOIC-14 quad comparator open-collector SOIC-14 LM339DR alternative equivalent LM339DR vs LM2901DR buy LM339DR online price LM339DR zero-crossing detector LM339DR battery management Texas Instruments LM339 quad comparator what is open-collector output LM339DR TI distributor stock

Related Components & Terms

Texas Instruments LM339DR LM339 LM339B LM2901 LM339DR2G analog comparator voltage comparator open-collector output SOIC-14 small outline integrated circuit TTL logic CMOS logic MOS logic RoHS AEC-Q100 zero-crossing detector window comparator battery management threshold detector voltage reference pull-up resistor input offset voltage Schmitt trigger
Quick Quote RFQ
Fill in complete details — our sales team will respond within 24 hours
Part Number Manufacturer Package QTY Target Price Extended
Total: $0.00 USD
✓
Quote submitted!

We will respond to your email within 24 hours

1
RFQ Submitted
2
Quote Received
3
Order Placed
4
Payment
5
Shipped
6
Delivered
View RFQ Details