Hi All,
I wanted to have the LM317 as LED driver for the DRL (Daytime Running Lights) in my car.
I want the DRL current to be 200mA and have chosen 6.2 ohms.
Now I want the DRL current to be 50mA when I switch on the Fog lights, hence I have chosen 25 ohms (if this is non-standard then I will use the nearest value say 27 ohms).
I need your help in selecting the 50mA current when the fog lights switch ON. Below is the partial circuit what I have come up with.

I want the LM317 to select the 200mA current resistor always when the 12V-14V at J1 is present, which means Q1 transistor must be ON.
Later when I switch ON the fog lights, the 200mA current resistor have to be disconnected & 50mA current resistor to be connected there by reducing the brightness of the DRL, which means Q2 transistor must be ON.
So please guide me in completing the above circuit. I want to keep this design with minimum number of components and I don't want to use any relays here.
Also let me know if I have made any mistake in this circuit.
Thanks & Regards,
Pravardhan U.S
I wanted to have the LM317 as LED driver for the DRL (Daytime Running Lights) in my car.
I want the DRL current to be 200mA and have chosen 6.2 ohms.
Now I want the DRL current to be 50mA when I switch on the Fog lights, hence I have chosen 25 ohms (if this is non-standard then I will use the nearest value say 27 ohms).
I need your help in selecting the 50mA current when the fog lights switch ON. Below is the partial circuit what I have come up with.

I want the LM317 to select the 200mA current resistor always when the 12V-14V at J1 is present, which means Q1 transistor must be ON.
Later when I switch ON the fog lights, the 200mA current resistor have to be disconnected & 50mA current resistor to be connected there by reducing the brightness of the DRL, which means Q2 transistor must be ON.
So please guide me in completing the above circuit. I want to keep this design with minimum number of components and I don't want to use any relays here.
Also let me know if I have made any mistake in this circuit.
Thanks & Regards,
Pravardhan U.S