Overview

The LM358 (and DIP-8 LM358N) is an industry-standard dual operational amplifier IC manufactured by Texas Instruments, ON Semiconductor, and STMicroelectronics. Ubiquitous across sensor breakout boards (such as ZMPT101B AC voltage modules, LM393/LM358 sound/vibration modules, active analog filters, and microphone pre-amps), it contains two independent, high-gain, internally frequency-compensated op-amps.

Designed to operate from either a single supply (3.0V3.0\text{V} to 32.0V32.0\text{V} DC) or split supplies (±1.5V\pm 1.5\text{V} to ±16.0V\pm 16.0\text{V}), the LM358's common-mode input range includes ground (0V0\text{V}), making it ideal for single-supply 5V5\text{V} or 3.3V3.3\text{V} microcontroller applications.

Quick reference

Op-Amp Channels2 Independent Operational Amplifiers
Package8-pin DIP / SOIC-8 / MSOP-8
Single Supply Voltage Range3.0 V3.0\text{ V} to 32.0 V32.0\text{ V} DC
Split Supply Voltage Range±1.5 V\pm 1.5\text{ V} to ±16.0 V\pm 16.0\text{ V} DC
Gain-Bandwidth Product (GBW)1.0 MHz1.0\text{ MHz}
Slew Rate0.3 V/μs0.3\text{ V}/\mu\text{s}
Input Offset Voltage2.0 mV2.0\text{ mV} typical / 5.0 mV5.0\text{ mV} max
Input Common-Mode RangeIncludes Ground (0V0\text{V}) on single supply
Quiescent Supply Current500 μA500\ \mu\text{A} typical (independent of supply voltage)

Pinout (DIP-8 Package)

text
             ┌───┴───┐
      OUTPUT A ─┤ 1   8 ├─ VCC (+VCC)
    -INPUT A ─┤ 2   7 ├─ OUTPUT B
    +INPUT A ─┤ 3   6 ├─ -INPUT B
  GND (-VCC) ─┤ 4   5 ├─ +INPUT B
             └───────┘
PinNameDescription
1OUTPUT AOp-Amp A Output
2-INPUT AOp-Amp A Inverting Input
3+INPUT AOp-Amp A Non-Inverting Input
4GND / -VCCGround reference (0 V) or Negative Power Supply (VCC-\text{V}_{CC})
5+INPUT BOp-Amp B Non-Inverting Input
6-INPUT BOp-Amp B Inverting Input
7OUTPUT BOp-Amp B Output
8VCC / +VCCPositive Power Supply Input (+3.0V+32V+3.0\text{V} \dots +32\text{V})

Specifications

ParameterSymbolMinTypMaxUnitConditions
Single Supply VoltageVCCV_{CC}3.05.032.0VDC
Quiescent CurrentICCI_{CC}500700µAOver full supply range
Input Offset VoltageVIOV_{IO}2.05.0mVTA=25CT_A = 25^\circ\text{C}
Input Bias CurrentIIBI_{IB}45100nAVCM=0VV_{CM} = 0\text{V}
Large Signal Voltage GainAVDA_{VD}25100V/mVVCC=15V,RL2kΩV_{CC} = 15\text{V}, R_L \ge 2\text{k}\Omega
Common-Mode RejectionCMRRCMRR6580dBVCM=0VVCC1.5VV_{CM} = 0\text{V} \dots V_{CC}-1.5\text{V}
Output Voltage Swing HighVOHV_{OH}VCC1.5V_{CC}-1.5VCC1.2V_{CC}-1.2VRL=2kΩ,VCC=5.0VR_L = 2\text{k}\Omega, V_{CC} = 5.0\text{V}
Output Voltage Swing LowVOLV_{OL}520mVRL=10kΩ,VCC=5.0VR_L = 10\text{k}\Omega, V_{CC} = 5.0\text{V}

Common Op-Amp Circuit Configurations

Non-Inverting Amplifier

VOUT=VIN×(1+RfRin)V_{OUT} = V_{IN} \times \left( 1 + \frac{R_f}{R_{in}} \right)

Inverting Amplifier

VOUT=VIN×(RfRin)V_{OUT} = -V_{IN} \times \left( \frac{R_f}{R_{in}} \right)

Unity-Gain Voltage Follower (Buffer)

Connect OUTPUT directly to -INPUT. VOUT=VINV_{OUT} = V_{IN} with high input impedance and low output impedance.

Common mistakes

  • Expecting Rail-to-Rail Output Swing on VCCV_{CC}: The LM358 is NOT a rail-to-rail output op-amp. On a single 5.0V5.0\text{V} power supply, its maximum output voltage swings up to 3.5V3.7V\sim 3.5\text{V} \dots 3.7\text{V} (VCC1.5VV_{CC} - 1.5\text{V}). For full 0V5.0V0\text{V} \dots 5.0\text{V} rail-to-rail output swing, use a rail-to-rail op-amp like the MCP6002 or LMC6482.
  • Leaving unused op-amp channels floating: Leaving an unused op-amp channel floating causes high-frequency oscillations and excessive power supply noise. Connect -INPUT directly to OUTPUT (unity gain buffer) and connect +INPUT to a fixed DC bias voltage (or ground).

Notes

  • LM358 vs LM324 vs NE5532: LM358 is a dual general-purpose op-amp; LM324 is a quad (4-channel) version of the LM358; NE5532 is a low-noise high-speed audio op-amp.

Assets & downloads