AnbumachiECE VNR
Published © GPL3+

Simple NPN Transistor switch control with cooling fan

This very simple arduino control transistor switch for controlling cooling fan.

BeginnerShowcase (no instructions)18,768
Simple NPN Transistor switch control with cooling fan

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
×1
General Purpose Transistor NPN
General Purpose Transistor NPN
×1
Grove - Mini Fan v1.1
Seeed Studio Grove - Mini Fan v1.1
×1

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Materia 101
Arduino Materia 101

Story

Read more

Custom parts and enclosures

arduino

Schematics

The simple Circuit Diagram

Code

The Arduino Switching code

C/C++
int Fan = 7;

int BAUD = 9600;
void setup() {
  // put your setup code here, to run once:
pinMode(Fan, OUTPUT);

Serial.begin(9600);
delay(1000);
Serial.println("START");
}

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

Credits

Anbumachi

Anbumachi

1 project • 3 followers
ECE VNR

ECE VNR

0 projects • 0 followers

Comments