When engineers and makers search for a photonic transistor, they are almost always looking for a high-gain phototransistor or an integrated optical receiver. While pure all-optical "photonic" transistors exist in university photonics labs, on the workbench, the safe default part for optical switching is the Vishay TEKT5400S (for raw IR detection up to 100kHz) or the Broadcom HCPL-0601 (for digital logic isolation up to 10Mbps). This guide covers the practical pinouts, biasing networks, and exact component values you need to design reliable optical detection circuits without a second trip to the parts bin.
What Is a Photonic Transistor? (Terminology and Reality)
In strict academic physics, a photonic transistor uses light to control light via non-linear optical materials, completely bypassing electrons. You cannot buy these at DigiKey. In practical electronics and DIY applications, the term is used interchangeably with phototransistors and logic-output optical receivers. These are semiconductor devices where incident photons generate electron-hole pairs in the base-collector junction, acting as base current to control a much larger collector-emitter current.
A standard phototransistor is essentially an NPN bipolar junction transistor (BJT) with a transparent window or lens. It provides higher sensitivity than a simple photodiode due to internal current gain (hFE), but trades off some switching speed due to the Miller effect and base capacitance. If you need raw analog light measurement or moderate-speed IR pulse detection, a discrete phototransistor is the right tool. If you need to isolate a 3.3V microcontroller from a noisy 24V industrial PLC, you want an integrated optical receiver.
Pinout, Symbol, and Biasing Basics
The schematic symbol for a phototransistor is a standard NPN BJT, but the base connection is either omitted or augmented with two inward-pointing arrows representing incident light. Physically, they come in two common packages:
- 2-Pin (Collector, Emitter): The base is entirely optical. Common in T-1 3/4 (5mm) through-hole packages.
- 3-Pin (Emitter, Base, Collector): Includes a physical base lead. This allows you to electrically bias the device, add a base-to-emitter resistor to shunt dark current, or use it as a standard BJT for bench testing.
Biasing for the Active Region: To operate the device as a linear sensor, you must reverse-bias the collector-base junction and forward-bias the base-emitter junction. In practice, you apply a positive voltage to the Collector (via a pull-up resistor) and tie the Emitter to ground. The incident light provides the forward base drive. As light intensity increases, the collector current increases linearly until the device hits saturation.
Operation Regions and Spec-Sheet Table
Understanding the operating regions is critical for deciding whether your circuit will act as a proportional light meter or a digital on/off switch. The values below reflect a typical 5mm NPN silicon phototransistor (like the TEKT5400S) at 25°C ambient.
| Operation Region | V_CE (Typical) | I_C (Typical) | Base Drive (Light) | Primary Application |
|---|---|---|---|---|
| Cutoff (Dark) | V_CC (Max) | < 100 nA (Dark Current) | None / Shielded | Optical interrupter (OFF state) |
| Active (Linear) | 0.5V to 4.5V | 0.1 mA to 5 mA | Proportional to Irradiance | Ambient light sensing, analog position |
| Saturation (Switching) | < 0.4V (V_CE(sat)) | Limited by external resistor | High Irradiance (Overdriven) | Digital pulse detection, optocouplers |
When designing a digital switch, you intentionally overdrive the base with excess light to force the transistor deep into saturation, ensuring V_CE drops below 0.4V for a solid logic LOW. For linear sensing, you restrict the light or use a smaller pull-up resistor to keep V_CE in the middle of the supply rail.
Application Circuit: 5V IR Pulse Detection
This circuit uses a Vishay TEKT5400S to detect high-speed IR pulses from a remote control or an optical encoder wheel. It is configured as a common-emitter switch with a pull-up resistor, providing an inverted logic output (Light = LOW, Dark = HIGH).
Component List and Values
- Q1: Vishay TEKT5400S (NPN Phototransistor, 3-pin)
- R1 (Pull-up): 1kΩ, 1/4W, 1% tolerance
- R2 (Dark Current Shunt): 100kΩ, 1/4W (Connected from Base to Emitter)
- C1 (Decoupling): 100nF (0.1µF) ceramic capacitor across VCC and GND
- VCC: 5.0V DC regulated supply
Wiring Steps
- Connect the Collector (Pin 3) of Q1 to VCC (5V) through the 1kΩ pull-up resistor (R1).
- Connect the Emitter (Pin 1) of Q1 directly to circuit GND.
- Connect the Base (Pin 2) of Q1 to the Emitter (GND) through the 100kΩ shunt resistor (R2). This bleeds off thermally generated leakage current that could cause false triggers at temperatures above 40°C.
- Place the 100nF bypass capacitor (C1) as close to the VCC/GND rails as possible to filter high-frequency noise.
- Route your Output signal from the junction of the Collector and R1 to your microcontroller GPIO (ensure the GPIO is 5V tolerant, or use a voltage divider if feeding a 3.3V ESP32).
Circuit Math: When fully illuminated, Q1 saturates and V_CE drops to ~0.2V. The collector current is I_C = (5V - 0.2V) / 1000Ω = 4.8mA. The TEKT5400S is rated for 50mA continuous, so 4.8mA keeps the junction well within the Safe Operating Area (SOA), preventing thermal drift while providing a fast rise/fall time (typically 15µs).
Failure Modes and Multimeter Testing
Phototransistors rarely fail catastrophically unless subjected to overvoltage or extreme heat. The most common failure modes are epoxy micro-cracking (which allows moisture ingress, causing massive dark current leakage) and lens yellowing from UV exposure, which shifts the spectral sensitivity.
You can verify a suspect phototransistor on the bench using a standard digital multimeter (DMM). Follow these numbered steps:
- Test the PN Junction: Set your DMM to Diode Test mode. Place the red probe on the Base pin and the black probe on the Emitter pin. You should read a forward voltage drop between 0.5V and 0.7V. Swap the probes; it should read OL (Open Line).
- Test Dark Resistance: Set the DMM to the highest Resistance range (usually 20MΩ). Cover the transistor lens completely with black electrical tape or your thumb. Measure across the Collector and Emitter. It must read OL. If it reads a fixed low resistance in the dark, the junction is shorted or moisture has compromised the package.
- Test Optical Gain: Keep the DMM in Resistance mode across Collector and Emitter. Shine a bright white flashlight or an IR TV remote directly at the lens. The resistance should immediately drop below 5kΩ. If it stays OL, the device is dead or you are using an IR-only sensor with a visible-light flashlight.
Decision Tree: Selecting the Right Part Number
Do not guess your optical component. Use this decision matrix to select the exact part number for your specific application constraints. These are the safe, in-production defaults available from major distributors like Mouser and DigiKey.
| If Your Application Requires... | Then Choose This Architecture | Concrete Default Part Number | Key Ratings to Verify |
|---|---|---|---|
| High-speed IR data or pulse counting (up to 100kHz) | Discrete NPN Phototransistor | Vishay TEKT5400S | V_CEO = 70V, I_C = 50mA, Peak λ = 900nm |
| Visible ambient light sensing (lux measurement) | NPN Phototransistor (Visible spectrum) | Lite-On LTR-32086 | V_CEO = 30V, Peak λ = 500nm (matches human eye) |
| Digital logic isolation (up to 10Mbps, 5V to 24V) | Logic-Output Optical Receiver | Broadcom HCPL-0601 | V_ISO = 3750Vrms, V_CC = 4.5-5.5V, Open-Collector |
| Mains voltage isolation (AC switching feedback) | Standard Optocoupler (Phototransistor output) | onsemi FOD817 | V_ISO = 5000Vrms, CTR = 50-600% |
When building optical interfaces, the physical alignment and ambient light rejection are just as critical as the electrical biasing. Always pair your phototransistor with an optical filter (like a piece of dark red acrylic for IR sensors) and use a physical shroud to block off-axis ambient light. If you are designing for a noisy industrial environment, skip the discrete phototransistor entirely and use the HCPL-0601; its integrated Schmitt trigger and LED driver will save you hours of debugging phantom triggers caused by fluorescent lighting flicker. For general-purpose bench prototyping and IR remote decoding, the TEKT5400S remains the undisputed, cost-effective workhorse.






