NapkinCalc

Electronics 1 — Filters & Op-Amps

The op-amp — gain you choose with two resistors

continues from lesson 2 — values defined earlier in the course stay live here

An op-amp has absurd gain (~100,000) and is useless raw. Feedback tames it: the amp does whatever it must to keep its inputs equal, and two resistors then set the gain exactly:

  • non-inverting: G = 1 + R₂/R₁
  • inverting: G = −R₂/R₁
R1g:=1000ohmR_{1g} := 1000 ohm = 1000 ohm feedback divider, bottom
R2g:=9000ohmR_{2g} := 9000 ohm = 9000 ohm feedback divider, top
Gni=1+R2gR1gG_{ni} = 1 + \frac{R_{2g}}{R_{1g}} = 1010 non-inverting gain: exactly ×10
Vin:=0.2VV_{in} := 0.2 V = 0.2 V a sensor signal
Vout=GniVinV_{out} = G_{ni} \cdot V_{in} = 2 V amplified to 2 V — ADC territory
✓ pass Vout<5VV_{out} < 5 V stays inside a 5 V supply — no clipping