Arduino Transistor Tester

About: I am a arduino developer + all lot of prograaming language developer of age 10

Intro: Arduino Transistor Tester

now days you can get transistor tester which can also test other components like resistor,capacitor,inductor,etc.but why to spend some much if you want to know are your transistor are fine so in this instructable I will show you how to make a arduino transistor tester

Note:This works with only NPN Transistor

Step 1: Things Needed

Things required for the project are

  • Arduino (any type)
  • Resistor(1k)
  • Resistor(x2)(220)
  • Red LED
  • Green LED
  • Working Transistor(optional just for helping);

Step 2: Connect the Component on a Breadboard

  • connect gnd to negative rail of breadboard
  • connect collector of transistor to gnd
  • connect 1k resistor to base of resistor
  • connect other side of 1k resistor to pin 2
  • connect emitter of transistor to pin 3
  • connect green LED positive to 220 resistor
  • connect other leg of 220 resistor to pin 13
  • connect the green led negative to gnd
  • connect red led negative to 220 resistor
  • connect the other end of the 220 resistor to gnd
  • connect the red led positive to pin 13
  • done now to the code

Step 3: Code

Now Write the code. The code is in bold

void setup() {
pinMode(2,OUTPUT);

pinMode(3,INPUT_PULLUP);

pinMode(12,OUTPUT);

pinMode(13,OUTPUT);

Serial.begin(9600);

}

void loop() {

digitalWrite(2,HIGH); if(digitalRead(3)==LOW){

digitalWrite(13,HIGH);

digitalWrite(12,LOW);

Serial.println("Transistor is working");

delay(100);

}

else{

digitalWrite(13,LOW);

digitalWrite(12,HIGH);

Serial.println("No transistor or the transistor is broken");

delay(100);

}

}

Step 4: How to Know It Works

If you place a transistor(working one) then the green led should light up

if not then then red led should light

Step 5: Sucess

If you done it right then congrats you made now no more transistor tester

thanx for reading my instructable

Share

    Recommendations

    • Furniture Contest 2018

      Furniture Contest 2018
    • Audio Contest 2018

      Audio Contest 2018
    • Fix It! Contest

      Fix It! Contest

    Discussions

    0
    None
    DIY Hacks and How Tos

    5 months ago

    It would be really cool if you could make a tester that could measure the beta value of the transistor.