Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use LM 358 Dual Op-Amp: Examples, Pinouts, and Specs

Image of LM 358 Dual Op-Amp
Cirkit Designer LogoDesign with LM 358 Dual Op-Amp in Cirkit Designer

Introduction

The LM358 is a dual operational amplifier (op-amp) designed to operate with either a single power supply or dual power supplies. It is widely recognized for its low input bias current, high gain, and versatility in various analog signal processing applications. The LM358 is commonly used in signal conditioning, filtering, and amplification circuits, making it a staple in both hobbyist and professional electronics projects.

Explore Projects Built with LM 358 Dual Op-Amp

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
LM358 Op-Amp and Transistor Amplifier Circuit
Image of Lab 3 wiring diagram: A project utilizing LM 358 Dual Op-Amp in a practical application
The circuit includes an LM358 op-amp, NPN and PNP transistors, and resistors that are likely configured for signal processing or control applications. The op-amp is powered, and the transistors are arranged for switching or amplification, with resistors providing biasing and current limiting. The exact functionality is unclear without embedded code or further context.
Cirkit Designer LogoOpen Project in Cirkit Designer
Light-Activated LED Control Circuit with LM358 Op-Amp and BC547 Transistor
Image of STREET LIGHT: A project utilizing LM 358 Dual Op-Amp in a practical application
This circuit is a light-sensitive LED controller. It uses an LDR to detect ambient light levels and an LM358 op-amp to compare the sensor's signal with a reference voltage. The output of the op-amp drives a BC547 transistor to turn on or off a set of LEDs based on the ambient light.
Cirkit Designer LogoOpen Project in Cirkit Designer
Battery-Powered Force Sensing System with nRF52840 and OPA688P
Image of BCT-BLE-Sensor: A project utilizing LM 358 Dual Op-Amp in a practical application
This circuit is a sensor interface system that uses a Seeed Studio nRF52840 microcontroller to process signals from a force sensing resistor and a rotary potentiometer. The OPA688P operational amplifier conditions the sensor signals, which are then read by the microcontroller for further processing or transmission.
Cirkit Designer LogoOpen Project in Cirkit Designer
LDR-Controlled LED Dimmer with LM358 Op-Amp and NPN Transistor
Image of Light-Sensor-Based-Switch: A project utilizing LM 358 Dual Op-Amp in a practical application
This circuit is a light-sensitive LED controller. It uses a photocell to detect ambient light levels and an LM358 Op-Amp to compare the light level against a set threshold, adjustable via a potentiometer. When the light level is below the threshold, the Op-Amp activates an NPN transistor to power an LED.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with LM 358 Dual Op-Amp

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Lab 3 wiring diagram: A project utilizing LM 358 Dual Op-Amp in a practical application
LM358 Op-Amp and Transistor Amplifier Circuit
The circuit includes an LM358 op-amp, NPN and PNP transistors, and resistors that are likely configured for signal processing or control applications. The op-amp is powered, and the transistors are arranged for switching or amplification, with resistors providing biasing and current limiting. The exact functionality is unclear without embedded code or further context.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of STREET LIGHT: A project utilizing LM 358 Dual Op-Amp in a practical application
Light-Activated LED Control Circuit with LM358 Op-Amp and BC547 Transistor
This circuit is a light-sensitive LED controller. It uses an LDR to detect ambient light levels and an LM358 op-amp to compare the sensor's signal with a reference voltage. The output of the op-amp drives a BC547 transistor to turn on or off a set of LEDs based on the ambient light.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of BCT-BLE-Sensor: A project utilizing LM 358 Dual Op-Amp in a practical application
Battery-Powered Force Sensing System with nRF52840 and OPA688P
This circuit is a sensor interface system that uses a Seeed Studio nRF52840 microcontroller to process signals from a force sensing resistor and a rotary potentiometer. The OPA688P operational amplifier conditions the sensor signals, which are then read by the microcontroller for further processing or transmission.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Light-Sensor-Based-Switch: A project utilizing LM 358 Dual Op-Amp in a practical application
LDR-Controlled LED Dimmer with LM358 Op-Amp and NPN Transistor
This circuit is a light-sensitive LED controller. It uses a photocell to detect ambient light levels and an LM358 Op-Amp to compare the light level against a set threshold, adjustable via a potentiometer. When the light level is below the threshold, the Op-Amp activates an NPN transistor to power an LED.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications:

  • Signal amplification
  • Active filters
  • Voltage followers (buffer circuits)
  • Oscillators
  • Analog computation circuits
  • Sensor signal conditioning

Technical Specifications

The LM358 is a robust and reliable op-amp with the following key specifications:

Parameter Value
Supply Voltage (Single) 3V to 32V
Supply Voltage (Dual) ±1.5V to ±16V
Input Offset Voltage 2mV (typical)
Input Bias Current 20nA (typical)
Output Voltage Swing 0V to (V+ - 1.5V)
Gain Bandwidth Product 1 MHz
Slew Rate 0.3 V/µs
Operating Temperature Range 0°C to 70°C (commercial grade)
Package Types DIP-8, SOIC-8, TSSOP-8

Pin Configuration and Descriptions

The LM358 is available in an 8-pin package. Below is the pinout and description:

Pin Number Pin Name Description
1 OUT1 Output of Op-Amp 1
2 IN1- Inverting Input of Op-Amp 1
3 IN1+ Non-Inverting Input of Op-Amp 1
4 V- (GND) Negative Power Supply or Ground
5 IN2+ Non-Inverting Input of Op-Amp 2
6 IN2- Inverting Input of Op-Amp 2
7 OUT2 Output of Op-Amp 2
8 V+ Positive Power Supply

Usage Instructions

The LM358 is straightforward to use in a variety of circuits. Below are the steps and considerations for integrating it into your design:

Basic Circuit Example: Non-Inverting Amplifier

To use the LM358 as a non-inverting amplifier:

  1. Connect the non-inverting input (IN1+) to the input signal.
  2. Connect the inverting input (IN1-) to a voltage divider formed by two resistors (R1 and R2) to set the gain.
  3. Connect the output (OUT1) to the load or next stage of the circuit.
  4. Power the LM358 with a single or dual power supply.

The gain of the non-inverting amplifier is given by: [ \text{Gain} = 1 + \frac{R2}{R1} ]

Important Considerations:

  • Power Supply: Ensure the supply voltage is within the specified range (3V to 32V for single supply).
  • Output Swing: The output cannot reach the exact supply voltage levels. For single-supply operation, the output typically ranges from 0V to (V+ - 1.5V).
  • Bypass Capacitor: Place a decoupling capacitor (e.g., 0.1 µF) close to the power supply pins to reduce noise.
  • Input Impedance: The LM358 has high input impedance, making it suitable for interfacing with high-impedance sources.

Example: Using LM358 with Arduino UNO

The LM358 can be used to amplify an analog signal for an Arduino UNO. Below is an example of interfacing the LM358 with a photoresistor to amplify its signal:

Circuit Connections:

  • Connect the photoresistor in a voltage divider configuration.
  • Feed the voltage divider output to the non-inverting input (IN1+).
  • Use a resistor network to set the gain and connect it to the inverting input (IN1-).
  • Connect the LM358 output (OUT1) to an Arduino analog input pin (e.g., A0).

Arduino Code:

// LM358 Amplified Signal Reading Example
// Reads the amplified signal from the LM358 and displays it on the Serial Monitor.

const int analogPin = A0; // Analog pin connected to LM358 output

void setup() {
  Serial.begin(9600); // Initialize serial communication at 9600 baud
}

void loop() {
  int sensorValue = analogRead(analogPin); // Read the analog value
  float voltage = sensorValue * (5.0 / 1023.0); // Convert to voltage
  Serial.print("Amplified Voltage: ");
  Serial.print(voltage);
  Serial.println(" V");
  delay(500); // Wait for 500ms before the next reading
}

Best Practices:

  • Avoid exceeding the input voltage range to prevent damage.
  • Use proper grounding techniques to minimize noise.
  • For high-frequency applications, consider the limited bandwidth of 1 MHz.

Troubleshooting and FAQs

Common Issues:

  1. No Output Signal:

    • Check the power supply connections (V+ and V-).
    • Verify that the input signal is within the acceptable range.
    • Ensure the gain-setting resistors are correctly calculated and connected.
  2. Distorted Output:

    • Ensure the output is not saturating (check the output swing limits).
    • Verify that the input signal is not too large for the configured gain.
  3. High Noise or Oscillations:

    • Add a bypass capacitor near the power supply pins.
    • Check for proper grounding and minimize long signal wires.
  4. Low Gain or Incorrect Amplification:

    • Double-check the resistor values in the gain-setting network.
    • Ensure the input signal is connected to the correct pin (non-inverting or inverting).

FAQs:

Q: Can the LM358 operate with a single 5V power supply?
A: Yes, the LM358 can operate with a single supply as low as 3V. However, the output swing will be limited to approximately 0V to 3.5V when using a 5V supply.

Q: Is the LM358 suitable for audio applications?
A: The LM358 can be used for basic audio applications, but its limited bandwidth (1 MHz) and slew rate (0.3 V/µs) may not be ideal for high-fidelity audio.

Q: Can I use the LM358 for high-frequency signals?
A: The LM358 is not designed for high-frequency applications due to its limited gain-bandwidth product. For such applications, consider using a high-speed op-amp.

Q: How do I protect the LM358 from damage?
A: Use input resistors to limit current, ensure the supply voltage is within the specified range, and avoid exceeding the input voltage range.