LM393 dual voltage comparator
Wire the LM393’s open-collector outputs and add hysteresis when a slow sensor signal crosses a noisy threshold.

What the output does
The LM393 compares two input voltages. Its open-collector transistor can pull the output down; an external pull-up establishes the released high level.
Threshold circuit
Connect a reference to one input and the conditioned sensor signal to the other. Check the common-mode range even if both voltages are within the power rails. The pull-up resistance affects rise time and sink current.
Preventing chatter
Small amounts of positive feedback can create distinct rising and falling thresholds. This can keep a slowly changing signal from repeatedly toggling the output when noise nudges it across a single threshold.
Specifications
| Parameter | Value or condition | Source |
|---|---|---|
| Comparators | Two independent devices | Texas Instruments |
| Output topology | Open collector with external pull-up required for a defined high | Texas Instruments |
Compatibility and practice
Use an output pull-up and check input common-mode range at both pins.
Related components
Sources and datasheets
- LM393 Dual Differential Comparator · Texas Instruments