regulators

turn one voltage into another: smooth, stable, and safe for your parts.

caution
rule of thumb: big drop + medium/high current → use a buck. small drop or tiny current → an ldo is fine.

two main types

quick chooser

input → outputcurrentefficiency needpick
5 v → 3.3 v≤ 150–200 mAlow/medldo (low dropout)
5 v → 3.3 v> 200 mAmed/highbuck
1-cell li-ion (4.2→3.3 v)≤ 200 mAlowldo (ultra-low Iq if battery-powered)
12 v → 5 vanymed/highbuck (always)
2–3s li-ion → 5 v/3.3 vanyhighbuck
always-on micro @ µA–mAtinysleep lifeldo with low Iq

ldo basics

dropout: the minimum headroom the ldo needs to stay in regulation.

Vin ≥ Vout + Vdropout

fact
linear ≠ always bad: for small drops and light loads, an ldo can waste less total power than a buck.

buck basics

what it does: high-frequency switch + inductor converts extra voltage into current instead of heat.

caution
keep the buck’s switch node tiny and away from sensors/antennas → this trace is noisy.

when to choose what

mini cookbook

usb 5 v → 3.3 v (≤200 mA)

bench notes
ap2112 (ldo) is a hobbyist favorite; dropout ≈ 250 mV, 600 mA max.

1s li-ion → 3.3 v wearable

try this
for battery loggers, aim for Iq ≤ 2 µA; extends sleep life a lot.

12 v wall → 5 v logic (0.3–2 a)

quiet analog rail (3.3 v from noisy 5 v)

fact
classic trick: buck to ~3.8 v, then ldo to 3.3 v → cleans ripple.

numbers to check

common mistakes

quick math

Pldo ≈ (Vin − Vout) × Iout

ηbuck ≈ Pout / (Pout + losses) ≈ 85–95%

parts to look into

ldo (3.3 v): MCP1700, TLV700, AP2112, XC6206
ultra-low Iq: TPS7A02/03, MCP1810
buck (5/3.3 v): MP1584 modules, TPS621xx, MP1495