AMS1117/The adjustable board/08. How the ADJ board sets its voltage
The adjustable board · 08 of 11

How the ADJ board sets its voltage

The chip holds 1.25 V across a 220 Ω resistor, so 5.7 mA flows through it and on through the trimmer. The trimmer's resistance times that current is how far the output sits above 1.25 V.

1.25 V, held across R1

The ADJ chip does one thing: it keeps 1.25 V between its OUT pin and its ADJ pin. On this board those two pins are joined by R1, a 220 Ω resistor on the back. 1.25 V across 220 Ω is 5.7 mA, so 5.7 mA flows through R1 whatever else is going on.

That current has one way to ground: through the trimmer, R2. Current through a resistance makes a voltage, so the trimmer adds its own voltage on top of the 1.25 V. Turn it up and the output rises:

Two resistors, and 1.25 V held across one of them
90° · R2 583 Ω
Trimmer position90°
This trimmer measures
OUT, if the input allows
4.60 V
Top of this trimmer
12.7 V
Input needed
5.6 V
OUT = 1.25 V × (1 + R2 ÷ 220 Ω). The chip holds 1.25 V across R1, so 5.7 mA flows down through R1 and R2 at every setting, and R2 × 5.7 mA is how far OUT sits above 1.25 V. Here that is 4.60 V, which needs about 5.6 V in.

As a sum, with R2 in ohms:

OUT = 1.25 V × (1 + R2 ÷ 220)

The chip's ADJ pin leaks about 60 µA into R2 as well, which adds about a tenth of a volt at the top of the range. The figure includes it; the sum above does not need to.

ForR2 needs to be
3.3 Vabout 360 Ω
5.0 Vabout 650 Ω
9.0 Vabout 1350 Ω

Why R1 is only 220 Ω

A smaller R1 means more current wasted, so why not 2.2 kΩ? Because the adjustable chip needs some current flowing out of OUT at all times to stay in regulation. UMW's datasheet does not give a figure; the original AMS1117 datasheet puts it at 5 mA typically, 10 mA at worst, and says R1's current is normally what provides it. 220 Ω gives 5.7 mA. A little load on OUT covers the rest.

The trimmer

It is a 3 mm single-turn trimmer: about 270° from one stop to the other, three quarters of a turn. Up to a tenth of the travel at each end does nothing, and its 2 kΩ can be 25% out either way. So the top of the range is somewhere from about 9.9 V to 15.6 V, depending on the board.

The input decides first, though. OUT cannot rise within about a volt of VIN, and VIN is recommended to stay at or below 12 V — which puts the practical top near 11 V on every board, whatever its trimmer could do.

When it does not work

My ADJ board tops out lower than the one next to it

The trimmer is 2 kΩ give or take 25%, so the top of the range is anywhere from about 9.9 V to 15.6 V from board to board. It matters less than it sounds: the input limits the output first, and the recommended input stops at 12 V.

What is the lowest it goes?

1.25 V, with the trimmer at its zero end — a little more on a real trimmer, which never quite reaches zero ohms. Anything that needs less than that needs a different regulator.

Why does the ADJ board use more current than the 3V3 board?

The 5.7 mA through R1 and the trimmer flows all the time, on top of the chip's own supply current. On USB it is nothing. On a battery it is part of why this is not a battery regulator.

Where this goes next

Supply on, meter on OUT, down to the stop and slowly up. And why most of the trimmer seems to do nothing.

Set it with a meter

Edit this page — content/books/ams1117/how-adj-sets-its-voltage.mdx

Community

Questions about this product

See what other owners have asked, and read their solutions.

Ask a question ↗

AMS1117 LDO Regulator Kit, 24 Boards (18 × 3.3 V, 6 × Adjustable)

Loading discussions…

Discuss this article

Ask about this page. The answer stays here, on the page it belongs to, for whoever hits the same wall next.

Browse Modules and blocks on the forum