zoulzubazz
Member level 5
Hello everyone,
Attached is a simple circuit that should theoretically perform well theoretically but practically this is giving me all sorts of problems.
there are two switches in the circuit, one is a manual SPDT switch (leftmost) and the other is a mosfet switch (which is on all the time but is included for the sake of completeness). Also there are three of these circuits connected in parallel to the same power supply (supply is 12V from smps supply from an old computer) for three different colored LEDs.
Initially when the manual switch was connected to the 10K pot(ON1) even though the pot was at 0Ohms some of the LED's would turn on, and i measured 1.6V at the gate but both op amp inputs were at 0V wrt ground. When the LM358s were replaced with LM358s from another manufacturer this problem was solved. but now when the manual switch is connected to the bnc although the BNC is not connected to anything all LED's come on and i see about 1.6V at the mosfet gate where as this should be 0V. As expected when voltage on bnc connecter is increased the LED brightness increases but they need to be normally off which is not the case. can anyone shed some light on this phenomenon and how this can be circumvent?
Attached is a simple circuit that should theoretically perform well theoretically but practically this is giving me all sorts of problems.
there are two switches in the circuit, one is a manual SPDT switch (leftmost) and the other is a mosfet switch (which is on all the time but is included for the sake of completeness). Also there are three of these circuits connected in parallel to the same power supply (supply is 12V from smps supply from an old computer) for three different colored LEDs.
Initially when the manual switch was connected to the 10K pot(ON1) even though the pot was at 0Ohms some of the LED's would turn on, and i measured 1.6V at the gate but both op amp inputs were at 0V wrt ground. When the LM358s were replaced with LM358s from another manufacturer this problem was solved. but now when the manual switch is connected to the bnc although the BNC is not connected to anything all LED's come on and i see about 1.6V at the mosfet gate where as this should be 0V. As expected when voltage on bnc connecter is increased the LED brightness increases but they need to be normally off which is not the case. can anyone shed some light on this phenomenon and how this can be circumvent?