This project is a modified version of an existing Github Project that can be found here
The link above didn't work for me may be due to lots of wiring where a user is prone to make mistakes. In order to make it less cumbersome I have used an I2C module that will drastically reduce the number of wirings needed to get the things working. The parts required is listed below:
- Arduino UNO
- 16x2 LCD Display
Three 1K Ohms Resistors
- Dupont Wires
The Transistor Fundamentals can be found here
https://www.slideshare.net/Jay22baria/transistor-f... I wont go into much details. Also to get more theoretical details you can visit this original project link on how it works.
Remember that this project can be used to test NPN as well as PNP Transistors.
Step 1: Connecting the Units
First step is to Connect the Modules as shown in the diagrams.
Check the image on where the transistor is to be placed.
The arduino sketch is can be downloaded from here.
Remember to get the LCD address correctly for I2C to work. In this line of code
LiquidCrystal_I2C lcd(0x27,16,2); // set the LCD address to 0x27 for a 16 chars and 2 line display
You can get help following this link https://playground.arduino.cc/Main/I2cScanner.
Also to get the Liquidcrystal I2C library you can download it from here
For any other help you can comment below.