Shop by category
Shop all componentsAnalog circuits
Non-inverting: G = 1 + Rf ÷ RgInverting: G = −Rf ÷ RinVout = G × Vin, dB = 20 × log10(|G|)Non-inverting with Rf = 9 kΩ, Rg = 1 kΩ: G = 1 + 9 = 10 (20 dB). A 100 mV sensor signal becomes 1.0 V.
An op-amp with negative feedback has a gain set purely by two resistors. The non-inverting amplifier keeps the signal’s polarity and has a very high input impedance, ideal for weak sensors. The inverting amplifier flips the signal and its input impedance equals Rin.
Real op-amps cannot swing past their supply rails. The LM358 and LM324 are cheap and common but lose about 1.5 V at the top on a single supply; rail-to-rail parts like MCP6002 do better on 3.3 V. Keep resistor values between 1 kΩ and 1 MΩ.
G = 1 + Rf ÷ Rg. With Rf = 10 kΩ and Rg = 1 kΩ the gain is 11.
G = −Rf ÷ Rin. The minus sign means the output is flipped: 10 kΩ ÷ 1 kΩ gives −10.
Most op-amps cannot swing fully to the rails. Use a rail-to-rail part on low single supplies like 5 V or 3.3 V.
Non-inverting: G = 1 + Rf ÷ Rg; Inverting: G = −Rf ÷ Rin; Vout = G × Vin, dB = 20 × log10(|G|).
Non-inverting with Rf = 9 kΩ, Rg = 1 kΩ: G = 1 + 9 = 10 (20 dB). A 100 mV sensor signal becomes 1.0 V.
Geekobot builds that use it include Dark detector with an LM358 comparator and LM358 comparator with two knobs. Each has the full parts list, wiring and code.
Results are estimates for design and learning. Check critical designs against the component datasheet. Made by the Geekobot Learning Team. How we write our calculators