SBRDIYables
Published © GPL3+

Switching Using Transistor

This project illustrates switching using a transistor.

BeginnerProtip83,521
Switching Using Transistor

Things used in this project

Story

Read more

Schematics

Schematic Diagram

Breadboard Diagram

Make connections as shown in the figure

Code

Switching using Transistor

Arduino
const int transistor = 2;

void setup()
{
  pinMode (transistor, OUTPUT);
}

void loop()
{
  digitalWrite (transistor, HIGH);
  delay(1000);
  digitalWrite (transistor, LOW);
  delay(1000);
}

Credits

SBR
37 projects • 52 followers
Mechanical Engineer
Contact
DIYables
0 projects • 88 followers
I would like to invite you to join and add your projects to DIYables platform https://www.hackster.io/diyables
Contact

Comments

Please log in or sign up to comment.