An operational amplifier (op-amp) is a high-gain differential voltage amplifier with two inputs and a single output. If you are looking for the direct answer on what to buy for 90% of hobbyist and microcontroller projects: use an MCP6002 for 3.3V/5V logic interfacing, or an LM358 for cheap, rugged 12V analog sensing. The golden rules of an ideal op-amp are simple: no current flows into the input pins, and the output will do whatever it takes to make the voltage difference between the two inputs exactly zero (when negative feedback is applied).
While the All About Circuits semiconductor textbook covers the deep math, bench work requires knowing which part won't overheat, how to bias it for a single 5V rail, and how to test it when your output is stuck at zero. This guide strips away the physics-only theory and focuses on the practical datasheet specs, pinouts, and circuits you need to actually build working hardware.
Safe Default Op-Amp Part Numbers & Ratings
Walking into a parts bin or ordering from Mouser/DigiKey can be paralyzing given the thousands of op-amp variants available. Instead of memorizing datasheets, keep these four 'safe default' part numbers in your kit. They cover nearly every DIY, audio, and microcontroller scenario you will encounter.
| Part Number | Supply Voltage (Vcc/Vee) | Gain-Bandwidth (GBP) | Slew Rate | Input/Output Type | Best Use Case & Notes |
|---|---|---|---|---|---|
| LM358 | 3V to 32V (Single) or ±1.5V to ±16V | 1 MHz | 0.6 V/µs | Standard (Not Rail-to-Rail) | General DC sensing, comparators. Avoid for audio (crossover distortion). Costs ~$0.15. |
| MCP6002 | 1.8V to 6.0V | 1 MHz | 0.6 V/µs | Rail-to-Rail I/O (RRIO) | Arduino/ESP32 sensor buffering. Outputs swing fully to 0V and Vcc. Costs ~$0.35. |
| TL072 | ±5V to ±18V (Requires dual supply) | 3 MHz | 13 V/µs | JFET Input | Guitar pedals, audio preamps. Ultra-low noise, but needs higher voltage rails. Costs ~$0.45. |
| OPA2134 | ±2.5V to ±18V | 8 MHz | 20 V/µs | FET Input | Audiophile DACs, precision measurement. Extremely low THD, high current drive. Costs ~$4.50. |
Pinout, Symbol, and Operating Regions
The standard schematic symbol for an op-amp is a triangle pointing right. The top input is typically the inverting input (-), the bottom is the non-inverting input (+), and the right point is the output. Power rails (V+ and V-) are often omitted in schematics to reduce clutter, but they are physically required on the breadboard.
For the ubiquitous 8-pin DIP (Dual In-line Package) format, the pinout is standardized across almost all dual op-amps (like the LM358 or TL072):
- 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 op-amp behaves across different voltage states is critical for debugging. An op-amp operates in one of three distinct regions depending on the differential input voltage and the feedback network.
| Operating Region | Input Condition | Output Voltage State | Output Current Limit |
|---|---|---|---|
| Linear (Active) | V+ ≈ V- (Difference in µV range) | Between rails (e.g., 0.5V to 4.5V on a 5V supply) | Typically ±20mA to ±40mA |
| Positive Saturation | V+ > V- (by > 1mV open-loop) | Clamped to V+ rail minus ~1.5V (or within 50mV for RRIO) | Short-circuit limited (e.g., 40mA max) |
| Negative Saturation | V- > V+ (by > 1mV open-loop) | Clamped to V- rail plus ~1.5V (or within 50mV for RRIO) | Short-circuit limited (e.g., 40mA max) |
If you are testing a circuit and the output is stuck at exactly 3.8V on a 5V supply, your op-amp is in positive saturation. This usually means your non-inverting input is sitting at a higher voltage than your inverting input, and the feedback loop is either broken or overwhelmed.
Biasing, Selection, and a Complete Application Circuit
The most common mistake hobbyists make is trying to run a standard op-amp on a single 5V supply while feeding it an AC signal that swings below 0V. Op-amps cannot output a voltage lower than their V- pin. If V- is tied to Ground (0V), a negative input signal will instantly drive the op-amp into negative saturation, clipping the bottom half of your waveform.
To fix this, we 'bias' the op-amp. By creating a virtual ground at exactly half the supply voltage (Vcc/2), we give the AC signal room to swing both up and down without hitting the 0V or 5V rails. According to the Texas Instruments Op-Amp design guides, proper single-supply biasing is mandatory for preserving signal integrity in battery-powered devices.
Complete Circuit: Single-Supply Non-Inverting Audio Amplifier
This circuit takes a weak microphone or sensor signal (e.g., 0.1V AC) and amplifies it by a factor of 11, biased for a 5V Arduino system.
Bill of Materials:
- 1x MCP6002 (or MCP6001 for single channel)
- 2x 10kΩ resistors (Bias network)
- 1x 10kΩ resistor (Rf - Feedback)
- 1x 1kΩ resistor (Rin - Ground reference)
- 2x 1µF ceramic capacitors (Input/Output AC coupling)
- 1x 100nF (0.1µF) capacitor (Bias decoupling)
Wiring Steps:
- Power Rails: Connect Pin 8 to 5V and Pin 4 to GND. Place a 100nF bypass capacitor directly across Pin 8 and Pin 4 to filter high-frequency noise.
- Create Virtual Ground: Connect two 10kΩ resistors in series between 5V and GND. The junction between them creates a stable 2.5V reference. Connect a 100nF capacitor from this junction to GND to stabilize the voltage.
- Input Biasing: Route the 2.5V virtual ground to Pin 3 (Non-inverting input) through a 10kΩ resistor to prevent loading the bias network.
- AC Coupling: Feed your input AC signal through a 1µF series capacitor into Pin 3. This blocks any DC offset from the source while allowing the AC signal to ride on top of the 2.5V bias.
- Feedback Network: Connect a 10kΩ resistor (Rf) from Pin 1 (Output) back to Pin 2 (Inverting input). Connect a 1kΩ resistor (Rin) from Pin 2 to GND.
- Output: Route the signal from Pin 1 through a 1µF series capacitor to your load (e.g., Arduino ADC or speaker). This strips the 2.5V DC bias off the output, leaving only the amplified AC signal.
Gain = 1 + (Rf / Rin). With Rf = 10k and Rin = 1k, the gain is 1 + (10,000 / 1,000) = 11. A 0.1V input signal will result in a 1.1V output swing, centered perfectly around 2.5V at the op-amp pin.
Failure Modes and Multimeter Testing
Op-amps are generally robust, but they fail in predictable ways when pushed beyond datasheet limits. The three most common failure modes on the bench are:
- Output Short Circuit: Accidentally wiring the output pin directly to ground or Vcc while the op-amp is driving high current. This triggers internal thermal shutdown or permanently burns out the output transistors, resulting in a dead short or a stuck voltage.
- Input Overvoltage (Latch-up): Applying a voltage to the input pins that exceeds the V+ supply rail by more than 0.3V. This forward-biases internal parasitic diodes, causing massive current draw that destroys the silicon.
- ESD Damage: Handling the IC without grounding yourself. ESD typically blows the microscopic input protection diodes, causing the op-amp to exhibit massive input offset voltages or completely ignore one of the input pins.
How to Test an Op-Amp with a Multimeter
You cannot fully test an op-amp's AC performance with a basic DMM, but you can definitively prove if it is dead or shorted. Follow this decision path:
- De-energize the Circuit: Remove all power. If the op-amp is in a breadboard, pull it out to avoid parallel resistance paths skewing your readings.
- Set DMM to Diode Test Mode: This mode applies a small test voltage and measures the forward voltage drop.
- Test Power Rail Diodes: Place the Red probe on Pin 4 (V-) and the Black probe on Pin 8 (V+). You should read 'OL' (Open Loop). Reverse the probes (Red on V+, Black on V-). You should read a standard silicon diode drop, typically between 0.5V and 0.8V. If you read 0.0V in either direction, the internal power rails are shorted; throw the chip away.
- Test Output Shorts: Place the Black probe on Pin 4 (V-) and the Red probe on the Output pin (Pin 1 or 7). You should read 'OL' or a high diode drop. If it reads 0.0V or near-zero ohms in standard resistance mode, the output stage is shorted to ground.
- Verify Input Symmetry (Advanced): Measure the diode drop from the Inverting input to V- and compare it to the Non-inverting input to V-. They should be within 0.05V of each other. A massive discrepancy indicates blown input protection diodes from ESD or overvoltage.
By keeping an MCP6002 for logic-level work and an LM358 for higher-voltage DC tasks in your bin, understanding how to establish a virtual ground for single-supply AC signals, and knowing how to verify the internal diodes with your DMM, you will eliminate 99% of the headaches associated with analog circuit design.






