Selecting the right photoelectric sensor depends on your detection range, output type, and environmental conditions. These eight options cover a wide spectrum of industrial and hobbyist needs, from short-range microcontroller modules to long-range outdoor through-beams.
Consider the voltage requirements and output configuration when choosing. Some sensors support low-voltage DC for microcontrollers, while others handle high-voltage AC for direct load actuation. Matching the sensor type to your specific application ensures reliable performance.
Our pick: KAIOULU 3-Pair Infrared Break Beam Sensor. The 5V DC input and 30cm range make this ideal for Arduino or Raspberry Pi based DIY robots.
Our 3 picks for different needs
KAIOULU 3-Pair Infrared Break Beam Sensor
The 5V DC input and 30cm range make this ideal for Arduino or Raspberry Pi based DIY robots.
Read the details
Taiss E3F-20DNL-Z-12MM Through-Beam Sensor
The IP66 rating and 20-meter range suit weatherproof outdoor installations like garage doors.
Read the details
BOJKEON BG-38N Diffuse Photoelectric Sensor
The IP66 O-ring design and anti-interference features support stable operation in wet or oily areas.
Read the detailsAll products, in detail
KAIOULU 3-Pair Infrared Break Beam Sensor
This package includes three infrared break beam sensor switches with plastic casings and metal pins. The sensors operate on a 5V DC input, making them compatible with common microcontrollers. Each unit features indicator LEDs for power and detection status. The detection distance is up to 30cm, suitable for short-range sensing in hobbyist projects.
The non-contact design reduces wear compared to mechanical switches. This option is ideal for DIY robot projects or simple presence detection tasks where compact size is required.
- Includes 3 pairs of infrared break beam sensors
- Supports 5V DC input with indicator LEDs
AURTRR Micro Photoelectric Sensor Switch
The AURTRR micro photoelectric sensor is a reflective photovoltaic switch designed for compact installations. It operates on a DC 10-30V supply and features a PNP output with both Normally Open and Normally Closed contacts. The detection distance is listed as 80cm, providing a moderate range for reflective sensing.
The small form factor allows for installation in tight spaces. This sensor is suitable for applications like garage parking sensors where a mini size is necessary. The PNP output configuration is a key specification for wiring compatibility.
- PNP output with NO+NC contacts
- Reflective type with 80cm detection distance
LCLCTC HG18-D50N3 Laser Photoelectric Switch
This LCLCTC laser photoelectric switch uses an NPN output with both NO and NC contacts on a 4-wire configuration. It operates on a 10-30V DC input and offers an adjustable detection distance from 0 to 500mm. The response speed is 1ms, supporting a switching frequency of 500Hz.
The unit includes short circuit and reverse polarity protection. The laser beam provides high sensitivity for detecting small changes in optical signals. This model is well-suited for applications requiring precise alignment and high-speed response.
- NPN output with 1ms response speed
- Adjustable detection distance of 0-500mm
Taiss E3F-20DNL-Z-12MM Through-Beam Sensor
The Taiss E3F-20DNL-Z-12MM is a through-beam photoelectric sensor pair with an IP66 weatherproof rating. It supports a supply voltage of 6-36V DC and features an NPN normally open output. The sensory distance extends up to 20 meters, making it suitable for outdoor gates or garage doors.
The unit includes a 120cm cable and two mounting brackets. The 12mm thread diameter allows for standard mounting. This long-range option is designed for industrial outdoor usage where durability and distance are critical.
- IP66 weatherproof rating for outdoor use
- 20-meter sensory distance with 6-36V DC input
Taiss BEN5M Retroreflective Wall-Mounted Sensor
This Taiss BEN5M retroreflective sensor is designed for wall mounting and supports both DC and AC voltages. It operates on 12-240V DC or 24-240V AC, offering flexibility for various power sources. The detection distance is 5 meters, using a specular reflection type. The unit features a relay output with a load rating of 3A at 250VAC.
It includes a reflector panel and mounting bracket. The IP65 protection rating makes it suitable for indoor or protected outdoor environments. This high-voltage option is useful for direct actuation of loads.
- Supports 12-240V DC and 24-240V AC
- Relay output with 3A load rating
LCLCTC HG18-D50P3 Laser Photoelectric Switch
The LCLCTC HG18-D50P3 is a PNP laser photoelectric switch with a 4-wire connection. It accepts a 10-30V DC input and provides both NO and NC outputs. The detection distance is adjustable from 0 to 500mm, with a response speed of 1ms. The sensor includes short circuit and reverse polarity protection.
The high sensitivity allows for the detection of extremely small optical signal changes. This PNP variant is a direct alternative to the NPN model, catering to different controller requirements. It is suitable for high-precision detection tasks.
- PNP output with 1ms response speed
- Adjustable 0-500mm detection range
BOJKEON BG-38N Diffuse Photoelectric Sensor
The BOJKEON BG-38N is a diffuse photoelectric sensor with an IP66-rated waterproof O-ring design. It operates on a 10-30V DC supply and offers a detection range of 5-350mm. The PinPoint-LED technology delivers a concentrated light spot for easy alignment. The sensor features advanced anti-interference technology, allowing multiple units to work simultaneously.
It is designed to be less affected by background color, ensuring stable detection of various objects. This compact sensor is ideal for wet environments and applications requiring color-independent sensing.
- IP66 waterproof rating with O-ring design
- Diffuse type with 5-350mm detection range
Taiss E3F-5DN1 M18 Through-Beam Sensor
This Taiss E3F-5DN1 is an M18 through-beam photoelectric sensor pair with an NPN normally open output. It operates on a 6-36V DC supply and has a sensory distance of 5 meters. The unit features a 120cm cable and includes two mounting brackets. The body is constructed from plastic and alloy materials.
The 18mm thread diameter is standard for M18 mounting. This mid-range through-beam option is suitable for indoor applications where a 5-meter detection range is sufficient. The compact size facilitates easy installation in machinery.
- M18 thread diameter with 5m detection range
- NPN output with 6-36V DC input
Head-to-Head Comparisons
LCLCTC NPN vs PNP Laser Switches
The LCLCTC HG18-D50N3 and HG18-D50P3 are nearly identical in physical size and detection range, both offering 0-500mm adjustable distances and 1ms response times. The primary difference is the output type: the N3 model uses NPN output, while the P3 model uses PNP output. This distinction is critical for compatibility with your controller.
If your system requires a sink-type output, choose the NPN version. If it requires a source-type output, the PNP model is the correct fit. Both include short circuit and reverse polarity protection.
Taiss 20m vs 5m Through-Beam Sensors
Both Taiss sensors are through-beam types with NPN outputs and 6-36V DC inputs. The E3F-20DNL-Z-12MM offers a 20-meter detection range and an IP66 rating, making it suitable for outdoor use. The E3F-5DN1 has a 5-meter range and an M18 thread diameter, which is more common for indoor machinery.
If you need to detect objects across a wide area like a driveway, the 20m model is appropriate. For tighter indoor spaces, the 5m M18 sensor provides a more compact solution with standard mounting.
Taiss High-Voltage vs BOJKEON Diffuse Sensor
The Taiss BEN5M is a retroreflective sensor supporting up to 240V AC, allowing it to directly drive high-power loads via its relay output. The BOJKEON BG-38N is a diffuse sensor operating on 10-30V DC, intended for control signals rather than direct load actuation. The Taiss unit is better for applications where you need to switch mains voltage devices.
The BOJKEON unit is better for feeding signals into a PLC or controller. Choose based on whether you need direct power switching or signal generation.
Buying Guide
Determine Your Detection Range
Measure the distance between the sensor and the object you need to detect. Short-range sensors like the KAIOULU module are limited to 30cm, suitable for close-up hobby projects. Mid-range sensors like the LCLCTC laser switches cover up to 50cm. Long-range through-beam sensors like the Taiss models can detect objects up to 20 meters away.
Ensure the sensor's maximum range exceeds your required distance with a safety margin.
Match Output Type to Controller
Check whether your controller requires NPN or PNP output. NPN outputs sink current, while PNP outputs source current. The LCLCTC sensors are available in both NPN and PNP variants, allowing you to select the correct one for your system. If your system uses a different output type, you may need a different model or an interface module.
Consider Environmental Protection
Assess the operating environment for moisture, dust, or oil. The Taiss E3F-20DNL and BOJKEON BG-38N both feature IP66 ratings, making them suitable for wet or outdoor conditions. The Taiss BEN5M has an IP65 rating, which is good for protected outdoor use. If the sensor will be used in a clean indoor environment, a lower protection rating may be sufficient, but higher ratings provide added durability.
Verify Voltage Compatibility
Ensure the sensor's supply voltage matches your power source. The KAIOULU sensor requires 5V DC, typical for microcontrollers. The LCLCTC and BOJKEON sensors operate on 10-30V DC. The Taiss BEN5M supports a wide range of 12-240V DC and 24-240V AC. Using a sensor with the wrong voltage can damage the unit.
Check your power supply specifications before purchasing.
Frequently Asked Questions
What is the difference between NPN and PNP sensors?
NPN sensors sink current to ground, while PNP sensors source current from the positive rail. You must match the sensor output type to your controller's input requirements. The LCLCTC series offers both options, allowing you to choose the correct configuration for your specific electronic setup.
Can I use these sensors outdoors?
The Taiss E3F-20DNL-Z-12MM has an IP66 rating, making it suitable for outdoor use in rain or dust. The Taiss BEN5M has an IP65 rating, which is also suitable for protected outdoor areas. The other sensors in this list are not specified with outdoor ratings and are better suited for indoor use.
How do I mount these sensors?
The Taiss through-beam sensors include mounting brackets in the package. The KAIOULU sensors have metal pins for direct wiring. Check the specific dimensions and thread size for your mounting hardware.
Do these sensors require calibration?
The LCLCTC and Taiss sensors feature adjustable detection distances, which may require initial calibration to set the sensitivity threshold. The KAIOULU sensors have a fixed 30cm range and do not require complex calibration steps. Always follow the manufacturer's instructions for adjusting the sensitivity potentiometer if present.
This article is part of our complete guide Industrial & Scientific — browse all our comparisons and buying guides.
Last update on 2026-11-24 / Affiliate links / Images from Amazon Product Advertising API
