LM393DGKR.
AI

The **LM393DGKR** is a widely used, low-power, dual-voltage comparator integrated circuit (IC) manufactured by Texas Instruments. It is designed to operate from a single power supply over a wide range of voltages.
---
## 1. Key Specifications
The following table summarizes the primary electrical characteristics of the LM393DGKR:
| Parameter | Value |
| :--- | :--- |
| **Number of Channels** | 2 (Dual Comparator) |
| **Supply Voltage (Single)** | 2.0V to 36V |
| **Supply Voltage (Dual)** | ±1.0V to ±18V |
| **Response Time** | 1.3 µs |
| **Output Type** | Open Collector |
| **Operating Temperature** | 0°C to 70°C |
| **Package Type** | VSSOP-8 (DGK Designator) |
---
## 2. Functional Components
The LM393DGKR consists of several critical electronic sections within its 8-pin package:
### A. Dual Independent Comparators
The IC contains two separate differential voltage comparators. Each has an inverting (-) and non-inverting (+) input. They compare the voltage levels at these inputs and output a digital signal based on which is higher.
### B. Open-Collector Output
Unlike standard Op-Amps, the LM393 uses an **Open-Collector** output stage.
- **What this means:** The output can only "sink" current (pull to ground).
- **Requirement:** A **pull-up resistor** is necessary to pull the output "High" when the comparator logic is off.
- **Benefit:** This allows the output voltage level to be different from the VCC supply (e.g., comparing 12V signals but outputting to a 3.3V microcontroller).
### C. Common-Mode Input Range
The input common-mode voltage range includes ground (0V), even when operating from a single supply voltage. This makes it ideal for sensing signals near 0V.
---
## 3. Pinout Configuration (VSSOP-8)
Below is the standard pin mapping for the DGK package:
| Pin Number | Symbol | Description |
| :--- | :--- | :--- |
| 1 | 1OUT | Output of Comparator 1 |
| 2 | 1IN- | Inverting Input of Comparator 1 |
| 3 | 1IN+ | Non-inverting Input of Comparator 1 |
| 4 | GND | Ground / Negative Supply |
| 5 | 2IN+ | Non-inverting Input of Comparator 2 |
| 6 | 2IN- | Inverting Input of Comparator 2 |
| 7 | 2OUT | Output of Comparator 2 |
| 8 | VCC | Positive Supply |
---
## 4. Typical Applications
Because of its versatility and low cost, the LM393DGKR is used in:
* **Zero-Crossing Detectors:** Detecting when an AC signal passes 0V.
* **Battery Monitors:** Triggering an LED or signal when voltage falls below a threshold.
* **Square Wave Generators:** Converting sine waves or analog signals into clock pulses.
* **Logic Level Shifters:** Translating high voltage logic to low voltage logic.
- ⤷
Why is a pull-up resistor required for the LM393 output?
- ⤷ What is the difference between the LM393 and the LM339?
- ⤷ How do you calculate the threshold voltage for a comparator circuit using the LM393?