Welcome to Hackster!
Hackster is a community dedicated to learning hardware, from beginner to pro. Join us, it's free!
KRIVANJADIYables
Published © GPL3+

Switching Using Transistor

This project illustrates switching using a transistor.

BeginnerProtip83,493
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

KRIVANJA
37 projects • 52 followers
www.krivanja.dev
Contact
DIYables
0 projects • 87 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.