Thanks for your advice, i will. Is there a simple example you could recommend please?
A bit of both, but i chose this design as it looked very simple and i could see how it worked (more or less) and it can be easily pulse width modulated.
I will look for a 7 to 8 volt battery pack and / or...
Gonzo - after further tinkering and some help from elsewhere it turns out you are exactly right. Good to have confirmation though. I've got it working properly now (i think), thanks.
The reason i'm using the lm317 is that it should allow me to power LEDs up to about 3 watts and will allow me...
I made a simple circuit using the LM317T to regulate the current going through an LED. The voltage drop between ADJ and Vout is supposed to be 1.25V and the current is limited based on a resistor placed between the adj and output terminals where current out = 1.25/Resistance...