ejshea
Published © GPL3+

Connecting an N-Channel MOSFET

Control a brushless DC fan with an N-Channel MOSFET.

BeginnerFull instructions provided82,762
Connecting an N-Channel MOSFET

Story

Read more

Schematics

circuit_schematic_LIpuLQMNZS.png

Code

MOSFETcontrol

Arduino
//Controlling a DC fan with an N-channel MOSFET

void setup() {
  // put your setup code here, to run once:
  pinMode(2, OUTPUT);

}

void loop() {
  // put your main code here, to run repeatedly:
  digitalWrite(2, HIGH);
  delay(5000);
  digitalWrite(2, LOW);
  delay(5000);
}

Credits

ejshea

ejshea

16 projects • 30 followers

Comments