JMG
Member level 3
FETs switching resistors into a circuit.
Hello,
I have a small circuit based around an LM3409 LED driver. I need to control the analog dimming using 2 inputs. Inputs are 0 or 5v. I will be using logic level FETs. The LM3409's analog input pin is a 1.24V 50uA supply that can either be varied using an external analog voltage, or reduced by tying it to ground through resistors.
Attached is a schematic that uses a PFET to tie the analog in pin to ground when there is no inputs, and 2 NFETS that switch in resistors depending on which input is turned on. This gives 4 light output options. Off, low, mid and high.
The 2 diodes stop the other input from turning on due to the PFET being common between the 2 inputs. Obviously as the input is turned on, the PFET is turned off, thus disconnecting the analog pin from ground and allowing current to flow through one or both resistors.
The input to the LM3409 is through R5 at the top right of the schematic.
Does this look like a good solution? Any better ideas? I am missing something obvious here?
Thanks for your help.
James.
Hello,
I have a small circuit based around an LM3409 LED driver. I need to control the analog dimming using 2 inputs. Inputs are 0 or 5v. I will be using logic level FETs. The LM3409's analog input pin is a 1.24V 50uA supply that can either be varied using an external analog voltage, or reduced by tying it to ground through resistors.
Attached is a schematic that uses a PFET to tie the analog in pin to ground when there is no inputs, and 2 NFETS that switch in resistors depending on which input is turned on. This gives 4 light output options. Off, low, mid and high.
The 2 diodes stop the other input from turning on due to the PFET being common between the 2 inputs. Obviously as the input is turned on, the PFET is turned off, thus disconnecting the analog pin from ground and allowing current to flow through one or both resistors.
The input to the LM3409 is through R5 at the top right of the schematic.
Does this look like a good solution? Any better ideas? I am missing something obvious here?
Thanks for your help.
James.
Attachments
Last edited: