Project description
Code
MOSFETcontrol
arduino
MOSFETcontrol
arduino
Downloadable files
circuit_schematic_LIpuLQMNZS.png
circuit_schematic_LIpuLQMNZS.png
Comments
Only logged in users can leave comments
Anonymous user
2 years ago
The wiring diagram is wrong.
Anonymous user
2 years ago
It is, but let's also provide the correct info then :) The MOSFET is wired incorrectly. The pinout on a MOSFET is (from left to right, looking at the printed side of the MOSFET) gate - drain - source. MOSFET left pin (gate) to Arduino pin 2. MOSFET middle pin (drain) to fan. MOSFET right pin (source) to ground. Also the fan needs to be powered, so an additional connection from Arduino 5V to the red rail on the breadboard is needed. HTH
Anonymous user
2 years ago
As a beginner this tutorial is an absolute mess! Wiring digram ist totally wrong-- to an extend which boarders on malicious intend. I just lost 4 hours and an arduino over this..... Why is this the first google result for ardunio + mosfet?? this tutorial should be deleted
Anonymous user
2 years ago
Agreed - it contains several errors and should be removed.
Anonymous user
2 years ago
The gate won't try to pull more than 40mA. In fact it won't try to pull any current. A MOSFET is a voltage controlled device, not current controlled. The Gate current is always Zero in a MOS transistor because the gate terminal is isolated from substrate by a dielectric medium. MOSFET is formed by a MOS CAPACITOR which is always in equilibrium under all conditions, so no gate current can pass through it.
Anonymous user
3 years ago
As a beginner this tutorial is an absolute mess! Wiring digram ist totally wrong-- to an extend which boarders on malicious intend. I just lost 4 hours and an arduino over this..... Why is this the first google result for ardunio + mosfet?? this tutorial should be deleted
kallend
2 years ago
Agreed - it contains several errors and should be removed.
Anonymous user
4 years ago
The gate won't try to pull more than 40mA. In fact it won't try to pull any current. A MOSFET is a voltage controlled device, not current controlled. The Gate current is always Zero in a MOS transistor because the gate terminal is isolated from substrate by a dielectric medium. MOSFET is formed by a MOS CAPACITOR which is always in equilibrium under all conditions, so no gate current can pass through it.
Anonymous user
5 years ago
The wiring diagram cannot be accessed at the moment. Also, shouldn't there be a diode across that inductive load ?
Anonymous user
2 years ago
It IS generally a good idea to put a flyback diode over an inductive load, but I can imagine with this small fan this could be fine as well.
Anonymous user
5 years ago
The wiring diagram is wrong.
Anonymous user
2 years ago
It is, but let's also provide the correct info then :) The MOSFET is wired incorrectly. The pinout on a MOSFET is (from left to right, looking at the printed side of the MOSFET) gate - drain - source. MOSFET left pin (gate) to Arduino pin 2. MOSFET middle pin (drain) to fan. MOSFET right pin (source) to ground. Also the fan needs to be powered, so an additional connection from Arduino 5V to the red rail on the breadboard is needed. HTH
bakedgoods
6 months ago
Very late to the party, but I just wanted to say that yes the wiring diagram is wrong; but only for the common MOSFETs like IRF520 and IRF44ZN which both have Gate - Drain - Source. But the MOSFET that they have used in this configuration (as is also mentioned in their tutorial) is a 2N7000 MOSFET, that does in fact have a Source - Gate - Drain, which makes their wiring diagram correct.