

An IR phototransistor is a semiconductor device designed to detect infrared (IR) light and convert it into an electrical signal. It operates similarly to a regular phototransistor but is specifically sensitive to IR wavelengths. When exposed to IR light, the phototransistor allows current to flow, which can be measured or used to trigger other components in a circuit.








Below are the general technical specifications for a typical IR phototransistor. Note that exact values may vary depending on the specific model.
| Parameter | Value |
|---|---|
| Wavelength Sensitivity | 850 nm to 950 nm (typical) |
| Collector-Emitter Voltage | 30V (maximum) |
| Emitter-Collector Voltage | 5V (maximum) |
| Collector Current (Ic) | 20 mA (maximum) |
| Power Dissipation | 150 mW (maximum) |
| Response Time | 10 µs to 50 µs (typical) |
| Operating Temperature Range | -40°C to +85°C |
IR phototransistors typically have two pins: the collector and the emitter. Some models may include a base pin for additional control, but this is less common.
| Pin | Name | Description |
|---|---|---|
| 1 | Collector | The pin where the current flows in when IR light is detected. |
| 2 | Emitter | The pin where the current exits the phototransistor. |
Note: Ensure correct polarity when connecting the phototransistor to a circuit. Reversing the pins may damage the component or result in improper operation.
Basic Circuit Setup:
Interfacing with a Microcontroller (e.g., Arduino UNO):
Below is an example of how to use an IR phototransistor with an Arduino UNO to detect IR light:
// Define the pin connected to the phototransistor's collector
const int phototransistorPin = 2; // Digital pin 2
void setup() {
pinMode(phototransistorPin, INPUT); // Set the pin as an input
Serial.begin(9600); // Initialize serial communication for debugging
}
void loop() {
int sensorValue = digitalRead(phototransistorPin); // Read the phototransistor state
if (sensorValue == LOW) {
// LOW indicates IR light is detected (current flows through the phototransistor)
Serial.println("IR light detected!");
} else {
// HIGH indicates no IR light is detected
Serial.println("No IR light detected.");
}
delay(500); // Wait for 500ms before the next reading
}
No Response to IR Light:
False Triggers in Bright Environments:
Slow Response Time:
Overheating or Damage:
Q: Can I use an IR phototransistor to detect visible light?
A: No, IR phototransistors are specifically designed to detect infrared light. For visible light detection, use a standard phototransistor or a photodiode.
Q: How do I increase the detection range of an IR phototransistor?
A: Use a more powerful IR emitter, ensure proper alignment, and minimize ambient light interference.
Q: Can I connect the phototransistor directly to an analog input pin?
A: Yes, you can connect it to an analog pin to measure varying light intensities. However, you may need to adjust the circuit design (e.g., use a smaller pull-up resistor).
Q: What is the difference between an IR phototransistor and an IR photodiode?
A: An IR phototransistor amplifies the current generated by IR light, while an IR photodiode generates a small current and requires an external amplifier for most applications.