8 November 2026 · Soldr

Why your AMS1117 runs hot, and when a buck converter is the fix

Short answer: a linear regulator like the AMS1117-3.3 burns the voltage difference as heat: (Vin − 3.3 V) × current. From 5 V at 0.8 A that's 1.36 W, more than the 1.2 W its datasheet guarantees for the common SOT-223 package. A buck converter like the XL4015 switches instead and wastes far less (87 % efficient at 12 V to 5 V, 5 A in its datasheet). Use a linear regulator for small currents and small drops; use a buck for big drops or big currents.

A regulator that's too hot to touch is a common sight on a first battery or 12 V project. Sometimes it's fine, sometimes it's about to shut down, and the datasheet tells you which. Both parts here have reference pages: the AMS1117-3.3 and the XL4015 buck converter.

The linear regulator: AMS1117-3.3

From the maker's datasheet:

AMS1117-3.3 spec table on soldr.ai: output 3.3 V, up to 1 A, dropout 1.1 V typical and 1.3 V maximum at 0.8 A, current limit 900 to 1500 mA, maximum input 15 V, quiescent current 5 mA, 22 uF output capacitor, thermal resistance 90 C/W for SOT-223, guaranteed dissipation 1.2 W for SOT-223

Do the heat sum

A linear regulator passes the full load current, and drops the extra voltage across itself. So the power it turns into heat is:

P = (Vin − Vout) × I

The lesson: a linear regulator is great for a small drop at a small current, such as 5 V USB to 3.3 V for a few sensors. A big drop, or a big current, turns into heat.

Watch the dropout, too

The other common AMS1117 mistake goes the other way: too little input. Three AA cells give about 4.5 V. That's below the roughly 4.6 V the datasheet needs for full-load regulation, so the output sags under load. At light load it may be fine; at 0.8 A it won't be.

The switching regulator: XL4015

A buck converter switches the input on and off and smooths the result, so it doesn't burn the voltage difference. From the XL4015 datasheet:

Efficiency still means some loss. At 12 V to 5 V and 5 A, 87 % efficiency is about 3.7 W lost as heat (25 W out ÷ 0.87 = 28.7 W in). The sheet gives 30 °C/W for the bare package in free air, so full current needs cooling. At a 1 A load the loss is a small fraction of that.

Two practical rules for the module:

Which to use

Soldr shows a power budget for each build and states its power plan in the chat. Check the regulator heat yourself with the formula above whenever the input is well above the output. More in the power budget guide.

On Compoden: AMS1117-3.3, XL4015 buck converter. Describe your build on app.soldr.ai. Sign in and get 100 credits free.