Skip to content
A project ofgwark.dev

TI / ON / many · Integrated circuit

LM393 Dual Comparator

Two comparators in the same DIP-8 arrangement as the LM358 op-amp, with open-collector outputs. The two look identical on a board and are not interchangeable.

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

1.Pinout diagram

Highlight a signalhover to preview, click to keep

Pins 1-4

LM393

Pins 5-8

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-8 / SOIC-8

Fig. 1. LM393 Dual Comparator, PDIP-8. 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.

VCCGNDLM39310 kOhm between OUT1 (1) and VCC10 kOhm100 nF between VCC (8) and GND100 nFGND (4) to GNDVCC (8) to VCC1 MOhm between OUT1 (1) and IN1+ (3)1 MOhmOUT1 1IN1+ 3GND 4VCC 8VCC 8
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 (1) to VCC
1 MOhmoptionalOUT1 (1) to IN1+ (3)
100 nFVCC (8) to GND

Open collector cuts both ways: it is why you can wire several outputs together as an AND, and why a comparator with no pull-up looks dead on a scope.

4.Full pin reference

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

Table 2. Pin assignments.

Complete pin reference for LM393 Dual Comparator
PinNameFunctions

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

Edit this file on GitHubReport it instead