Skip to datasheet
The Engineering ProjectsAI Interactive Datasheet

LM2903Dual voltage comparator

Two threshold decisions across an extended temperature range.

Manufacturer-referenced

Texas Instruments · LM2903P

PDIP-8SLCS005AH · April 2025

LM2903 contains two independent voltage comparators with open-collector outputs. Each channel compares its positive input with its negative input and either sinks output current or releases the collector. An external pull-up resistor supplies the HIGH state. This page selects classic TI LM2903P in PDIP-8 and LM2903DR in SOIC-8, rated for −40 to +125°C. It uses the non-B electrical table; LM2903B and V/AV variants have different limits. All eight physical pins keep the same function when switching between these two packages. The 5 V example compares a 1.50 V signal with a nominal 2.00 V resistor-divider reference. A 10 kΩ output pull-up and 100 nF supply bypass complete the first channel; the unused channel is tied to defined inputs. Offset, input current, resistor tolerance and noise affect the real threshold. The interactive explorer marks uncertainty near equality rather than pretending the decision is exact.

3D View

Preparing 3D preview…
3D packageDrag to rotate · Scroll to zoom

Real View

LM2903P black package with eight bright formed silver leads.
LM2903P · PDIP-8Package illustration

Pinout

LM2903PPDIP-8Top view
Select a pin to see its functionPDIP-8 · 8 pins

PCB Footprint

Loading footprint…
Powered by
Finding PDIP-8 packageTop view · mm
8Physical pins LM2903PPDIP-8 Manufacturer-referencedTexas Instruments

Pin diagram

Select a pin to explore its connection

Package map
Highlight
LM2903PPDIP-8Top view

Click a lead or use the arrow keys. Top view

1
PIN 1 · Open-collector outputs

OUT1

Open-collector output

Function

Channel A sinks current when IN1− is above IN1+.

How to connect

Add a 10 kΩ pull-up to +5 V; read this node with a high-impedance input.

Electrical note

The IC does not actively drive HIGH.

Key specifications

An open-collector output needs a pull-up resistor. It sinks current instead of sourcing a HIGH level.

Recommended supply2–30 V · classic LM2903
Independent channels2 Open-collector outputs
Ambient range−40–125 °C
Typical response1.3 µs · specified small-signal test

Operating profile

Supply, signals and operating conditions

LM2903 operating profile
ParameterValueConditions / notes
Selected packagePDIP-8LM2903P · 8 pins
Input range at 5 V0–3 VRecommended full-temperature range
Example pull-up10 kΩTo +5 V; about 0.485 mA at illustrative 0.15 V LOW
Use these values with the stated grade and test conditions.

Package details

LM2903P · PDIP-8

Selected package
Selected LM2903 physical package
PropertyDetails
ManufacturerTexas Instruments
Part numberLM2903P
PackagePDIP-8
Connections8 pins
MountingThrough-hole
Lead pitch2.54 mm
Package codedip
Thermal referenceBoard and package dependent; see manufacturer data

Select the exact family member

This page uses classic LM2903 limits

Scroll sideways to see all columns.

ParameterValueConditions / notes
Through-hole orderLM2903PPDIP-8 P
SMD orderLM2903DRSOIC-8 D
Temperature grade−40 to +125°CSelected classic LM2903 orders
B revisionNot substituted hereLower offset/bias and a different recommended maximum supply
V / AV versionsNot substituted hereDifferent voltage or accuracy limits
Reference sectionTI SLCS005AH section 5.10Non-B LM2903 column; section 5.11 for switching

Part-family similarity does not make every electrical rating interchangeable.

Supply and input conditions

Classic LM2903, not LM2903B

Scroll sideways to see all columns.

ParameterValueConditions / notes
Recommended supply2–30 VExample uses 5 V
Ambient range−40 to +125°CManufacturer operating range
Input range at 25°C0 to VCC−1.5 VElectrical table
Full-temperature input range0 to VCC−2 VUse 0–3 V for this 5 V example
Input negative limitDo not go below −0.3 VParasitic current can produce an incorrect output
Output HIGHExternal pull-up requiredOutput transistor off does not itself create a voltage

Keep the example inputs in the full-temperature common-mode range.

Input accuracy and supply current

5 V and 25°C unless stated

Scroll sideways to see all columns.

ParameterValueConditions / notes
Input offset2 mV typical; 7 mV maximumVCC = 5–30 V; specified common-mode/output condition
Offset over temperature15 mV maximum−40 to +125°C
Input bias-current magnitude25 nA typical; 250 nA maximum500 nA maximum over temperature; source uses negative sign
Input offset current5 nA typical; 50 nA maximum200 nA maximum over temperature
Total supply current0.8 mA typical; 1 mA maximum5 V, no load, 25°C
Total current over temperature2.5 mA maximumVCC = 30 V, no load
Large-signal gain25 V/mV minimum; 100 V/mV typicalVCC 15 V, output 1.4–11.4 V, RL ≥15 kΩ

Typical offset and bias values are not worst-case error bounds.

Collector output and response

Loading and overdrive matter

Scroll sideways to see all columns.

ParameterValueConditions / notes
LOW voltage at 4 mA150 mV typical; 400 mV maximum25°C; VID = −1 V
LOW voltage over temperature700 mV maximumSame 4 mA condition
Output sink capability test6 mA minimumVOL = 1.5 V; VID = −1 V; 25°C
HIGH leakage at 5 V0.1 nA typical; 50 nA maximum25°C; VID = 1 V
HIGH leakage over temperature1 µA maximumOutput at maximum supply
Small-signal response1.3 µs typical100 mV step, 5 mV overdrive; 5.1 kΩ pull-up, 15 pF
TTL-step response0.3 µs typicalSame manufacturer switching fixture

The DC explorer does not model propagation time, parasitic capacitance or output slew.

A 2 V threshold detector

Nominal 5 V teaching circuit

Scroll sideways to see all columns.

ParameterValueConditions / notes
Reference divider30 kΩ upper / 20 kΩ lower5 × 20/(30+20) = 2.00 V before loading
VIN1.50 VIN+ pin 3; output initially LOW
External pull-up10 kΩ from OUT1 to +5 VOutput pin 1
Illustrative LOW current0.485 mA(5−0.15)/10 kΩ
Supply bypass100 nFBetween pins 8 and 4, locally
Unused comparatorIN+5 to GND; IN−6 to VREFOUT2 pin 7 left open
Near-equality band±15 mV input offset allowanceTeaching uncertainty band, not hysteresis or complete error budget

Divider tolerance, bias current and supply error move the threshold.

Pins, layout and stress limits

LM2903P · PDIP-8

Scroll sideways to see all columns.

ParameterValueConditions / notes
Lead pitch2.54 mmThrough-hole; top view
Channel 13 IN+; 2 IN−; 1 OUTSeparate open collector
Channel 25 IN+; 6 IN−; 7 OUTSeparate open collector
Power8 VCC; 4 GNDShared by both channels
Absolute supply maximum36 VStress rating; recommended maximum is 30 V
Absolute output voltage−0.3 to +36 VObserve current and thermal limits
Absolute output current20 mANot a recommended design current
Absolute junction / storage150°C / −65 to +150°CThermal design still depends on board and package

Follow manufacturer layout guidance and verify the actual package before fabrication.

Connections by function

Select a pin for its function, connection guidance and electrical notes.

Open-collector outputs2 pins

Comparison inputs4 pins

Ground1 pin

Supply1 pin

Read the conditions with every value

Typical values describe stated test conditions. Absolute maximum ratings are stress limits, not operating targets.

Official PDF datasheet

LM2903 at a glance

Follow the labeled connections and functional stages

LM2903 working principle: illustrated functional stages, basic circuit and connections
Select the diagram to read it at full resolution.

How it works

3 stages · Explore one step at a time

Step 1 / 3

Compare the two inputs

The differential input stage responds to IN+ minus IN−. No analog-to-digital converter or firmware is needed.

Step 2 / 3

Sink current or release the node

A negative input difference turns the output transistor on. A positive difference turns it off. The external pull-up supplies the HIGH level.

Step 3 / 3

Make a stable decision

Keep inputs in their common-mode range. Add positive-feedback hysteresis when a slowly changing or noisy signal would chatter around the threshold.

Find the switching threshold

Adjust VIN and the reference. Remove the pull-up to see why it matters.

5 V · DC explorer
IN+ − IN−—
Output state—
Pull-up current—

Enable JavaScript to explore the comparator.

05 V5 VSignal input voltage →Output voltage →

Violet: offset-sensitive transition · Amber: input outside the recommended range.

DC teaching model for channel A. The ±15 mV band uses the full-temperature maximum input-offset magnitude, not hysteresis or a complete error budget. LOW uses an illustrative 0.15 V estimate. Input bias, leakage, noise, timing and capacitance are omitted.

LM2903 in a circuit

A physical IC, a resistor reference and a clearly defined output.

LM2903P pin 8 uses 5 V, pin 4 ground and 100 nF bypass. A 30 kΩ and 20 kΩ divider produces 2 V at pin 2. VIN drives pin 3. A 10 kΩ pull-up on pin 1 supplies the HIGH output. Unused channel pin 5 is ground, pin 6 VREF and pin 7 unconnected.
Same-name labels are connected. All ground symbols share one return. Meter input is high impedance.

Connect it, step by step

Follow the component values and pin connections

Build the reference

30 kΩ above and 20 kΩ below produce a nominal 2 V reference from 5 V.

Compare VIN

Connect the measured voltage to IN1+ and VREF to IN1−. VIN below 2 V makes OUT1 LOW.

Add the pull-up

Connect 10 kΩ from OUT1 to 5 V. Without it, the released output is floating rather than HIGH.

Inside LM2903

Two differential channels with independent open-collector outputs.

Two comparator channels share supply pins. Each differential input drives an output transistor whose emitter returns to ground and collector is the output pin. External pull-ups create HIGH levels.
Functional architecture; the pull-up resistors are external to the IC.

Explore the circuit

Select a stage to see its role and connections

Differential input

Compare the two input voltages while respecting their valid range.

Open-collector switch

The collector is exposed at OUT. A LOW state sinks current; an off transistor releases the node.

Shared supply

Both channels use VCC pin 8 and GND pin 4, but each has its own inputs and output.

Selected packagePDIP-8LM2903P
Physical connections8 pinsPackage-specific numbering
Reference collection7 tables41 parameters & pin functions

Pin reference

Signal names, electrical functions and connection guidance

PDIP-8
Physical pin numbers8 pins

Scroll within the table to see all columns and rows.

LM2903 pin functions and connections
PinSignalTypeFunction & connection
OUT1Open-collector outputChannel A sinks current when IN1− is above IN1+.
Connection guidance

Add a 10 kΩ pull-up to +5 V; read this node with a high-impedance input.

The IC does not actively drive HIGH.

IN1−Inverting inputChannel A reference input in the illustrated circuit.
Connection guidance

Connect the 2.00 V divider node.

Keep both example inputs within 0–3 V at a 5 V supply.

IN1+Non-inverting inputChannel A measured signal.
Connection guidance

Connect VIN and a common ground.

GNDSupply returnGround reference for both comparators.
Connection guidance

Connect the supply return and bypass capacitor.

IN2+Non-inverting inputChannel B positive input.
Connection guidance

Tie to GND when unused in this example.

IN2−Inverting inputChannel B negative input.
Connection guidance

Connect to the same 2 V reference to give the unused channel a defined state.

OUT2Open-collector outputChannel B current-sinking output.
Connection guidance

Leave unconnected in the single-channel example.

Use a separate pull-up when using channel B.

VCCPositive supplyShared positive supply for both comparators.
Connection guidance

Apply +5 V; place 100 nF between pins 8 and 4.

Classic LM2903 recommended supply: 2–30 V.

PDIP-8 · Top view · Select a pin number to open its interactive pinout.

Select the exact family member

This page uses classic LM2903 limits

Manufacturer-referenced values6 parameters

Scroll within the table to see all columns and rows.

ParameterValueConditions / notes
Through-hole orderLM2903PPDIP-8 P
SMD orderLM2903DRSOIC-8 D
Temperature grade−40 to +125°CSelected classic LM2903 orders
B revisionNot substituted hereLower offset/bias and a different recommended maximum supply
V / AV versionsNot substituted hereDifferent voltage or accuracy limits
Reference sectionTI SLCS005AH section 5.10Non-B LM2903 column; section 5.11 for switching

Part-family similarity does not make every electrical rating interchangeable.

Supply and input conditions

Classic LM2903, not LM2903B

Manufacturer-referenced values6 parameters

Scroll within the table to see all columns and rows.

ParameterValueConditions / notes
Recommended supply2–30 VExample uses 5 V
Ambient range−40 to +125°CManufacturer operating range
Input range at 25°C0 to VCC−1.5 VElectrical table
Full-temperature input range0 to VCC−2 VUse 0–3 V for this 5 V example
Input negative limitDo not go below −0.3 VParasitic current can produce an incorrect output
Output HIGHExternal pull-up requiredOutput transistor off does not itself create a voltage

Keep the example inputs in the full-temperature common-mode range.

Input accuracy and supply current

5 V and 25°C unless stated

Manufacturer-referenced values7 parameters

Scroll within the table to see all columns and rows.

ParameterValueConditions / notes
Input offset2 mV typical; 7 mV maximumVCC = 5–30 V; specified common-mode/output condition
Offset over temperature15 mV maximum−40 to +125°C
Input bias-current magnitude25 nA typical; 250 nA maximum500 nA maximum over temperature; source uses negative sign
Input offset current5 nA typical; 50 nA maximum200 nA maximum over temperature
Total supply current0.8 mA typical; 1 mA maximum5 V, no load, 25°C
Total current over temperature2.5 mA maximumVCC = 30 V, no load
Large-signal gain25 V/mV minimum; 100 V/mV typicalVCC 15 V, output 1.4–11.4 V, RL ≥15 kΩ

Typical offset and bias values are not worst-case error bounds.

Collector output and response

Loading and overdrive matter

Manufacturer-referenced values7 parameters

Scroll within the table to see all columns and rows.

ParameterValueConditions / notes
LOW voltage at 4 mA150 mV typical; 400 mV maximum25°C; VID = −1 V
LOW voltage over temperature700 mV maximumSame 4 mA condition
Output sink capability test6 mA minimumVOL = 1.5 V; VID = −1 V; 25°C
HIGH leakage at 5 V0.1 nA typical; 50 nA maximum25°C; VID = 1 V
HIGH leakage over temperature1 µA maximumOutput at maximum supply
Small-signal response1.3 µs typical100 mV step, 5 mV overdrive; 5.1 kΩ pull-up, 15 pF
TTL-step response0.3 µs typicalSame manufacturer switching fixture

The DC explorer does not model propagation time, parasitic capacitance or output slew.

A 2 V threshold detector

Nominal 5 V teaching circuit

Manufacturer-referenced values7 parameters

Scroll within the table to see all columns and rows.

ParameterValueConditions / notes
Reference divider30 kΩ upper / 20 kΩ lower5 × 20/(30+20) = 2.00 V before loading
VIN1.50 VIN+ pin 3; output initially LOW
External pull-up10 kΩ from OUT1 to +5 VOutput pin 1
Illustrative LOW current0.485 mA(5−0.15)/10 kΩ
Supply bypass100 nFBetween pins 8 and 4, locally
Unused comparatorIN+5 to GND; IN−6 to VREFOUT2 pin 7 left open
Near-equality band±15 mV input offset allowanceTeaching uncertainty band, not hysteresis or complete error budget

Divider tolerance, bias current and supply error move the threshold.

Pins, layout and stress limits

LM2903P · PDIP-8

Manufacturer-referenced values8 parameters

Scroll within the table to see all columns and rows.

ParameterValueConditions / notes
Lead pitch2.54 mmThrough-hole; top view
Channel 13 IN+; 2 IN−; 1 OUTSeparate open collector
Channel 25 IN+; 6 IN−; 7 OUTSeparate open collector
Power8 VCC; 4 GNDShared by both channels
Absolute supply maximum36 VStress rating; recommended maximum is 30 V
Absolute output voltage−0.3 to +36 VObserve current and thermal limits
Absolute output current20 mANot a recommended design current
Absolute junction / storage150°C / −65 to +150°CThermal design still depends on board and package

Follow manufacturer layout guidance and verify the actual package before fabrication.

Read each value with its conditions

Typical values describe the stated test conditions. Absolute maximum ratings are stress limits, not operating targets.

Texas Instruments · SLCS005AH · April 2025
Official PDF datasheet

Threshold and level detection

Compare a sensor voltage with a reference and feed the result to logic. Choose a pull-up voltage compatible with that logic.

Manufacturer application guide

Window detectors

Use both comparators for upper and lower limits. The output circuit determines how the two decisions combine.

Manufacturer application guide

Slow sensor signals

Convert a temperature, light or position voltage into an alarm state. Hysteresis prevents noisy repeated transitions.

Manufacturer application guide

Take it into ProTech

Find LM2903 in the Components Library to place its schematic symbol and connect its pins.

Reference page · circuit simulation model not yet availableOpen ProTech

Component view