SX398 Photoelectric Interrupter Sensor - Xiaomi - JDVI-5182

The SX398 photoelectric interrupter sensor is a high-precision slot-type optocoupler component. It...

Currently unavailable

Currently out of stock

This product is not available at the moment. Check back later.

Product Information

Full details

The Xiaomi SX398 Photoelectric Interrupter Sensor is an essential component for engineers, robotics enthusiasts, and hobbyists who require precise position sensing, speed monitoring, and object detection. By utilizing infrared light beam interruption, it offers highly accurate, non-contact feedback for automation projects; however, users should note that the sensor requires external circuitry and proper light shielding to prevent ambient interference in outdoor environments.

All features

Model Part NumberJDVI-5182
BrandXiaomi

Extended Product Information

FAQs

Can I use the SX398 for outdoor projects?

It is not recommended for direct outdoor use without significant shielding, as sunlight contains infrared radiation that will saturate the sensor.

What is the maximum switching frequency?

The SX398 is designed for high-speed operation, typically supporting frequencies in the kilohertz range, making it ideal for standard motor encoders.

Does this sensor require a power supply?

Yes, it requires a low-voltage DC power supply for the internal infrared emitter LED.

Can it detect clear plastic objects?

Clear materials may allow enough infrared light to pass through to prevent a trigger; the sensor is best used with opaque or semi-opaque objects.

Is the output digital or analog?

The sensor functions as a digital switch; when the light path is broken, the output transistor switches state.

Troubleshooting

Sensor triggers randomly without an object present

Check for high ambient light interference and install an opaque shroud or barrier around the sensor slot.

No output signal change when object is present

Verify the polarity of the LED emitter and ensure your pull-up or pull-down resistor on the output side is properly connected.

Inconsistent position detection

Ensure the object passing through the slot is rigid and correctly aligned so it does not wobble within the light path.

Pros and Cons

Pros

  • High reliability through non-contact operation
  • Compact form factor for space-constrained designs
  • Fast signal switching ideal for high-speed applications
  • Long operational lifespan due to minimal mechanical stress

Cons

  • Sensitive to ambient light interference if not shielded
  • Requires external resistors and circuitry for proper operation
  • Small sensing gap limits the size of detectable objects

Setup, Compatibility & Care

To set up the SX398, you must connect the infrared emitter (anode and cathode) to a current-limiting resistor to prevent burnout. The phototransistor output side requires a pull-up or pull-down resistor depending on your desired logic state. This sensor is compatible with 3.3V and 5V logic levels common in Arduino, Raspberry Pi, and industrial PLC systems. For care, avoid touching the interior optical lenses with bare fingers, as oils can scatter the infrared light. If the sensor becomes dusty, clean it gently with compressed air rather than solvents, which may degrade the plastic housing.