Electronic switch for electromagnet

iimagine

Joined Dec 20, 2010
512
When I turn the circuit on, the electromagnet conduct. But, I don't know why, when I set the 5 V signal on it doesn't cut of the electromagnet current. What can be happening, please?
Double check resistors value? Measure at the base of the output transistor, it should be less then 200mV when off.
 

Thread Starter

EduardoBat

Joined Jul 16, 2019
29
The post #40 circuit will work if the power MOSFET is a logic-level type. If it's not, connect the top 10k resistor to +12V instead of to +5V.
(BTW, when drawing circuits, get into the habit of labelling each component, e.g. R1, R2 etc. It makes it much easier to discuss the circuit.)

If I use an IRF540 mosfet what tension I should use?
 
Top