LMS-06-R
AI

The **LMS-06-R** is an optical sensor module primarily used in motion detection and proximity sensing applications. It belongs to a category of photo-interrupters or reflective sensors, often used in consumer electronics (like printers or vending machines) and industrial automation.
---
### 1. Key Electronic Components
The LMS-06-R operates on the principle of infrared (IR) light emission and detection.
| Component | Description | Function |
| :--- | :--- | :--- |
| **Infrared LED** | A Gallium Arsenide (GaAs) light-emitting diode. | Emits a beam of IR light toward a target or through a slot. |
| **Phototransistor** | A high-sensitivity NPN silicon phototransistor. | Receives the reflected or unblocked IR light and converts it into an electrical current. |
| **Housing/Casing** | Plastic resin mold with specific optical filtering. | Minimizes interference from ambient visible light. |
---
### 2. Electrical Specifications
These parameters are critical for designing the driving circuit (e.g., when connecting to an Arduino or PLC).
| Parameter | Symbol | Typical Value |
| :--- | :--- | :--- |
| **Forward Current (LED)** | $I_F$ | 20mA - 50mA |
| **Reverse Voltage (LED)** | $V_R$ | 5V |
| **Collector-Emitter Voltage** | $V_{CEO}$ | 30V |
| **Collector Current** | $I_C$ | 20mA |
| **Operating Temperature** | $T_{opr}$ | -25°C to +85°C |
---
### 3. Circuit Connection Logic
To use the LMS-06-R, two separate circuits must be managed:
#### A. Input (Emitter) Side
The LED side requires a current-limiting resistor to prevent burnout.
```cpp
// Basic Calculation for Resistor (R):
R = (V_supply - V_forward) / I_forward
// Example: (5V - 1.2V) / 0.02A = 190 Ohms
```
#### B. Output (Detector) Side
The phototransistor acts as a switch. When it detects IR light, it allows current to flow. A pull-up or pull-down resistor is used to create a measurable voltage signal (Logic High/Low) for a microcontroller.
---
### 4. Application Logic
* **Object Detection:** When an object passes in front of the sensor, the IR light reflects back to the phototransistor, triggering a signal change.
* **RPM Sensing:** If used with a slotted disk, the sensor counts how many times the beam is broken to calculate speed.
* **Limit Switching:** Used in 3D printers or CNC machines to detect when a component has reached its physical limit.
- ⤷
What is the maximum sensing distance for the LMS-06-R?
- ⤷ How do I calculate the specific pull-up resistor value for this sensor?
- ⤷ Can this sensor operate in direct sunlight?