What are op amps used for? At their core, operational amplifiers are used to amplify the voltage difference between two input pins, performing mathematical operations like addition, subtraction, integration, and differentiation in analog circuits. In practical DIY and bench work, you use them to buffer high-impedance sensors, amplify tiny millivolt signals from thermocouples or shunt resistors, and filter noise from audio or DC power lines. If you need to condition an analog signal before feeding it into an ESP32 or Arduino ADC, an op amp is the exact tool for the job.
The Op Amp Symbol, Pinout, and Operating Regions
On a schematic, an op amp is drawn as a triangle. The non-inverting input is marked with a plus sign (+), the inverting input with a minus sign (-), and the output emerges from the tip of the triangle. While the symbol often omits them, every physical op amp requires power, typically via a positive supply (V+ or VCC) and a negative supply or ground (V- or VEE/GND).
For the ubiquitous dual-op-amp DIP-8 package (like the LM358 or MCP6002), the industry-standard pinout is:
- Pin 1: Output A
- Pin 2: Inverting Input A (-)
- Pin 3: Non-Inverting Input A (+)
- Pin 4: V- (Ground or negative rail)
- Pin 5: Non-Inverting Input B (+)
- Pin 6: Inverting Input B (-)
- Pin 7: Output B
- Pin 8: V+ (Positive supply rail)
Understanding how the output behaves relative to the inputs requires looking at the three distinct operating regions. According to All About Circuits, an ideal op amp has infinite open-loop gain, but real silicon hits physical limits.
| Operating Region | Condition | Typical Output Voltage (Vout) | Practical Bench Behavior |
|---|---|---|---|
| Linear (Active) | V+ ≈ V- (Virtual Short) | VEE + 1.5V to VCC - 1.5V | Used for amplification and filtering. Output scales predictably with input. |
| Positive Saturation | V+ > V- by more than a few mV | Clamped near VCC (or VCC - 0.1V for RRO) | Used in comparators. Output hits the positive rail limit. |
| Negative Saturation | V- > V+ by more than a few mV | Clamped near VEE (or VEE + 0.1V for RRO) | Used in comparators. Output hits the negative rail or ground limit. |
Practical Applications: The Non-Inverting Amplifier Circuit
To answer 'what are op amps used for' with a concrete example, let us build a non-inverting amplifier. Suppose you have a pressure sensor that outputs 0.5V at maximum pressure, but your Arduino Uno ADC requires a 0-5V signal. You need a voltage gain of 10 to map 0.5V to 5.0V.
The gain formula for a non-inverting configuration is:
Av = 1 + (Rf / Ri)
To achieve a gain of 10, we need Rf / Ri = 9. We will select Ri = 10kΩ and Rf = 90kΩ. Since 90kΩ is not a standard E24 resistor value, we can use a 91kΩ 1% resistor (yielding a gain of 10.1, which is close enough for most sensor work) or series two 45kΩ resistors. Let us specify a 91kΩ 1% metal film resistor for Rf.
Wiring Steps:
- Connect the sensor output to Pin 3 (Non-inverting input).
- Connect Pin 2 (Inverting input) to the junction of Ri and Rf.
- Connect the other end of Ri to Ground (Pin 4).
- Connect the other end of Rf to Pin 1 (Output).
- Wire Pin 8 to your 5V supply, and Pin 4 to Ground. Place the 100nF cap across Pins 8 and 4.
- Probe Pin 1 with your multimeter; at 0.5V in, you should read exactly 5.05V out.
Decision Path: How to Select and Bias Your Op Amp
Selecting an op amp is not about finding the 'best' one; it is about matching the silicon to your power supply and signal constraints. Biasing simply means setting the DC voltage at the inputs so the AC or sensor signal sits in the middle of the linear region. If you are running a single 5V supply, you must bias the non-inverting input to 2.5V (using a voltage divider) so a ±1V AC audio signal does not clip against the 0V ground rail.
Use this decision tree to select the right architecture for your build:
| Project Constraint | Required Feature | Concrete Part Pick |
|---|---|---|
| Powered from 3.3V or 5V single supply, reading sensors into a microcontroller GPIO/ADC | Rail-to-Rail Input/Output (RRIO), low voltage operation | MCP6002 (Microchip) |
| Powered from a 12V to 32V single supply, driving relays or high-voltage analog gauges | High voltage tolerance, single supply, low cost | LM358 (Texas Instruments) |
| Powered from a dual ±12V or ±15V supply, mixing or amplifying analog audio | Low noise, high slew rate, dual supply | NE5532 (Various) |
| Precise DC measurements (shunt resistors, strain gauges) requiring minimal offset voltage | Zero-drift, chopper-stabilized, low input offset | OPA2188 (Texas Instruments) |
Failure Modes and Multimeter Testing
Op amps rarely fail from old age; they fail from abuse. The most common bench failure modes include exceeding the common-mode input voltage range (driving the input pins higher than VCC), shorting the output directly to ground while sourcing high current, and ESD strikes during winter breadboarding.
If your circuit is misbehaving, do not just rip the chip out. Test it in-circuit (power off) and out-of-circuit using a standard digital multimeter (DMM).
- Check for Power Rail Shorts: Set your DMM to continuity or resistance mode. Probe Pin 8 (VCC) to Pin 4 (GND). A reading below 50Ω indicates a dead short. The op amp is likely fried, or your bypass capacitor has failed.
- Diode Test the Inputs: Set the DMM to diode test mode. Place the red probe on Pin 4 (GND) and the black probe on Pin 2 (Inverting Input). You should read a forward voltage drop of roughly 0.6V to 0.8V (the internal ESD protection diodes). If it reads 0.0V (short) or OL (open), the input stage is destroyed.
- Verify Output Impedance: Power the circuit. Measure the DC voltage at the output pin. If the op amp is in a linear buffer configuration (gain of 1) and the output reads 1.5V lower than the input, the internal output transistors are likely blown open or shorted to a rail.
- Check for Thermal Runaway: If the chip is too hot to touch (above 60°C) while driving a light load, it is likely oscillating at high frequencies due to missing decoupling capacitors or capacitive load instability. Add a 100Ω series resistor directly on the output pin to isolate it from capacitive loads.
The Safe Default Part Numbers for Your Bench
When you are prototyping and do not want to spend an hour reading Texas Instruments datasheets, you need reliable, breadboard-friendly defaults. Here are the exact part numbers to keep in your component drawers, complete with their critical ratings.
| Part Number | Supply Range | GBW (Gain-Bandwidth) | Slew Rate | Input Bias Current | Best Use Case |
|---|---|---|---|---|---|
| MCP6002 | 1.8V to 6.0V | 1 MHz | 0.6 V/µs | 1 pA | 3.3V/5V microcontroller sensor interfacing (Default Pick) |
| LM358 | 3V to 32V (Single) | 1 MHz | 0.3 V/µs | 20 nA | High-voltage single-supply industrial loops, cheap comparators |
| NE5532 | ±3V to ±20V (Dual) | 10 MHz | 9.0 V/µs | 200 nA | Analog audio preamps, active filters, headphone drivers |
| TL072 | ±3.5V to ±18V (Dual) | 3 MHz | 13 V/µs | 1.2 nA | High-impedance sensor buffering, guitar pedals, JFET inputs |
The Final Verdict: If you are building circuits in 2026 that interface with 3.3V or 5V logic (like an ESP32, Raspberry Pi Pico, or Arduino), stop using the LM358. The LM358 is not rail-to-rail on the output; it will clip at about VCC - 1.5V, meaning a 5V supply only gives you a 3.5V maximum output, which ruins your ADC resolution. Furthermore, the LM358 suffers from severe crossover distortion near ground.
Stock up on the Microchip MCP6002. It costs roughly $0.50 in single quantities, operates natively at 3.3V, features true Rail-to-Rail Input and Output (RRIO), and has CMOS inputs that will not load down high-impedance voltage dividers. For 90% of modern DIY embedded and sensor projects, the MCP6002 is the definitive, no-compromise default choice.






