I need to know what type of switch I can use that will do the following:
Basically it would act like a transistor or MOSFET, and that may be what I need for this but just want to double check to see what else I can maybe use. When I send 5v to the gate/switch for example, the switch will OPEN and allow current (25A max) to flow to my load. When the voltage going to the gate/switch is less than 5v, the switch will CLOSE, and prevent any current to flow to my load.
So basically, this switch needs to be able to handle 25A at least, and trigger from 5v.
Just want to point out that you're using "open" and "close" backwards. Normally we consider a switch closed when current flows through it, and open when current cannot. (Think of what a physical electric switch looks like. You're apparently thinking more of a water valve, which lets water flow when it's open.)
Other than that, sorry, can't help you, but hopefully an expert will be along shortly ...
Just want to point out that you're using "open" and "close" backwards. Normally we consider a switch closed when current flows through it, and open when current cannot. (Think of what a physical electric switch looks like. You're apparently thinking more of a water valve, which lets water flow when it's open.)
Other than that, sorry, can't help you, but hopefully an expert will be along shortly ...
At first blush, a MOSFET sounds like a good candidate. Can you post a sketch of what you want to do including what the load will be and if it is connected to ground or to the high side of the power for it? What voltage does it run at? Where is the 5 volts coming from? How fast does it switch on and off?
Right I saw that and will look into it after I figure out how I just destroyed my microprocessor lol.
Attached is how I have my system currently setup, and for some reason, I'm guessing the 36v's ground and the Microprocessor's ground cannot be connected together, as when I did this, my micro-controller just stopped working.
But if I don't do this, the MOSFET doesn't get it's gate triggered at all, so I'm confused on how I'm suppose to implement this basic system. What am I doing wrong?
The two grounds must be connected so that the MOSFET has a ground reference to the Microprocessor signal.
So how are you connecting them together? Make sure the the motor current doesn't somehow run through the uP ground. You want to connect the grounds together near the MOSFET, not at the power supplies.
If grounding is a problem, then you could use a solid-state relay, which has and opto-coupler isolator built in.
The two grounds must be connected so that the MOSFET has a ground reference to the Microprocessor signal.
So how are you connecting them together? Make sure the the motor current doesn't somehow run through the uP ground. You want to connect the grounds together near the MOSFET, not at the power supplies.
If grounding is a problem, then you could use a solid-state relay, which has and opto-coupler isolator built in.
Could you point me to where I could get the right solid-state relay (for my particular application), as now I have to spend another $100 for a new microprocessor and don't want to risk this happening again lol?
Yeah, a quick Google search is giving me a lot of results for, DC Input and AC ouput for the Solid-State Relay, but I can't seem to find one that is DC Input and DC Output, or maybe it doesn't matter?
Yeah, a quick Google search is giving me a lot of results for, DC Input and AC output for the Solid-State Relay, but I can't seem to find one that is DC Input and DC Output, or maybe it doesn't matter?