вступ
This manual provides detailed instructions for the Youmile LM393 H2010 Correlation Photoelectric Sensor module. This sensor is designed for applications requiring detection of objects passing through a slot, such as workpiece counting and motor speed measurement. It operates by detecting interruptions in an infrared beam.
Інформація про безпеку
- Переконайтеся, що блок живлення обtage is within the specified range (DC 5V) to prevent damage to the module.
- Avoid exposing the module to extreme temperatures, humidity, or corrosive environments.
- Поводьтеся з модулем обережно, щоб запобігти фізичному пошкодженню компонентів або контактів.
- Завжди відключайте живлення перед тим, як робити або змінювати підключення.
Вміст упаковки
Перевірте наявність усіх предметів у вашій упаковці:
- 5 x LM393 H2010 Correlation Photoelectric Sensor Modules
- 5 x Encoders (Discs)
- 1 x 15-pin Male and Female DuPont Cable

Figure 1: Sensor module and encoder disc included in the package. The sensor is a U-shaped component with three pins (GND, OUT, VCC), and the encoder is a circular disc with slots.
Продукт закінченийview і особливості
The Youmile LM393 H2010 sensor module is a slot-type optocoupler designed for precise detection. It integrates an LM393 comparator chip for stable signal output.
- Signal Output Indication: The module includes an LED indicator for visual feedback on the output status.
- Single-Channel Signal Output: Provides a single digital output signal.
- Output Logic: Outputs a high level (LED light off) when an obstruction is present in the slot, and a low level (LED light on) when there is no obstruction.
- Fixed Sensitivity: The sensitivity of the sensor is not adjustable.
- Застосування: Suitable for workpiece counting and motor speed measurement using an encoder disc.
- Circuit Board Output Switch: Refers to the digital output capability of the module.

Figure 2: Key features of the sensor module, highlighting its functional aspects.
Технічні характеристики
| Параметр | Значення |
|---|---|
| Головна Чіп | LM393, Slot Optocoupler H2010 |
| Робочий випtage | 5 В постійного струму |
| Ширина щілини | 10 мм |
| Розміри модуля (Д x Ш x В) | 2.3 x 2 x 1.8 см (0.91 x 0.79 x 0.71 дюйма) |
| PCB Hole Distance (center to center) | 1.5 см |
| PCB Hole Aperture | 0.3 см |
| Тип виводу | Single-channel digital signal |
| Регулювання чутливості | Не регулюється |
| Номер моделі | JK-YM-407 |

Figure 3: Physical dimensions of the sensor module. The length is 23mm (0.90in), width is 20mm (0.78in), and slot width is 10mm (0.39in).

Figure 4: Internal circuit diagram of the sensor module, illustrating the components and their connections, including power, output, and indication LED.
Налаштування та підключення
Follow these steps to connect your LM393 H2010 sensor module:
- Визначення пінів: The module has three pins:
- VCC: Power supply input (DC 5V).
- GND: З'єднання заземлення.
- ВИХІД: Digital signal output.
- Підключіть живлення: Connect the VCC pin to a stable 5V DC power source and the GND pin to the ground of your system (e.g., Arduino, microcontroller).
- Вихід підключення: Connect the OUT pin to a digital input pin on your microcontroller. This pin will provide the detection signal.
- Integration with Encoder (for speed measurement): If using for motor speed measurement, mount the encoder disc onto the motor shaft. Position the sensor module so that the encoder disc passes through the sensor's slot. Ensure the disc moves freely without obstruction from the sensor housing.

Малюнок 5: Впрample wiring diagram for motor speed measurement using the LM393 sensor with an Arduino UNO and an LCD display. The sensor detects rotations of the encoder wheel attached to the motor.
Інструкція з експлуатації
Once properly connected, the sensor operates by detecting the presence or absence of an object within its 10mm slot.
- No Obstruction: When the sensor's infrared beam is unobstructed (nothing is in the slot), the output pin (OUT) will be LOW, and the onboard LED indicator will be ON.
- Obstruction Detected: When an object (e.g., an encoder disc tooth, a workpiece) passes through the slot and breaks the infrared beam, the output pin (OUT) will go HIGH, and the onboard LED indicator will turn OFF.
Your microcontroller can read these HIGH/LOW transitions on the OUT pin to count events (like workpiece passes) or calculate speed (by measuring the frequency of transitions from an encoder disc).
Додатки
- Workpiece Counting: Integrate the sensor into an assembly line to count items as they pass through the slot.
- Motor Speed Measurement: Attach an encoder disc to a motor shaft. The sensor detects the slots on the disc as it rotates, allowing for calculation of RPM.
- Position Detection: Can be used to detect the presence or absence of a component at a specific point.
Технічне обслуговування
- Keep the sensor's slot clean and free from dust or debris, which could interfere with the infrared beam.
- Періодично перевіряйте всі з'єднання проводів, щоб переконатися в їх надійності.
- Store the module in a dry, non-corrosive environment when not in use.
Усунення несправностей
| проблема | Можлива причина | Рішення |
|---|---|---|
| No output signal / LED always ON/OFF | Incorrect wiring, no power, faulty module, continuous obstruction/no obstruction. | Verify VCC and GND connections. Ensure 5V power is supplied. Check OUT pin connection to microcontroller. Test with a known obstruction/no obstruction. |
| Непослідовні показання | Loose connections, dust in slot, unstable power supply, object not fully breaking beam. | Secure all connections. Clean the sensor slot. Ensure power supply is stable. Adjust object positioning to fully interrupt the beam. |
| Motor speed measurement is inaccurate | Encoder disc not properly aligned, disc slipping, incorrect software logic. | Ensure the encoder disc is centered and securely attached to the motor shaft. Verify the sensor is positioned correctly over the disc. Review your microcontroller code for pulse counting and speed calculation. |
Гарантія та підтримка
Specific warranty information for this product is not provided in the available documentation. For technical support or inquiries regarding your Youmile LM393 H2010 sensor module, please refer to the retailer or manufacturer's official support channels.





