KRIVANJADIYables
Published © GPL3+

Switching Using Transistor

This project illustrates switching using a transistor.

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

KRIVANJA

37 projects • 52 followers
www.krivanja.dev
DIYables

DIYables

0 projects • 57 followers
I would like to invite you to join and add your projects to DIYables platform https://www.hackster.io/diyables

Comments