The LM358 is a dual general-purpose op amp that works from a single supply, with the B and BA versions rated 3 to 36 V, 300 µA per amplifier and 1.2 MHz unity-gain bandwidth, and an input range that includes ground. That ground-sensing input is why it appears so often in robots: amplifying a small signal from a shunt, a sensor or a line-follower photodiode from a single battery rail. Figures are from the Texas Instruments LM358 and LM2904 datasheet.
Key specifications
| Amplifiers | 2 |
|---|---|
| Supply (B/BA) | 3–36 V |
| Quiescent | 300 µA per amplifier |
| Unity-gain bandwidth | 1.2 MHz |
| Slew rate | 0.5 V/µs |
| Input range | includes ground |
What the datasheet promises
| Item | LM358B / LM358BA |
|---|---|
| Amplifiers per package | 2 |
| Supply range | 3 to 36 V |
| Quiescent current | 300 µA per amplifier, typical |
| Unity-gain bandwidth | 1.2 MHz |
| Slew rate | 0.5 V/µs |
| Input offset voltage | 3 mV maximum at 25 °C (2 mV for the BA version); 300 µV typical |
| Common-mode input range | Includes ground |
| Protection | Internal RF and EMI filter, 2 kV HBM ESD |
| Packages | SOIC-8, TSSOP-8, VSSOP-8, among others |
Older versions of the part have different, lower limits, so read the suffix on the chip. The datasheet covers the older LM358 and LM358A with a narrower supply range and a larger offset, and the LM2904 family is the automotive-grade sibling.
What to expect on a robot
- The input can sit at ground, but the output cannot swing fully to the positive rail, and with a single supply it cannot go below roughly the bottom rail. Read the output swing graphs before relying on a full-range signal.
- It is not a rail-to-rail part, so for 3.3 V logic with a small headroom use a rail-to-rail op amp instead.
- A 1.2 MHz bandwidth means gain trades against speed: a gain of 100 leaves only about 12 kHz of bandwidth.
- Feed the output to a microcontroller ADC through a resistor if the op amp runs from a higher rail than the ADC tolerates.
To digitise the result with more resolution than the board’s own ADC, see the ADS1115. For a ready-made current measurement without building the amplifier, see the INA219.
Sources and further reading
- Texas Instruments LM358 and LM2904 datasheet — the supply, current, bandwidth, slew rate and offset figures above.
Last reviewed: November 2026. Limits are for the B and BA versions in the Texas Instruments datasheet; other makers differ. The 12 kHz bandwidth at a gain of 100 is a calculation from the 1.2 MHz figure. No price is quoted because it has not been checked.
Where to buy in India
These open a store search. Compare seller, price and reviews before you order.