Skip to content
A project ofgwark.dev

TI / ON / many · Integrated circuit

LM339 Quad Comparator

Four open-collector comparators. Same package as the LM324 quad op-amp, but a different pinout.

Cheat sheet (SVG)
Logic level
2-36 V single or +/-1-18 V split
Package
PDIP-14 / SOIC-14

1.Pinout diagram

Highlight a signalhover to preview, click to keep

Pins 1-7

LM339

Pins 8-14

Pin detail

Hover a pin for its mappings and gotchas. Click to keep it here.

Logic level
2-36 V single or +/-1-18 V split
Package
PDIP-14 / SOIC-14

Fig. 1. LM339 Quad Comparator, PDIP-14. Hover or tap a signal to light up every pin that carries it.

2.Watch out

3.Comparator with hysteresis

What has to go around the chip before it will run.

VCCGNDLM33910 kOhm between OUT1 (2) and VCC10 kOhm100 nF between VCC (3) and GND100 nFVCC (3) to VCCGND (12) to GND1 MOhm between OUT1 (2) and IN1+ (5)1 MOhmOUT1 2VCC 3VCC 3IN1+ 5GND 12
Fig. 2. Comparator with hysteresis, drawn from Table 1. Dashed parts are optional. Crossing wires are not connected.
Table 1. External parts, and why each one is there.
PartBetween
10 kOhmOUT1 (2) to VCC
1 MOhmoptionalOUT1 (2) to IN1+ (5)
100 nFVCC (3) to GND

Four comparators sharing one supply pin. Unused inputs still need to be tied somewhere: a floating pair can swing the output and inject noise into the others through the supply.

4.Full pin reference

Every pin, alias and mapping. This is the table that prints.

Table 2. Pin assignments.

Complete pin reference for LM339 Quad Comparator
PinNameFunctions

Primary sources

Found a wrong pin? The whole board is one file, data/boards/lm339.json.

Edit this file on GitHubReport it instead