AnbumachiECE VNR
Published © GPL3+

Simple NPN Transistor switch control with cooling fan

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

EasyShowcase (no instructions)22
Simple NPN Transistor switch control with cooling fan

Things used in this project

Hardware components

Arduino UNO & Genuino UNO
Arduino UNO & Genuino UNO
×1
General Purpose Transistor NPN
General Purpose Transistor NPN
×1
Grove - Mini Fan v1.1
Seeed 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

Dsc 0280 qgpuj4c7cu

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 • 1 follower
Contact
ECE VNR

ECE VNR

0 projects • 0 followers
Contact

Comments

Add projectSign up / Login