Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use IR Phototransistor: Examples, Pinouts, and Specs

Image of IR Phototransistor
Cirkit Designer LogoDesign with IR Phototransistor in Cirkit Designer

Introduction

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.

Explore Projects Built with IR Phototransistor

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Battery-Powered Light-Activated Relay Circuit with Photocell and Transistor
Image of darshan: A project utilizing IR Phototransistor in a practical application
This circuit is a light-sensitive relay switch that uses a photocell (LDR) to control a 12V relay via a BC547 transistor. The relay is powered by a 12V battery, and the transistor acts as a switch that is triggered by the resistance change in the LDR, which is influenced by the ambient light level.
Cirkit Designer LogoOpen Project in Cirkit Designer
IR Sensor-Based Voltage Regulator with Visual Indicators
Image of Road Safety : A project utilizing IR Phototransistor in a practical application
This circuit appears to be a sensor-based system that uses an IR sensor to detect the presence of an object or motion. When the IR sensor output is active, it likely triggers a change in the state of the LEDs, possibly indicating detection status with a red or green LED. The 9V battery powers the circuit, with a 7805 voltage regulator providing a stable 5V supply to the IR sensor and LEDs, while BC547 and BC557 transistors may be used to amplify the sensor signal or drive the LEDs. Diodes and resistors are used for protection and current limiting respectively.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO-Based IR and Light Detection System
Image of Smart Street-Light Control System: A project utilizing IR Phototransistor in a practical application
This circuit uses an Arduino UNO to interface with two IR sensors and an LDR for sensing applications. A BC547 transistor, controlled by the Arduino, switches a series of LEDs. Power is supplied by an AC-DC PSU board, converting AC mains to 5V DC for the circuit.
Cirkit Designer LogoOpen Project in Cirkit Designer
LDR-Controlled LED Dimmer with LM358 Op-Amp and NPN Transistor
Image of Light-Sensor-Based-Switch: A project utilizing IR Phototransistor in a practical application
This circuit is a light-sensitive LED controller. It uses a photocell to detect ambient light levels and an LM358 Op-Amp to compare the light level against a set threshold, adjustable via a potentiometer. When the light level is below the threshold, the Op-Amp activates an NPN transistor to power an LED.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with IR Phototransistor

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of darshan: A project utilizing IR Phototransistor in a practical application
Battery-Powered Light-Activated Relay Circuit with Photocell and Transistor
This circuit is a light-sensitive relay switch that uses a photocell (LDR) to control a 12V relay via a BC547 transistor. The relay is powered by a 12V battery, and the transistor acts as a switch that is triggered by the resistance change in the LDR, which is influenced by the ambient light level.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Road Safety : A project utilizing IR Phototransistor in a practical application
IR Sensor-Based Voltage Regulator with Visual Indicators
This circuit appears to be a sensor-based system that uses an IR sensor to detect the presence of an object or motion. When the IR sensor output is active, it likely triggers a change in the state of the LEDs, possibly indicating detection status with a red or green LED. The 9V battery powers the circuit, with a 7805 voltage regulator providing a stable 5V supply to the IR sensor and LEDs, while BC547 and BC557 transistors may be used to amplify the sensor signal or drive the LEDs. Diodes and resistors are used for protection and current limiting respectively.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Smart Street-Light Control System: A project utilizing IR Phototransistor in a practical application
Arduino UNO-Based IR and Light Detection System
This circuit uses an Arduino UNO to interface with two IR sensors and an LDR for sensing applications. A BC547 transistor, controlled by the Arduino, switches a series of LEDs. Power is supplied by an AC-DC PSU board, converting AC mains to 5V DC for the circuit.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Light-Sensor-Based-Switch: A project utilizing IR Phototransistor in a practical application
LDR-Controlled LED Dimmer with LM358 Op-Amp and NPN Transistor
This circuit is a light-sensitive LED controller. It uses a photocell to detect ambient light levels and an LM358 Op-Amp to compare the light level against a set threshold, adjustable via a potentiometer. When the light level is below the threshold, the Op-Amp activates an NPN transistor to power an LED.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Remote control systems (e.g., TVs, air conditioners)
  • Optical communication systems
  • Proximity sensors
  • Line-following robots
  • IR beam break detection systems
  • Flame detection in safety systems

Technical Specifications

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

Pin Configuration and Descriptions

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.

Usage Instructions

How to Use the Component in a Circuit

  1. Basic Circuit Setup:

    • Connect the collector pin to the positive voltage supply (via a pull-up resistor, typically 10 kΩ).
    • Connect the emitter pin to ground.
    • When IR light is detected, the phototransistor conducts, allowing current to flow from the collector to the emitter. This creates a voltage drop across the pull-up resistor, which can be measured as an output signal.
  2. Interfacing with a Microcontroller (e.g., Arduino UNO):

    • Connect the collector pin to a digital input pin on the Arduino through a pull-up resistor.
    • Connect the emitter pin to the Arduino's ground (GND).
    • Use the Arduino to read the digital signal and respond to IR light detection.

Example Arduino Code

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
}

Important Considerations and Best Practices

  • Ambient Light Interference: IR phototransistors can be affected by ambient IR sources (e.g., sunlight, incandescent bulbs). Use an IR filter or modulated IR signals to improve accuracy.
  • Pull-Up Resistor: The value of the pull-up resistor affects the sensitivity and response time. Experiment with different resistor values (e.g., 1 kΩ to 100 kΩ) to suit your application.
  • Distance and Angle: The sensitivity of the phototransistor decreases with distance and angle from the IR source. Ensure proper alignment for optimal performance.
  • Power Dissipation: Avoid exceeding the maximum power dissipation rating to prevent damage to the component.

Troubleshooting and FAQs

Common Issues and Solutions

  1. No Response to IR Light:

    • Cause: Incorrect wiring or reversed polarity.
    • Solution: Double-check the pin connections and ensure the collector is connected to the positive voltage supply.
  2. False Triggers in Bright Environments:

    • Cause: Ambient IR interference.
    • Solution: Use an IR filter or modulate the IR source to distinguish it from ambient light.
  3. Slow Response Time:

    • Cause: High pull-up resistor value.
    • Solution: Reduce the pull-up resistor value to increase the response speed.
  4. Overheating or Damage:

    • Cause: Exceeding voltage, current, or power ratings.
    • Solution: Ensure the component operates within its specified limits.

FAQs

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.