Bench note

ADC reference voltage you won't second-guess

Why the internal reference stops being enough

Most microcontrollers ship with an internal ADC reference—typically the supply rail or a bandgap voltage around 1.1 V. That's fine for blinking LEDs in response to a pot, but the moment you care about repeatability across temperature or between boards, you need something better. Internal references drift. Supply rails sag under load. Your 10-bit ADC becomes a 7-bit guess.

A dedicated voltage reference IC costs thirty cents and removes an entire class of debugging.

What stable actually means

Look for initial accuracy (how close to the rated voltage out of the box), temperature coefficient (ppm/°C), and long-term drift (ppm/1000 hours). For home-lab work, ±0.1% initial accuracy and 50 ppm/°C gets you to "I trust this reading."

If you're logging environmental data or tuning a PID loop, that stability turns into confidence. You won't wonder if the sensor drifted or the reference did.

Series or shunt

Series references (like the LM4040 or TL431 in shunt mode) regulate by sinking current. Shunt types need a resistor to set current and waste a bit of power, but they're cheap and bulletproof. Series references are cleaner but cost more.

For most bench projects, a shunt reference with 1–5 mA bias current is enough. Pick 2.5 V or 4.096 V to match your ADC's full scale without wasting range.

Bypass it properly

Even a good reference needs a ceramic cap (0.1 µF) right at the output pin and a larger electrolytic (10 µF) nearby. The reference datasheet will specify this. If you skip it, you'll see noise on every ADC sample. Place the caps as you would for any decoupling network—close, low-inductance paths.

Don't share the reference trace with anything noisy. Route it like you care.

Using it with your ADC

Most microcontrollers let you select an external reference pin. Enable it in your config registers, connect your reference output to AREF or VREF+, and the ADC will measure against that instead of VCC. Now your 10-bit reading of 512 means exactly half of 2.500 V, not half of "whatever the USB port felt like today."

If your micro doesn't have a dedicated reference input, you can still use the reference to power your sensor through a unity-gain buffer, then ratio the ADC reading in software. It's less elegant but works.

When to skip the upgrade

If you're reading a joystick for a game controller or sampling a thermistor that you'll calibrate every session, the internal reference is fine. But if you're building something you'll deploy, log, or compare across weeks, spend the thirty cents. You'll stop wondering if your data is real.

Document which reference you used in your schematic and version the board so you remember why rev B suddenly reads differently.

← Full log