Go Down

Topic: mosfet as a switch, manual over-ride switch? (Read 139 times) previous topic - next topic

MartynC

Hi,

I have a mosfet that is used as a switch to control a solenoid valve. The mosfet is controlled by an Arduino.

Is it safe to add a switch between the drain and source to function as a manual on/off switch for the valve and will this be OK to use when the mosfet gate is high as well as low?




tinman13kup

That would turn the solenoid ON, but would fail to turn it OFF if the mosfet is conducting.
Tom
It's not a hobby if you're not having fun doing it. Step back and breathe

blh64

Add the manual switch between Source and Gnd.  If the mosfet isn't grounded, your circuit will be open and the solenoid won't fire.

wvmarle

What is the purpose of the switch?
- switch it off when already on or switch it on when already off?
- keep it in the switched state permanently (toggle switch) or only as you press the switch (momentary button)?
Quality of answers is related to the quality of questions. Good questions will get good answers. Useless answers are a sign of a poor question.

septillion

You can't add a manual ON/OFF switch.

You can add however:
- A manual off switch
- A manual on switch
- or on/off/auto switch ;)
Use fricking code tags!!!!
I want x => I would like x, I need help => I would like help, Need fast => Go and pay someone to do the job...

NEW Library to make fading leds a piece of cake
https://github.com/septillion-git/FadeLed

Go Up