info@maverickden.com
+91 9867381971 (India)

Arduino Fan

In this tutorial we will teach you how to operate fan  with Arduino UNO / Nano

COMPONENTS USED :

SR NO COMPONENT NAME QUANTITY
1 Arduino Board (Uno or Nano) 1
2 DC Motor 1
3 Plastic Fan 1

 

Schematic Diagram :

Source Code:

// the setup function runs once when you press reset or power the board

void setup() {

// initialize digital pin 13 as an output.

pinMode(12, OUTPUT);

}

 

// the loop function runs over and over again forever

void loop() {

digitalWrite(12, HIGH);

delay(1000);              // wait for a second

digitalWrite(12, LOW);

delay(1000);              // wait for a second

Video:

Comments are closed.