Home / Sourcing Guides / Regulator Guide
7805 vs LM317 vs AMS1117: Choosing a Voltage Regulator
Three linear regulators come up more than any others in hobby and production designs: the 7805 fixed 5 V regulator, the LM317 adjustable regulator and the AMS1117 low-dropout family. They solve different problems. Here is how to choose without overheating a part or wasting half your battery.
The short answer
- 7805 — fixed 5 V, up to 1 A, needs about 2 V of headroom. Simple and rugged for mains-derived supplies.
- LM317 — adjustable output from ~1.25 V, up to 1.5 A, also needs ~2–3 V headroom. Use when you need a non-standard voltage.
- AMS1117 — low-dropout (~1 V at typical load), fixed or adjustable, up to 1 A. Best when input voltage is close to output.
1. Dropout voltage decides feasibility
A linear regulator can only hold its output while the input stays above the output by at least the dropout voltage. A 7805 fed from 7 V works; fed from 5.5 V it will drop out and the output will sag. An AMS1117-3.3 regulating 3.3 V from a 4.2 V Li-ion battery works because its dropout is around 1 V at moderate current. If your input is only slightly above the output, choose an LDO like the AMS1117.
2. Fixed or adjustable output
The 7805 gives a fixed 5 V with no external resistors. The LM317T sets its output with two resistors, covering roughly 1.25–37 V, which makes it the go-to for bench supplies and unusual rail voltages. AMS1117 comes in both fixed (for example 3.3 V) and adjustable versions, so you can pick simplicity or flexibility.
3. Heat is the real limit
A linear regulator dissipates (Vin − Vout) × I as heat. Dropping 12 V to 5 V at 500 mA burns 3.5 W — far too much for a small package without a heatsink. The closer the input is to the output, the less heat you make. For large voltage differences at high current, a switching buck converter is the correct answer, not any linear regulator.
4. Quiescent current and battery life
The classic 7805 and LM317 draw several milliamps just by being on, which drains batteries in always-on devices. The AMS1117 is better but still not ideal for deep sleep. For battery-first designs, look at modern micropower LDOs with quiescent current in the microamp range.
Sourcing note
These regulators are commodity parts but the marking is frequently faked, especially the popular 7805 and AMS1117. For production, confirm the manufacturer and date code and buy from a supplier who documents the batch. We stock the L7805CV, LM317T and AMS1117-3.3 — send your quantity for a quote.
Need parts checked or quoted?
Send the part numbers, quantity and target price to sales@vantageethk.com or WhatsApp +86 187 7789 5758. We work from the Shenzhen supply chain and reply within hours on business days.