Comparator (LM393)
LM393 dual comparator · 2–36 V single supply · open-collector outputs (need a pull-up) · sinks 16 mA

Try it on the benchThe lab drops it on an empty bench and opens its datasheet card.
Typical part: LM393 dual comparator (DIP-8)
Pins
- OUT A (open collector)
- IN− A
- IN+ A
- GND
- IN+ B
- IN− B
- OUT B (open collector)
- V+
Ratings and limits
| Supply | 2–36 V |
|---|---|
| Output | open collector, needs a pull-up, sinks 16 mA |
| Response | 1.3 µs |
How to use it
Threshold detection: light/dark switches, battery-low alarms, zero-crossing detectors. Add hysteresis with a resistor from output to IN+.