I want to use USB to power devices designed to work with one, two, or three AA/AAA batteries. Three seems to be the trickiest, because it involves dropping the voltage only ~0.5 V from 5±0.25 V to 4.5 V.
After reading around (my electronics knowledge is extremely rusty), it seems an adjustable low dropout (LDO) regulator is the way to go (but please correct me if I'm wrong). The best option locally available seems to be an NCV59302, and because I'm expecting to draw 1A max @ 4.5 V, its ~175mV dropout voltage @ 1A should mean I can get 4.5 V as long as the USB power is > 4.675 V.
However I'm not exactly sure how to get it working correctly. The data sheet is here, and my interpretation of the instructions is illustrated in the circuit diagram below. The thing I'm most unclear about is the resistors, though I'm aware I could have made other major mistakes. Someone has already asked here about the resistors for an NCP59302, a very similar component (I'm not sure what the difference between the NCV & NCP is), but after reading the answers I'm still not sure which resistors will work. Nor am I 100% sure about any of the components or wiring.
- R1 is a 500 Ω potentiometer, unspecified wattage rating (does it matter? I assume this only has to carry the 100-350 nA "Adjust Pin Bias Current")
- R2 is a 180 Ω 2 Watt wire wound resistor
The formula given in the data sheet to determine the output voltage is:
$$V_{OUT} = 1.24 V × (1 + R_1/R_2) + I_{ADJ} × R_1$$
IADJ is typically 100 nA and can be up to 350 nA, but this makes a negligible difference to VOUT. From what I can tell, with R2 as a 180 Ω resistor, this would output 1.5 V, 3 V, and 4.5 V when the R1 500 Ω potentiometer was set to ~37.7 Ω, 255.5 Ω, and 473.2 Ω respectively. Or am I missing something?
As for the other components:
- CIN is a 1 μF 50V electrolytic capacitor
- COUT is a 47 μF ±20% 6.3V X5R dielectric SMD ceramic multilayer capacitor (it would cost me the same to get a 100 μF model with the same specs if there is some advantage)
I guess the most important question is: if I wired all this up as in the circuit diagram above, should it work? Or have I made a mistake?
Thanks a lot in advance.