If you are asking what is phototransistor technology and how it differs from a standard light sensor, the direct answer is this: a phototransistor is a light-sensitive bipolar junction transistor (BJT) where incident photons on the base-collector junction generate a base current, which the transistor then amplifies. Unlike a photodiode, which produces a tiny microamp current requiring an op-amp to read, a phototransistor provides internal current gain (typically 100x to 1000x). This allows it to drive microcontroller GPIO pins or logic gates directly.
For most bench prototyping and DIY projects, the safe default part numbers are the Kingbright L-53P3C (a 5mm through-hole IR sensor) or the Vishay TEPT4400 (an SMD ambient visible-light sensor). Below is a complete guide to symbol identification, biasing math, application circuits, and bench testing.
Symbol, Pinout, and Core Specifications
On a schematic, the phototransistor symbol is an NPN BJT with the base lead either omitted entirely or shown with two inward-pointing arrows indicating incident light. Physically, most commercial phototransistors come in 2-lead packages (TO-92, 5mm radial, or SMD). The base connection is left floating internally; the device is biased entirely by the light hitting the silicon.
Pinout Identification: In a standard 5mm radial package (like the L-53P3C), the longer lead is the Collector and the shorter lead is the Emitter. If the leads are trimmed, look for the flat spot on the plastic lens rim; the lead closest to the flat spot is typically the Emitter.
Operation Regions and Typical Ratings
To use these components correctly, you must understand which region of operation your circuit forces the device into. The table below outlines the electrical behavior across the three primary states, based on a standard 5mm NPN silicon phototransistor rated for 30V VCE.
| Operation Region | VCE (Typical) | IC (Typical) | Photo-Generated IB | State Description & Circuit Use |
|---|---|---|---|---|
| Cutoff (Dark) | ~VCC (e.g., 5.0V) | < 100 nA (Dark Current) | 0 A | No light. Device is OFF. Only leakage current flows. Used for 'dark' logic state. |
| Active (Linear) | 1.0V to 4.0V | 0.1 mA to 5.0 mA | 1 µA to 20 µA | Moderate light. IC = hFE × IB. Output voltage scales linearly with light intensity. Used for analog sensing. |
| Saturation (Bright) | < 0.4V (VCE(sat)) | Limited by external resistor | > 20 µA | High light. Device is fully ON. Acts as a closed switch. Used for digital interrupts and encoders. |
How to Bias and Select a Phototransistor for Your Circuit
Biasing a phototransistor is fundamentally about choosing the right load resistor to force the device into either the Active region (for analog measurements) or the Saturation region (for digital switching). You will almost always use a Common-Emitter or Common-Collector configuration.
Complete Application Circuit: 5V Digital Interrupt
This circuit is designed to interface a 940nm IR phototransistor directly with a 5V Arduino or ESP32 (via logic level shifter) digital input pin. It acts as an active-LOW switch: when the IR beam is broken, the pin reads HIGH; when the beam hits the sensor, the pin reads LOW.
- VCC: 5.0V DC
- R1 (Pull-up Resistor): 10 kΩ (1/4W, 1% tolerance)
- Q1 (Phototransistor): Kingbright L-53P3C (Collector to R1, Emitter to GND)
- Output Node: Junction of R1 and Q1 Collector, routed to MCU GPIO configured with internal pull-up disabled.
The Biasing Math: Assume the IR LED source generates enough light to induce 15 µA of base current (IB) in the phototransistor. The L-53P3C has a typical light current (IC) of 3 mA under standard test conditions. If we use a 10 kΩ pull-up resistor, the voltage drop across the resistor when illuminated would theoretically be V = I × R = 0.003A × 10,000Ω = 30V. Since VCC is only 5V, the transistor immediately slams into saturation. VCE drops to ~0.2V, giving the MCU a rock-solid logic LOW. When the light is blocked, IC drops to nanoamps, the 10kΩ pulls the node to 5.0V (logic HIGH).
Analog Light Meter Configuration (Common-Collector)
If you need to read ambient light levels via an ADC (e.g., A0 on an Arduino), swap to a Common-Collector (Emitter Follower) setup. Connect the Collector directly to 5V. Place a 1 kΩ resistor between the Emitter and GND. Take your ADC reading from the Emitter. As light increases, the emitter voltage rises proportionally (VEmitter ≈ VBase(light) - 0.6V). The smaller 1kΩ resistor keeps the device in the active region rather than saturating it, providing a variable 0V to ~4.5V analog swing.
Safe Default Part Numbers and Selection Matrix
Selecting the wrong phototransistor usually means mismatching the peak wavelength to your light source, or choosing a device with a response time too slow for your application (like trying to read a 38kHz TV remote with a slow ambient light sensor). Below are three benchmark part numbers that cover 95% of DIY and prototyping needs.
| Part Number | Package | Peak Wavelength | Rise/Fall Time | Max VCE / IC | Best Use Case |
|---|---|---|---|---|---|
| Kingbright L-53P3C | 5mm Radial (T-1 3/4) | 940 nm (IR) | 15 µs / 15 µs | 30V / 50mA | Object detection, IR beam breaks, line-following robots. |
| Vishay TEPT4400 | SMD (0805/1206 equiv) | 570 nm (Green/Visible) | 300 µs / 300 µs | 6V / 20mA | Ambient light sensing, screen brightness auto-adjust, daylight triggers. |
| OSRAM SFH309FA | 5mm Radial (Side-looking) | 900 nm (IR) | 5 µs / 5 µs | 32V / 50mA | High-speed IR data links, tachometers, slot opto-interrupters. |
For deeper theory on how the base-collector junction acts as a photodiode internally before the transistor amplifies the signal, the All About Circuits semiconductor textbook provides an excellent breakdown of the internal carrier multiplication.
Failure Modes and Multimeter Testing
Phototransistors are rugged, but they do fail. The most common failure modes are epoxy yellowing (UV degradation blocking IR transmission), dark current thermal runaway (usually from exceeding max power dissipation in a high-heat environment), and ESD damage to the base-collector junction during handling, which manifests as a permanent short or massive leakage current.
Because the base is floating, you cannot test a 2-lead phototransistor with a standard multimeter diode test and expect a 0.6V drop like a normal BJT. Follow this numbered procedure to verify a suspect component on the bench.
Step-by-Step DMM Testing Procedure
- Visual Inspection: Check the epoxy lens. If it is heavily yellowed, cracked, or scorched, discard it. UV exposure over years degrades the optical clarity, drastically reducing sensitivity.
- Dark Leakage Test (Resistance Mode): Set your DMM to the 2 MΩ resistance range. Place the red probe on the Collector and the black probe on the Emitter. Cover the lens completely with your finger or electrical tape. The meter should read OL (Over Limit) or >2 MΩ. If it reads a low resistance (e.g., 5 kΩ) in total darkness, the junction is shorted or suffering from severe thermal leakage. Discard the part.
- Photo-Gain Test (Flashlight Test): Keep the DMM in resistance mode (or switch to the µA/mA current mode if your meter has a dedicated transistor hFE or light test). While the probes are connected (Red to Collector, Black to Emitter), shine a bright white LED flashlight or your phone's camera flash directly into the lens.
- Expected Result: The resistance should immediately drop from OL to somewhere between 1 kΩ and 50 kΩ, depending on the light intensity.
- Failure Result: If the resistance stays at OL even under a bright light, the internal bond wire is broken or the silicon is dead.
- Reverse Bias Check: Swap the probes (Black to Collector, Red to Emitter). Shine the light again. The meter should remain OL. Phototransistors only conduct in the forward-active direction. If it conducts in reverse, the junction has suffered an avalanche breakdown.
By understanding the internal gain mechanism, selecting the correct pull-up or pull-down resistor for your desired operation region, and verifying the part with a simple DMM light test, you can reliably integrate phototransistors into any digital or analog sensing project.






