Key facts
- Brand
- Texas Instruments
- Model
- LM311
- Category
- Other
- Industry
- Electronics
- Documents
- 2
- Languages
- EN
- Last added
- 2026-11-29
Start here

Texas Instruments LM311 Comparator Laboratory Guide
This laboratory guide from the University of Illinois teaches how to build a voltage comparator with the LM311 IC, using a potentiometer-based voltage divider on the inverting input and a function generator and oscilloscope to observe the output. It also asks you to build a positive peak-detector circuit with less guidance, using an LM358 op amp as a voltage follower and an nMOS transistor to reset the capacitor.
The guide covers breadboarding, oscilloscope operation, and circuit construction, and includes parts lists, test procedures, and design questions for the peak detector.
Texas Instruments LM311 specifications
| Comparator IC | LM311 |
|---|---|
| Op amp | LM358 |
| Function generator setting | 2 V peak-to-peak sinusoid at 1 kHz with 1 V offset |
All Texas Instruments LM311 documents by type
Day-to-day operation, settings and troubleshooting. Start here if the product is already set up.
Ratings, dimensions and ordering codes, for selection and design work.
Questions answered in these manuals
What does the LM311 comparator output do when IN+ exceeds IN-?
The output jumps up to the battery supply voltage value. When IN+ falls below IN-, the output voltage drops quickly to the ground voltage.
How can the peak detector be reset?
An nMOS transistor is placed across the capacitor; applying a voltage greater than its threshold voltage between gate and source causes a rapid discharge of the capacitor and resets it.
What supply voltage can the LM111 operate from?
The LM111 can operate from a single 5‑V supply or from ±15 V supplies.
From: Texas Instruments LM111/LM211/LM311/LM311Y Differential Comparators with Strobes Datasheet
