Silicon ChipTransistor tester - February 2025 SILICON CHIP
  1. Outer Front Cover
  2. Contents
  3. Publisher's Letter: Staying on Windows 10
  4. Feature: Open-Source Software by Dr David Maddison, VK3DSM
  5. Feature: Using electronic modules - Mini UPS Module by Jim Rowe
  6. Subscriptions
  7. Project: High-Bandwidth Differential Probe by Andrew Levido
  8. Feature: Antenna Analysis, Part 1 by Roderick Wall, VK3YC
  9. Project: Wireless flashing LEDs by Tim Blythman
  10. Project: Transistor tester by Tim Blythman
  11. Feature: The PicoMite 2 by Geoff Graham & Peter Mather
  12. Project: IR Remote Control Keyfob by Tim Blythman
  13. PartShop
  14. Feature: Precision Electronics, Part 4 by Andrew Levido
  15. Project: Programmable Frequency Divider by Nicholas Vinen
  16. Serviceman's Log: Another busman’s holiday by Dave Thompson
  17. PartShop
  18. Vintage Radio: TRF-One AM radio by Dr Hugo Holden
  19. PartShop
  20. Market Centre
  21. Advertising Index
  22. Notes & Errata: Maxwell’s Equations, November 2024; Watering System Controller, August 2023
  23. Outer Back Cover

This is only a preview of the February 2025 issue of Silicon Chip.

You can view 43 of the 104 pages in the full issue, including the advertisments.

For full access, purchase the issue for $10.00 or subscribe for access to the latest issues.

Items relevant to "High-Bandwidth Differential Probe":
  • High-Bandwidth Differential Probe PCB [9015-D or 9051-D] (AUD $5.00)
  • High-Bandwidth Differential Probe PCB pattern (PDF download) [9015-D] (Free)
  • High-Bandwidth Differential Probe panel artwork and drilling details (Free)
Articles in this series:
  • Antenna Analysis, Part 1 (February 2025)
  • Antenna Analysis, Part 1 (February 2025)
  • Antenna Analysis, Part 2 (March 2025)
  • Antenna Analysis, Part 2 (March 2025)
  • Antenna Analysis, Part 3 (April 2025)
  • Antenna Analysis, Part 3 (April 2025)
Items relevant to "Wireless flashing LEDs":
  • Software for JMP021 - Wireless LEDs (Free)
Articles in this series:
  • Wired Infrared Remote Extender (May 2024)
  • Symbol USB Keyboard (May 2024)
  • Wired Infrared Remote Extender (May 2024)
  • Thermal Fan Controller (May 2024)
  • Symbol USB Keyboard (May 2024)
  • Thermal Fan Controller (May 2024)
  • Self Toggling Relay (June 2024)
  • Self Toggling Relay (June 2024)
  • Arduino Clap Light (June 2024)
  • Arduino Clap Light (June 2024)
  • Lava Lamp Display (July 2024)
  • Digital Compass (July 2024)
  • Digital Compass (July 2024)
  • Lava Lamp Display (July 2024)
  • JMP009 - Stroboscope and Tachometer (August 2024)
  • JMP007 - Ultrasonic Garage Door Notifier (August 2024)
  • JMP009 - Stroboscope and Tachometer (August 2024)
  • JMP007 - Ultrasonic Garage Door Notifier (August 2024)
  • IR Helper (September 2024)
  • IR Helper (September 2024)
  • No-IC Colour Shifter (September 2024)
  • No-IC Colour Shifter (September 2024)
  • JMP012 - WiFi Relay Remote Control (October 2024)
  • JMP012 - WiFi Relay Remote Control (October 2024)
  • JMP015 - Analog Servo Gauge (October 2024)
  • JMP015 - Analog Servo Gauge (October 2024)
  • JMP013 - Digital spirit level (November 2024)
  • JMP013 - Digital spirit level (November 2024)
  • JMP014 - Analog pace clock & stopwatch (November 2024)
  • JMP014 - Analog pace clock & stopwatch (November 2024)
  • WiFi weather logger (December 2024)
  • Automatic night light (December 2024)
  • WiFi weather logger (December 2024)
  • Automatic night light (December 2024)
  • BIG LED clock (January 2025)
  • Gesture-controlled USB lamp (January 2025)
  • Gesture-controlled USB lamp (January 2025)
  • BIG LED clock (January 2025)
  • Transistor tester (February 2025)
  • Wireless flashing LEDs (February 2025)
  • Transistor tester (February 2025)
  • Wireless flashing LEDs (February 2025)
  • Continuity Tester (March 2025)
  • RF Remote Receiver (March 2025)
  • Continuity Tester (March 2025)
  • RF Remote Receiver (March 2025)
  • Discrete 555 timer (April 2025)
  • Weather monitor (April 2025)
  • Discrete 555 timer (April 2025)
  • Weather monitor (April 2025)
Items relevant to "Transistor tester":
  • Software for JMP020 - Transistor Tester (Free)
Articles in this series:
  • Wired Infrared Remote Extender (May 2024)
  • Symbol USB Keyboard (May 2024)
  • Wired Infrared Remote Extender (May 2024)
  • Thermal Fan Controller (May 2024)
  • Symbol USB Keyboard (May 2024)
  • Thermal Fan Controller (May 2024)
  • Self Toggling Relay (June 2024)
  • Self Toggling Relay (June 2024)
  • Arduino Clap Light (June 2024)
  • Arduino Clap Light (June 2024)
  • Lava Lamp Display (July 2024)
  • Digital Compass (July 2024)
  • Digital Compass (July 2024)
  • Lava Lamp Display (July 2024)
  • JMP009 - Stroboscope and Tachometer (August 2024)
  • JMP007 - Ultrasonic Garage Door Notifier (August 2024)
  • JMP009 - Stroboscope and Tachometer (August 2024)
  • JMP007 - Ultrasonic Garage Door Notifier (August 2024)
  • IR Helper (September 2024)
  • IR Helper (September 2024)
  • No-IC Colour Shifter (September 2024)
  • No-IC Colour Shifter (September 2024)
  • JMP012 - WiFi Relay Remote Control (October 2024)
  • JMP012 - WiFi Relay Remote Control (October 2024)
  • JMP015 - Analog Servo Gauge (October 2024)
  • JMP015 - Analog Servo Gauge (October 2024)
  • JMP013 - Digital spirit level (November 2024)
  • JMP013 - Digital spirit level (November 2024)
  • JMP014 - Analog pace clock & stopwatch (November 2024)
  • JMP014 - Analog pace clock & stopwatch (November 2024)
  • WiFi weather logger (December 2024)
  • Automatic night light (December 2024)
  • WiFi weather logger (December 2024)
  • Automatic night light (December 2024)
  • BIG LED clock (January 2025)
  • Gesture-controlled USB lamp (January 2025)
  • Gesture-controlled USB lamp (January 2025)
  • BIG LED clock (January 2025)
  • Transistor tester (February 2025)
  • Wireless flashing LEDs (February 2025)
  • Transistor tester (February 2025)
  • Wireless flashing LEDs (February 2025)
  • Continuity Tester (March 2025)
  • RF Remote Receiver (March 2025)
  • Continuity Tester (March 2025)
  • RF Remote Receiver (March 2025)
  • Discrete 555 timer (April 2025)
  • Weather monitor (April 2025)
  • Discrete 555 timer (April 2025)
  • Weather monitor (April 2025)
Items relevant to "The PicoMite 2":
  • PicoMite 2 firmware (Software, Free)
Articles in this series:
  • The Raspberry Pi-based PicoMite (January 2022)
  • The Raspberry Pi-based PicoMite (January 2022)
  • VGA PicoMite (July 2022)
  • VGA PicoMite (July 2022)
  • The PicoMite 2 (February 2025)
  • The PicoMite 2 (February 2025)
Items relevant to "IR Remote Control Keyfob":
  • RFID Programmable IR Fob Remote PCB [15109231] (AUD $2.50)
  • PIC16F15224-I/SL programmed for the RFID Programmable IR Fob Remote [1510923A.HEX] (Programmed Microcontroller, AUD $10.00)
  • RFID Programmable IR Fob Remote complete kit (Component, AUD $25.00)
  • IR$ Remote Control Keyfob firmware [1510923A.HEX] (Software, Free)
  • RFID Programmable IR Fob Remote PCB pattern (PDF download) [15109231] (Free)
  • Sticker artwork for the RFID Programmable IR Fob Remote PCB (Panel Artwork, Free)
Articles in this series:
  • Precision Electronics, Part 1 (November 2024)
  • Precision Electronics, Part 1 (November 2024)
  • Precision Electronics, Part 2 (December 2024)
  • Precision Electronics, Part 2 (December 2024)
  • Precision Electronics, Part 3 (January 2025)
  • Precision Electronics, part one (January 2025)
  • Precision Electronics, part one (January 2025)
  • Precision Electronics, Part 3 (January 2025)
  • Precision Electronics, part two (February 2025)
  • Precision Electronics, Part 4 (February 2025)
  • Precision Electronics, Part 4 (February 2025)
  • Precision Electronics, part two (February 2025)
  • Precision Electronics, part three (March 2025)
  • Precision Electronics, part three (March 2025)
  • Precision Electronics, Part 5 (March 2025)
  • Precision Electronics, Part 5 (March 2025)
  • Precision Electronics, Part 6 (April 2025)
  • Precision Electronics, Part 6 (April 2025)
  • Precision Electronics, part four (April 2025)
  • Precision Electronics, part four (April 2025)
  • Precision Electronics, part five (May 2025)
  • Precision Electronics, Part 7: ADCs (May 2025)
  • Precision Electronics, part five (May 2025)
  • Precision Electronics, Part 7: ADCs (May 2025)
  • Precision Electronics, part six (June 2025)
  • Precision Electronics, part six (June 2025)
Items relevant to "Programmable Frequency Divider":
  • Programmable Frequency Divider/Counter PCB [04108241] (AUD $5.00)
  • PIC16F1455-I/SL programmed for the Programmable Frequency Divider [0410824A.HEX] (Programmed Microcontroller, AUD $10.00)
  • Programmable Frequency Divider kit (Component, AUD $60.00)
  • Software for the Programmable Frequency Divider (04108241A.HEX) (Free)
  • Programmable Frequency Divider/Counter PCB pattern (PDF download) [04108241] (Free)
Items relevant to "TRF-One AM radio":
  • TRF-One PCB pattern (PDF download) (Free)

Purchase a printed copy of this issue for $13.00.

Mini Projects #020 – by Tim Blythman SILICON CHIP Transistor Tester This Transistor Tester is a handy tool; despite the name, it can test much more than just transistors! It can check the type and pinout of bipolar transistors and measure their gain, as well as examining Mosfets, diodes and LEDs to provide information like the pinout and forward voltage. T he best feature of this Tester is that it can help you work out the pinouts of unknown devices. However, it also gives you important parameters like the DC gain (β or hfe) of bipolar transistors or the threshold voltage (Vgs(th)) of Mosfets. The Transistor Tester can detect and measure: • Bipolar transistors: pinout, polarity and β (gain). • Logic-level Mosfets: pinout, polarity and gate-source threshold voltage. • Single/dual LEDs and diodes: pinout/polarity and forward voltage. For LEDs, it will light them up so you can see what colour they are and how bright they are. It’s great for dual LEDs too, allowing you to test each element separately and see how it is connected. The Tester has a 16×2 character LCD screen on a ‘shield’ that also includes six tactile pushbuttons, making it easy for us to display information and accept user input. Fig.1 shows the circuit; note the connections around the six resistors and the test header. The test header is a three-way socket or similar so it can be used to connect a three-lead device such as a transistor. Two-lead devices can plug into any two of the three locations. The Arduino Leonardo microcontroller module connects to the LCD shield through fixed headers; the LCD shield’s pinout dictated most of the remaining pin choices we have made. Fig.2 shows a possible configuration when testing of a typical NPN transistor such as a BC548. Pin D3 is taken high, effectively connecting it to 5V and supplying the base of the transistor via a 10kW resistor. Next, pin D0 is taken low, connecting the emitter to circuit ground via 1kW. Finally, pin A2 is taken high, directly connecting the collector to 5V. We can then measure the voltage at the A3 and A4 analog inputs using the Leonardo’s 10-bit ADC (analogto-­digital converter) peripheral. With those voltages, we can establish that the base sits around 0.7V above the emitter and that the current through the 1kW resistor (and thus emitter) is much greater than the current through the 10kW resistor and transistor base. From that information, we can determine that the connected device is an NPN transistor with the pinout as noted. We can also calculate its DC gain from the ratio of the emitter and The Transistor Tester is primarily built from these three modules: an Arduino Leonardo, prototyping shield and LCD shield; the finished project is shown in the lead photo. The LCD shows information about the device connected to the Transistor Tester, while the buttons run detailed tests for further information. The three-way header on the LCD shield is where a component can be connected for testing. siliconchip.com.au Australia's electronics magazine February 2025  55 Table 1 – test information Component Initial test Button Specific test procedure Bipolar transistor Check for two PN junctions (baseemitter and basecollector) LEFT Check polarity and β in different configurations and confirm pinout based on higher β value. Mosfet Check for one PN junction (body diode) RIGHT Check which polarity switches on Mosfet and confirm threshold voltage and polarity. Diode Check for one PN junction UP Measure forward voltage, display test current and confirm pinout. Single LED Check for junction with Vf higher than a silicon diode UP Light up LED, measure forward voltage, display test current and confirm pinout. Dual LED Check for two junctions with Vf higher than a silicon diode UP and DOWN Light up LED, measure forward voltage, display test current and confirm pinout. UP measures one junction, DOWN measures the other. Fig.1: it’s a simple circuit, but quite powerful when combined with the digital and analog peripherals of a microcontroller. Fig.2: when testing an NPN transistor, this circuit is formed by setting various pins to a high or low level, or high-impedance (those pins are not shown). It can measure the voltages to determine the current through the resistors and thus different component leads. 56 Silicon Chip Australia's electronics magazine base currents. This is just one set of connections that the Tester can make. The Arduino can set any pin to be an input, meaning it is in a high-­ impedance state; that means that it is effectively disconnected from the circuit. So we can probe individual pairs of pins in isolation, which we do to work out the potential location of PN junctions, as found in diodes or transistors. We don’t have space to describe all the internal operations in detail, but the Tester starts by probing pairs of pins to suggest what devices might be connected based on the PN junctions present. The initial tests use only the 10kW resistors, so minimal currents are applied to connected devices. The user can then press one of the buttons to run a specific test to further characterise a connected device such as a transistor, diode or LED. Table 1 has some more details on the initial and detailed tests and the buttons used to perform them. For example, potential LEDs and diodes are checked by measuring the voltage between two pins while ignoring the third. If the voltage is between 200mV and 750mV, it could be a silicon or schottky diode. If the voltage is higher (but less than 5V), it’s likely a light-emitting diode (LED). Multiple LEDs are found by scanning the various pin combinations. Thus, common-anode, common-cathode and dual (back-to-back) LEDs can be identified and their pinouts confirmed. A Mosfet is initially detected as a single diode, which is the body diode between the source and drain. Assuming that the other pin is the gate, it is then just a matter of checking whether it is a P-channel or N-channel Mosfet by driving the gate high or low to see if the Mosfet switches on. Note that this only works for Mosfets with threshold voltages comfortably under 5V. Non-logic-level Mosfets usually have a threshold around 4V and are switched on fairly hard by 4.5V, so while it’s possible or even likely they would be detected correctly, it isn’t guaranteed. A resistor might be identified as a back-to-back LED, since it will conduct in both directions. A resistance reading is also provided for this reason. Construction In addition to the LCD shield, we used a prototyping shield to simplify siliconchip.com.au Parts List – Transistor Tester (JMP020) 1 Arduino Leonardo [Jaycar XC4430] 1 Arduino prototyping shield [Jaycar XC4482] 1 alphanumeric character shield [Jaycar XC4454] 3 10kW axial ¼W or ½W resistors [Jaycar RR0596] 3 1kW axial ¼W or ½W resistors [Jaycar RR0572] 1 3-way female header [cut from Jaycar HM3230] 1 micro-USB cable to suit Leonardo [Jaycar WC7724] construction, as it looks much neater and is easier to follow. Check Fig.3 before soldering the resistors in place to match. We used a short section of socket header soldered to the LCD shield to allow components to be plugged in for testing. You might consider clip leads or some flying leads to a breadboard as an alternative. Plug the three shields together once all the components are fitted. You must use a Leonardo for this; an Arduino Uno or Mega won’t work because both those boards use the D0 and D1 pins for serial communications. Software You’ll need the Arduino IDE to load the software. The LiquidCrystal library might need to be installed; this can be done from the Library Manager. We used version 1.0.7. The sketch folder includes the lcdkeys.h file for interacting with the buttons on the LCD shield. Choose the Leonardo board and its serial port and upload the sketch. You should see a splash screen like Screen 1, after which the display should indicate that nothing is detected (Screen 2). If something is detected, you might have a wiring error! Operation The Tester tries to be as smart as possible while still allowing the user to select what tests to run by pressing suggested buttons. The pinout is displayed from left-to-right, matching the order on the test socket. Try not to touch the leads while the test is happening. Fingers can pass enough voltage to switch on the gate of a Mosfet, which would alter the results. We tried out the Tester on numerous common devices, but we can’t predict what it might display for unusual ones. Screens 3–8 show the results of connecting different devices to the test header, followed by pressing the suggested button. Screens 3 and 4 show a 2N7000 N-channel Mosfet being tested. The RIGHT button gives the report shown in Screen 4. Screens 5 and 6 are the readings for a BC558 PNP transistor, with a press of the LEFT button resulting in Screen 6. Such a transistor can still work (albeit poorly) even if the collector and emitter are reversed, so we pick the arrangement with the highest β value; the reverse value is shown on the bottom line for comparison. A yellow LED shows Screen 7, then Screen 8 when UP is pressed. You’ll also see the LED light up while the UP button is held, with brief flashes off as other scans run. The current display on the bottom line alternates with a calculated resistance value, which will be useful if a resistor is connected. If you have a dual LED of any sort, the DOWN button can be used to scan the second LED in the package. Conclusion The Tester is easy to build and easy to use. It can help identify parts and determine their pinouts. You could even use it to sort and match transisSC tors and LEDs for projects. Screens 1 & 2: the splash screen and idle screen are seen here. If you don’t see the idle screen (Screen 2) when nothing is connected, there may be a wiring problem. Screens 3 & 4: a Mosfet’s body diode is detected although the Tester cannot immediately determine which type it is. Running different tests with the UP or RIGHT buttons can narrow down the choices. Screens 5 & 6: the text at lower right in Screen 5 indicates the relative location of the PN junctions in the part. In this case, they happen to match the connected PNP transistor. Screen 6 shows the device’s pinout at lower right. Fig.3: this shows how we soldered the resistors to the prototyping shield. The circuit we have used lends itself to a tidy protoboard layout. siliconchip.com.au Screens 7 & 8: if a dual LED is connected, Screen 7 will show the type (common cathode, common anode, etc) and the respective pins. Use UP and DOWN to probe the individual LED devices. Australia's electronics magazine February 2025  57