Project description
Code
MOSFETcontrol
arduino
1//Controlling a DC fan with an N-channel MOSFET 2 3void setup() { 4 // put your setup code here, to run once: 5 pinMode(2, OUTPUT); 6 7} 8 9void loop() { 10 // put your main code here, to run repeatedly: 11 digitalWrite(2, HIGH); 12 delay(5000); 13 digitalWrite(2, LOW); 14 delay(5000); 15}
MOSFETcontrol
arduino
1//Controlling a DC fan with an N-channel MOSFET 2 3void setup() { 4 // put your setup code here, to run once: 5 pinMode(2, OUTPUT); 6 7} 8 9void loop() { 10 // put your main code here, to run repeatedly: 11 digitalWrite(2, HIGH); 12 delay(5000); 13 digitalWrite(2, LOW); 14 delay(5000); 15}
Downloadable files
circuit_schematic_LIpuLQMNZS.png
circuit_schematic_LIpuLQMNZS.png

Comments
Only logged in users can leave comments