On/off Mosfet. Voltage Control.

Thread Starter

jgreene44

Joined Dec 8, 2016
108
Hello,
Thanks in advance! My understanding this far. BJT, current controls the output. Mosfet,
voltage controlled. Ok, am trying to simply turn on and off a mosfet with my Arduino's
output. I have 28VDC @ the drain, source reading 3V. Verified I have 5V @ the gate.
So If I am using 5V to the gate, mosfet is voltage controlled... Am I getting about what
I am supposed to @ the source? Seems like maybe so. If that be the case. How would
I unleash the full 28V with this setup? This video:


Makes it appear that its really simply.
 

EM Fields

Joined Jun 8, 2016
583
Hello,
Thanks in advance! My understanding this far. BJT, current controls the output. Mosfet,
voltage controlled. Ok, am trying to simply turn on and off a mosfet with my Arduino's
output. I have 28VDC @ the drain, source reading 3V. Verified I have 5V @ the gate.
So If I am using 5V to the gate, mosfet is voltage controlled... Am I getting about what
I am supposed to @ the source? Seems like maybe so. If that be the case. How would
I unleash the full 28V with this setup? This video:


Makes it appear that its really simply.
You can't unleash the full 28 volts that way; you must connect the source to the battery negative, the drain to one side of the load, the other side of the load to battery positive, the gate to the Arduino output, and battery negative to the Arduino ground.

That is, if your MOSFET is an N-channel enhancement mode device and if it can be driven into saturation with the Arduino's 5 volt output on its gate, like this:
NMOSFET common source connection.png



What's the MOSFET's part number or can you post a link to its datasheet, please ?
 
Last edited:

Thread Starter

jgreene44

Joined Dec 8, 2016
108
Ok EM. The Mosfet is: IRF640.

It is hooked up proper. As you say.

Also. It is starting to sound again, like im getting what I should. Perhaps some kind of voltage loss when using such a
mosfet is why im getting 3V out @ the source?
 

R!f@@

Joined Apr 2, 2009
10,004
IRF640 is not a logic level MOSFET and you cannot fully turn ON this MOSFET with 5V gate voltage.
You need to increase gate voltage to around 15V to turn it ON fully.
You need additional components to do so.
 

EM Fields

Joined Jun 8, 2016
583
Ok EM. The Mosfet is: IRF640.

It is hooked up proper. As you say.

Also. It is starting to sound again, like im getting what I should. Perhaps some kind of voltage loss when using such a
mosfet is why im getting 3V out @ the source?
You _are_ getting what you should, but the reason isn't because of the vagaries of the MOSFET you're using, it's just physics and it's because, as you've explained earlier, you've connected the transistor as a source follower.
 

Thread Starter

jgreene44

Joined Dec 8, 2016
108
Ok EM, I am still with you! I am thinking the simplest and best solution is to go with a logic level mostfet? Or would a change
in configuration make more since?

On that diagram. The item listed PC817, I do not understand the symbol.
What is that?
 

EM Fields

Joined Jun 8, 2016
583
Ok EM, I am still with you! I am thinking the simplest and best solution is to go with a logic level mostfet? Or would a changein configuration make more since?
Using a logic level N MOSFET driven directly by the an Arduino I/O would, in my opinion, make the most sense since one could get the job done with only two parts: the MOSFET and a catch diode across the motor.

On that diagram. The item listed PC817, I do not understand the symbol.
What is that?
It's an optocoupler and its data sheet is at:
http://www.sharp-world.com/products/device-china/lineup/data/pdf/datasheet/pc817xnnsz_e.pdf
 
Last edited:

HW-nut

Joined May 12, 2016
97
Did you not see zener ZD1?
My mistake, I usually run the devices in saturation for level translators. Assuming the 80v supply is reasonably regulated, you could probably get by with a divider network and dump the zener regulator.

Also, you may want to check the rest state of the MPU to make sure the motor is off during reset.
 

R!f@@

Joined Apr 2, 2009
10,004
My 80V is not regulated hence the zener diode.

I did not have a logic level MOSFET that could drive the motor so I compromised.
 
Top