No reply doesn't necessarily mean nothing is wrong with your circuit.
The output voltage has to be taken off the adjust pin.
Also think about using a miniature relay to short one resistor. It's more accurate.
Please compare.
Currents have been calculated using Iout=Vref/Rref.
Iout(1)=1.25V/62.5Ω - Iout(1)=0.02A (20mA)
Iout(2)=1.25V/1,062.5Ω - Iout(2)=0.0011764A (1.17mA)
Boncuk
I appreciate the circuit you've posted but it will not work with the tail light of my motor cycle.
Maybe you can help me better if I explain it again.
There are three lines going to the tail light;
Line 1, is a positive line which get switched on everytime you hit the brake.
Line 2, is a positive line which get switched on when you turn on the head lamp, which is usually when it is dark.
Line 3, is a common ground.
The bulb has two filaments inside. One is rated at 10 watts, this is for braking. The other is rated at 5 watts, the tail light. The low rated filament is there so that you can be seen when it is dark. Of course, this line stays on as long as the head lamp is operating.
Now, I am replacing the bulb with LED. The current will help me emulate the two filaments of the bulb. Lower current will simulate the tail light and when I hit the brake, the current should be at maximum settings for maximum LED glow. This is why on my diagram, I have the L+ (tail light), B+ (brake light) and G (ground) connection. My idea is that everytime the brake (B+) gets activated, I would lessen the resistance accross Adj and Out pins of LM317, Making it produce more current to drive my LEDs.
My question is, am I using the transistor effectively as a switch to parallel a resistor to an existing one to increase the current?
Thanks.