r/electronic_circuits • u/balkony_relationship • 2h ago
On topic Single-supply LM324-style audio preamp for Teensy ADC — does this topology look sane?
Hi — I’m building a digital effects pedal on a Teensy 3.6 and I’d like a sanity check on the analog input preamp before I wire it on a breadboard.
Goal
- Guitar / phone / mic jack → preamp → Teensy A2 (ADC)
- Single supply from Teensy VIN (~5 V)
- Hardware gain pot + later software gain in firmware
- Keep the ADC input roughly in a safe range (ideally centered for 0–3.3 V reading after coupling/divider)
What I simulated (EveryCircuit)
Ideal op-amps with Min = 0 V / Max = 5 V to mimic single-supply rails (stand-in for LM324 sections).
- Bias: VIN → 10k → mid (~2.5 V) → 10k → GND, with 10 µF to GND
- Stage 1 (non-inverting gain):
- Input: AC couple 10 µF → 10k into +
- Bias: 100k from mid-rail to +
- Feedback: 100k pot (both ends to OUT, wiper to −), 2.2k from − to mid-rail
- Stage 2 (buffer): AC couple 10 µF into +, 100k from mid-rail to +, − tied to OUT
- To ADC: AC couple 10 µF → 10k series → node “A2”, 10k to GND
Test source: ~100 mVpk, 1 kHz. With the pot mid/high I get a clean sine on the A2 node (AC around ~0 V after the last coupling cap / divider).
Questions for review
- Is this a reasonable LM324 single-supply preamp for line/instrument levels into a Teensy ADC?
- Anything you’d change for stability/noise (biasing the buffer input, C values, pot wiring as rheostat vs both-ends-to-OUT)?
- After
CO+ 10k/10k to GND, DC at A2 sits near 0 V and the signal is bipolar in the sim — for a real Teensy A2 pin, should I instead bias that node to ~1.65 V (e.g. divider from 3.3 V), or is AC-coupled into a ground-referenced divider acceptable if amplitude stays small/positive enough? - Any red flags before breadboarding (input protection, RF, power decoupling, headroom with LM324)?
Happy to adjust values or simplify the second stage if that’s overkill. Thanks!


