• Stars
    star
    116
  • Rank 303,894 (Top 6 %)
  • Language
    C
  • License
    Other
  • Created over 4 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Small version of the famous component tester from mikrocontroller.net

Transistor Tester based on ATmega328P

The ATmega328P Transitor Tester is a pocket-sized version of the famous component tester developed by Markus Frejek and Karl-Heinz Kübbeler featuring automatic detection of NPN and PNP bipolar transistors, N- and P-channel MOSFETs, JFETs, diodes, double diodes, N- and P-IGBTs, thyristors, triacs, inductors, resistors and capacitors.

TransistorTester_pic1.jpg

Compiling and Installing Firmware

You can either compile the firmware yourself (folder: /software/sources), or you can upload the precompiled binary (folder: /software/binaries). Current versions of the firmware can be downloaded from the Github page of the original project.

Compiling Firmware (Linux/Mac)

  • Make sure you have installed avr-gcc toolchain and avrdude.
  • Open the makefile in the folder /software/sources/make and change the setting (e.g. language) if you want.
  • Open a terminal.
  • Navigate to the folder with the makefile.
  • Run "make". Among others, the hex and eep files are generated, which can then be uploaded into the ATmega.

Uploading Firmware

  • Make sure you have installed avrdude.
  • Connect your programmer to your PC and to the ICSP header of the device.
  • Open a terminal.
  • Navigate to the folder with the hex and eep files.
  • Execute the following commands (if necessary replace "usbasp" with the programmer you use):
    avrdude -c usbasp -p m328p -U lfuse:w:0xff:m -U hfuse:w:0xdb:m -U efuse:w:0xfd:m
    avrdude -c usbasp -p m328p -U flash:w:TransistorTester.hex
    avrdude -c usbasp -p m328p -U eeprom:w:TransistorTester.eep
    

Operating Instructions

Precautions

It should be noted that the test inputs do not have a protective circuit. A protective circuit would probably also falsify the measurement results. Always discharge the capacitors before connecting them to the tester! The tester can be damaged before you turn it on. Particular care should be taken when attempting to test components mounted on a circuit. In any case, the device should be disconnected from the power supply and you should be sure that there is no residual voltage.

Testing a Component

  1. Connect the Transistor Tester via the Micro-USB port to a 5V power supply.
  2. Plug the component to be tested into the socket row. Each pin of the component should have its unique socket number (1 to 3).
  3. Press the TEST button and wait for the result shown on the OLED display.

Characteristics

Component Measuring Range
Resistors 100mΩ – 50MΩ
Capacitors 35pF – 100mF
Inductors 10µH – 20H
Z-Diodes max 4.5V
  • One-key-operation.
  • Three test pins for universal use.
  • Automated detection of NPN, PNP, N- and P-channel MOSFET, JFET, diodes und small thyristors, TRIAC.
  • Automated detection of pin assignment, this means the device-under-test can be connected to the tester in any order.
  • Measurement of hFE and base-emitter-voltage for bipolar junction transistors, also for Darlingtons.
  • Automated detection of protection diodes in bipolar junction transistors and MOSFETs.
  • Bipolar junction transistors are detected as a transistor with a parasitic transistor (NPNp = NPN + parasitic PNP).
  • Up to two resistors will be measured with a resolution down to 0.1Ω. The measurement range is up to 50 MΩ. Resistors below 10Ω will be measured with the ESR approach and a resolution of 0.01Ω. Beware: resolution is not accuracy!
  • Capacitors in the range 35pF to 100mF can be measured with a resolution down to 1pF (0.01pF for capacitors with lower capacity than 100pF).
  • Resistors and capacitors will be displayed with their respective symbol, pin number and value.
  • Up to two diodes will also be displayed with their correctly aligned symbol, pin number and voltage drop.
  • If it's a single diode, the parasitic capacitance and reverse current will also be measured.
  • Inductances of 10µH to 20H can be detected and measured.
  • A measurement of ESR (Equivalent Series Resistance) of capacitors greater than 20nF is built in. The resolution is 0.01Ω. For lower capacity values the accuracy of ESR result becomes worse.
  • Vloss of capacitors greater 5nF is examined. With this it is possible to estimate its Q-factor.

References, Links and Notes

  1. Original Project Description
  2. Original Documentation
  3. Original Firmware
  4. 128x64 OLED on Aliexpress
  5. MicroUSB Connector on Aliexpress

TransistorTester_pic2.jpg TransistorTester_pic3.jpg

More Repositories

1

ATmega-Soldering-Station

T12 Quick Heating Soldering Station
C++
915
star
2

Power-Boards

Collection of DC/DC Converters, Battery Chargers and Power Supplies
381
star
3

CH32V003-GameConsole

Handheld RISC-V Mini Game Console with OLED Display
C
214
star
4

C64-Collection

Collection of cartridges, adapters and replacements for the Commodore C64
C
162
star
5

ATtiny13-TinyUPS

Uninterruptible Power Supply
C++
142
star
6

CH552-USB-Knob

Rotary Encoder with NeoPixels and USB Interface
C
142
star
7

AVR-Programmer

Collection of AVR Programmers and Accessories
C
136
star
8

Development-Boards

Collection of various development boards for microcontrollers (e.g., CH55x, CH32, PY32, STC8, STM32) and accompanying example software.
C
133
star
9

ATtiny412-PocketRadio

Small FM Radio with RDS and OLED
Python
127
star
10

ATtiny13-TinyOLEDdemo

I²C OLED on an ATtiny10/13/202
C++
98
star
11

CH32X035-USB-PD-Tester

USB Power Delivery Testing Device and Variable Power Supply
C
97
star
12

ATtiny13-TinySolder

T12 Quick Heating Soldering Station
C++
75
star
13

ATtiny13-TinyRemote

IR Remote Control
C++
68
star
14

ATtiny85-TinyFMRadio

FM Radio with RDS
C++
64
star
15

ATtiny85-TinyTerminal

USB controlled OLED Display
C++
61
star
16

ATtiny814-USB-PD-Adapter

USB Type-C Power Delivery Trigger and Monitoring Board
C
57
star
17

ATtiny85-TinyCharger

Single-Cell Li-Ion Battery Charger with Monitoring
C++
57
star
18

CH32V003-FM-Transmitter

Portable Digital Stereo FM Radio Transmitter
C
54
star
19

CH552-USB-OLED

USB controlled I²C OLED
C
54
star
20

ATtiny13-TinyTacho

Simple RPM-Meter
C++
52
star
21

ATtiny84-TinyCalibrator

OSC Calibrator and High-Voltage Fuse Resetter for 8-Pin ATtinys
C++
52
star
22

ATtiny412-USB-Power-Isolator

2.5kV Isolator for the USB Power Rail
C
50
star
23

MCU-Templates

Templates for bare-metal firmware development for some entry-level microcontrollers
C
50
star
24

ATtiny85-USB-Tester

Simple USB Power Tester
C++
49
star
25

ADuM3160-USB-Isolator

2.5kV USB 2.0 Isolator with 200mA Power Supply and Full Speed (12Mbps) Support
48
star
26

ATtiny814-Power-Analyzer

Power Supply Analyzer with USB Interface
Python
48
star
27

MCU-Flash-Tools

Simple ISP Flash Tools for various Microcontrollers
Python
46
star
28

CH552-MacroPad-plus

Programmable MacroPad with Rotary Encoder and NeoPixels
C
45
star
29

ATtiny85-TinyLoad

Electronic Dummy Load
C++
44
star
30

CH32V003-FM-Receiver

Portable Digital FM Radio Receiver with RDS
C
43
star
31

ATtiny13-TinyRemoteXL

12-Button IR Remote Control
C++
42
star
32

ATtiny13-TinyPocketRadio

FM Stereo Radio with Headphone Plug
C++
41
star
33

ATtiny13-TinyProbe

Simple Logic Probe
C++
39
star
34

ATtiny85-TinyKnob

Rotary Encoder with USB Interface
Assembly
38
star
35

ATtiny13-TinyDecoder

IR Remote Receiver and Decoder
C++
37
star
36

ATmega-EEPROM-Programmer

Parallel EEPROM Programmer for 28C64B and 28C256
C++
37
star
37

ATtiny85-USB-C-Tester

Simple USB-C Power Delivery Tester
C++
34
star
38

AVR-Development-Boards

Collection of AVR Development Boards
C
32
star
39

ATtiny412-I2C-Rotary-Encoder

Rotary Encoder with I²C Interface
C
32
star
40

ATtiny85-TinyDFPlayer

MP3-Player
C++
31
star
41

VUSB-AVR

V-USB Board Definition Package for Arduino IDE
C
30
star
42

ATtiny85-IR2USB

IR Remote to USB HID Converter
C++
28
star
43

ATtiny13-TinyRemoteRF

RF Remote Control
C++
28
star
44

ATtiny84-TinyHVSP

High-Voltage Serial Programmer and Fuse Resetter
C++
27
star
45

SAMD-Development-Boards

Collection of SAMD Development Boards, Programmers, Tools and Firmware
C
26
star
46

CH552-MouseWiggler

Simple Board that can be used as a Mouse Jiggler, a Rubber Ducky or a Caps Blocker
C
25
star
47

CH552-USB-NRF

USB controlled nRF24L01+ 2.4GHz Transceiver
C
25
star
48

ATtiny13-VolumeAdjuster

Automatic Volume Adjuster for TVs and Sound Systems
C++
23
star
49

CH32X035-USB-PD-Adapter

Portable Programmable Power Supply
C
23
star
50

ATtiny13-ContinuityTester

Simple Continuity Tester
C++
21
star
51

ATtiny13-TinyTouchLight

Dimmable USB Night Light with Capacitive Touch Control
C++
20
star
52

ATtiny412-BatteryCapacityTester

Single-Cell Li-Ion, LiPo and LiFePO4 Battery Capacity Tester
Python
20
star
53

CH552-DAPLink

CMSIS-DAP compliant debugging probe with SWD, JTAG, and VCP support
C
20
star
54

ATtiny85-PhoneChargeGuard

USB Phone Charge Guard
C++
19
star
55

ATtiny412-VoiceChanger

Change the Pitch of your Voice
Python
19
star
56

ATtiny13-NeoController

Control almost any number of NeoPixels with an IR Remote
C++
18
star
57

ATtiny814-USB-RTC

Real-Time Clock USB-Stick
C
18
star
58

ATtiny412-USB-PD-Inverter

Turn your USB PD Power Adapter into an AC Power Source
C
17
star
59

CH552-Macropad-mini

Programmable Macropad with NeoPixels
C
16
star
60

ATtiny13-TinyMoisture

Soil Moisture Monitor
C++
15
star
61

CH32V003-USB-Joystick

Simple Joystick with USB Interface
C
14
star
62

CH552-picoDAP

CMSIS-DAP compliant SWD Programmer
C
14
star
63

ATtiny13-TinyBling

It just does bling bling ...
C++
14
star
64

ATtiny814-NRF2USB

USB Serial Controlled 2.4GHz Transceiver
C
13
star
65

ATtiny85-TinyCandle

Tea Light Candle Simulation
C++
13
star
66

ATtiny13-TinyNightLight

Night Light with NeoPixels and Rotary Encoder
C++
12
star
67

ATtiny84-TinyICOC

In-Circuit Oscillator Calibrator for AVR Microcontrollers
C++
11
star
68

CH32X033-USB-Knob

Rotary Encoder with NeoPixels and USB Interface
C
11
star
69

ATtiny13-TinyCandle

Simple Candle Simulation
C++
10
star
70

ATtiny13-TinyPlayer

IR Remote Controlled MP3 Player
C++
10
star
71

ATtiny13-TinyDice

Tiny Electronic Dice
C++
9
star
72

ATtiny814-AquaTimer

Programmable Timer for Aquariums
Python
8
star
73

CH32V003-IR-Remote

Simple 5-Button IR Remote Control
C
8
star
74

CH32V003-USB-Knob

Rotary Encoder with USB Interface
C
6
star
75

ATtiny13-TinySat

Solar Powered Blinken Lights
C++
6
star
76

ATtiny412-HamsterTracker

Simple Fitness Monitoring Device for your Pet Hamster
Python
6
star
77

ATtiny13-TinySonar

Ultrasonic Range Finder
C++
6
star
78

ATtiny85-RocketLamp

Dual Core ATtiny85 Board
C++
6
star
79

CH32X033-USB-NRF

USB controlled nRF24L01+ 2.4GHz Transceiver
C
6
star
80

CH32V003-NeoPixel-Pendant

It just does bling bling ...
C
5
star
81

CH32V003-Mouse-Wiggler

Simple USB Plug that can be used as a Mouse Jiggler, a Rubber Ducky, or a Caps Blocker
C
5
star
82

CH32V003-I2C-Knob

Rotary Encoder with I2C Interface
C
4
star
83

CH32V003-USB-IR-Receiver

IR Remote Control to USB HID Converter
C
4
star
84

CH32V003-MacroPad-plus

Programmable MacroPad with Rotary Encoder and NeoPixels
C
4
star
85

TinyRDA

RDA5807 FM radio library using TinyI2C
C++
3
star