IR Transceiver Module # Technical Datasheet: KOI6002A Optical Interrupter Sensor
*Manufacturer: KODENSHI*
## 1. Application Scenarios
### 1.1 Typical Use Cases
The KOI6002A is a transmissive optical sensor (photo interrupter) consisting of an infrared GaAs LED emitter and a silicon phototransistor detector aligned in a compact, opposing-channel housing. Its primary function is to detect the presence, absence, or position of an opaque object within its 3 mm sensing gap.
 Primary Detection Modes: 
*    Position Sensing:  Detecting the home position or limit of a moving part (e.g., printer carriage, robotic arm, drawer).
*    Rotation/Speed Sensing:  Measuring RPM or detecting index marks on an encoding disk or slotted wheel.
*    Object Detection:  Confirming the presence of media (paper, tape, disk) or a component in an assembly path.
*    Edge Detection:  Triggering an action when an object breaks the infrared beam.
### 1.2 Industry Applications
*    Office Automation:  Printers, photocopiers, scanners (paper jam detection, tray position sensing).
*    Consumer Electronics:  Optical encoders in gaming peripherals, position sensing in disc drives, tamper detection in smart meters.
*    Industrial Automation:  Conveyor belt object counting, robotic end-effector positioning, safety interlock systems.
*    Medical Devices:  Fluid level detection in infusion pumps, cassette presence detection in analyzers.
*    Automotive:  Gear position sensing in transmissions, wiper blade park detection.
### 1.3 Practical Advantages and Limitations
 Advantages: 
*    Non-Contact Sensing:  Eliminates mechanical wear and provides silent operation.
*    High Speed:  Capable of detecting objects at kHz frequencies, suitable for high-speed counting and encoding.
*    Simple Interface:  Requires only basic driver circuitry for the LED and a pull-up resistor for the phototransistor output.
*    Compact Form Factor:  The through-hole, gull-wing lead design allows for a low-profile installation.
*    Environmental Resistance:  The housing helps shield the optical path from ambient light and dust compared to open assemblies.
 Limitations: 
*    Sensing Object Requirement:  Requires an opaque object to interrupt the beam. Transparent or highly reflective materials may not be reliably detected.
*    Gap Limitation:  Objects must pass within the fixed 3 mm gap. Misalignment can cause failure.
*    Contamination Sensitivity:  Dust, dirt, or condensation on the lens surfaces can attenuate the IR signal, leading to unreliable operation.
*    Ambient Light Immunity:  While the housing provides shielding, extremely strong ambient light (especially containing IR) directed into the slot can affect performance.
*    Limited Sensing Distance:  Function is constrained to the internal gap; it is not a reflective sensor for remote detection.
## 2. Design Considerations
### 2.1 Common Design Pitfalls and Solutions
*    Pitfall 1: LED Current Overdrive 
    *    Issue:  Applying excessive forward current (`I_F`) to the LED reduces its lifespan and can cause catastrophic failure.
    *    Solution:  Always use a current-limiting resistor in series with the LED. Calculate the resistor value based on the supply voltage (`V_CC`), the desired `I_F` (typically 20-50 mA), and the LED forward voltage (`V_F` ~1.2V). `R_LIMIT = (V_CC - V_F) / I_F`.
*    Pitfall 2: Inadequate Phototransistor Biasing 
    *    Issue:  Without a proper pull-up resistor on the collector, the output signal will have poor rise times and may not reach a valid logic high level.
    *    Solution