Help With Resistors For Variable Voltage Regulator

I am building a remake of Sparkfun's Breadboard Power Supply... I am totallly lost... What would R1 and R2 be for 3.3V and 5V?

Also, would I be able to use a digipot and an arduino to make a computer controlled variable version? As in it could make any voltage up to 5V?

Doesn't make sense...

Also, do you know why in Eagle, the SOT223 regulators have 2 outputs?

Can someone explain the equation to find the resistors? If someone explains it, I might be able to figure it out my self...

did you look at the datasheet for the lm317? its on page 9

http://www.national.com/ds/LM/LM117.pdf

If you ignore the Iadj term, you get:

1.25(1 + (390/240)) = 3.28V (close enough to 3.3!)

and

1.25(1 + (720/240)) = 5V

Hugs you in a big brother way!

You guys are always better than datasheets! LOL!

Wait... Do I always use that equation? Does that 1.25 ever change?

I'm confused... Ard the two outs on it tied together?

Does that 1.25 ever change?

Does the reference change? No.

Yes, I'd tie the two outs together.

Just finished the schematic... How do I make a picture of it?

Pictures is as easy as using the Prt Sc key in your keyboard. :wink:

to further explain that print screen key does a screen capture, in windows it copies it to the clipboard where you can paste it into paint or whatever

I tought you can export Eagle schematics to pictures, though...

I would think you can, but heck (embarrassing moment here) I have never even installed eagle, so I dont really know :-[