Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Mexican  ▼
ALLDATASHEET.COM.MX

X  

  • OR2-6-R/Q

  • AI
    The **OR2-6-R/Q** refers to a high-precision, low-power **Rotary Optical Encoder** or a specific **Optical Reflective Sensor** module (frequently associated with brands like Everlight or specialized motion control manufacturers). Below is a detailed breakdown of its electronic components, specifications, and operational logic. --- ## 1. Technical Overview The "OR2" series typically identifies an optical reflective sensor that integrates an infrared emitting diode and a phototransistor. | Parameter | Typical Value / Description | | :--- | :--- | | **Component Type** | Optical Reflective Sensor / Photointerrupter | | **Light Source** | Infrared (IR) LED | | **Detector** | Phototransistor / Photo-IC | | **Operating Voltage** | 3.3V to 5.0V DC | | **Output Type** | Analog (R) or Digital/Quadrature (Q) | | **Mounting** | Surface Mount (SMD) or Lead Frame | --- ## 2. Internal Electronic Structure The device consists of two primary electronic sub-circuits housed in a single miniature package: ### A. The Emitter (Infrared LED) * **Function:** Projects a focused beam of infrared light (usually around 940nm). * **Electronics:** Requires a current-limiting resistor. The "R" in the suffix often denotes the specific wavelength or intensity binning for the emitter. ### B. The Detector (Phototransistor) * **Function:** Receives the IR light reflected off a surface (like a code wheel or strip). * **Electronics:** The collector-emitter junction changes conductivity based on the intensity of received light. In the "Q" configuration, it usually features two sensors to provide **Quadrature output** (Phase A and Phase B). --- ## 3. Quadrature Signal Logic (The "Q" Suffix) The **Q** version is specifically designed for motion and direction sensing. It outputs two signals offset by 90 degrees. ### Truth Table for Directional Sensing | Movement | Phase A | Phase B | State Transition | | :--- | :--- | :--- | :--- | | **Clockwise** | High | Low | A leads B | | **Counter-Clockwise**| Low | High | B leads A | --- ## 4. Typical Application Circuit When integrating this part into a microcontroller (like Arduino or ESP32), the following schematic logic is used: ```cpp // Logic for Reading the OR2-6-Q Quadrature Output int pinA = 2; // Output A from OR2-6-R/Q int pinB = 3; // Output B from OR2-6-R/Q void setup() { pinMode(pinA, INPUT); pinMode(pinB, INPUT); attachInterrupt(digitalPinToInterrupt(pinA), updateEncoder, RISING); } void updateEncoder() { if (digitalRead(pinB) == LOW) { // Clockwise rotation detected } else { // Counter-clockwise rotation detected } } ``` --- ## 5. Key Use Cases 1. **Printer Head Positioning:** Detecting the position of the inkjet carriage. 2. **Digital Volumeters:** High-precision knobs that have no physical stop. 3. **Automotive Sensing:** Steering wheel angle detection or window lift limits. 4. **Robotics:** Small DC motor feedback loops for PID control.
    ✨ Follow-up Questions
    • ⤷ What is the maximum operating frequency of the OR2-6-R/Q sensor?
    • ⤷ How do I calculate the correct current-limiting resistor for the IR LED side?
    • ⤷ What is the physical detection range/distance for the reflective model?