Industrial & Scientific

Electronic Component Optical Sensors: 8 Options Compared for 2026

This post contains affiliate links. As an Amazon Associate we earn from qualifying purchases.

Product details come from Amazon listings. Compare the specifications that matter to you, and check the current price and availability on Amazon before buying. How we compare

Selecting the right optical sensor depends on whether you need reflective proximity detection or through-beam interruption. Reflective sensors like the CNY70 detect objects by bouncing light off a surface, while slotted and break beam modules require an object to physically interrupt a light path.

This comparison covers eight options ranging from single reflective components to multi-pack slotted modules. Each product serves different automation needs, from simple presence detection to precise motor speed measurement. Review the detection method and voltage requirements to match your specific project architecture.

AT A GLANCE

Our 3 picks for different needs

3 Pairs Infrared Break Beam Sensor Switch for Hobbyists and Engineers
02Break Beam Detection

KAIOULU 3 Pairs Infrared Break Beam Sensor Switch

The KAIOULU sensors use a transmitter and receiver pair to detect obstacles when the 30cm infrared beam is interrupted.

Read the details
DAOKAI 5PCS IR Infrared Slotted Optical Optocoupler Speed Measuring Sensor Module 3.3-5V for Arduino...
06Speed Measurement Kit

DAOKAI 5PCS IR Slotted Optical Optocoupler Sensor

The DAOKAI package includes encoders and Dupont wires, providing a complete setup for motor speed detection.

Read the details
50pcs CNY70 Optical Sensor
05Bulk Reflective Sensing

Smartmiao SZ 50pcs CNY70 Optical Sensor

The Smartmiao SZ package offers 50 CNY70 sensors, suitable for projects requiring a large quantity of reflective units.

Read the details

All products, in detail

10pcs CNY70 Reflective Optical Sensor with Transistor Output DIP-4.
01

Reland Sun 10pcs CNY70 Reflective Optical Sensor

This package contains ten CNY70 reflective optical sensors with transistor output in a DIP-4 package. The reflective design allows the sensor to detect objects by bouncing light off a surface, making it suitable for proximity detection where a separate receiver is not needed. It is a compact component for hobbyists and engineers building basic automation or robotics projects.

The DIP-4 form factor facilitates easy soldering onto breadboards or custom PCBs.

  • Includes 10 CNY70 reflective optical sensors
  • Features transistor output in DIP-4 package
3 Pairs Infrared Break Beam Sensor Switch for Hobbyists and Engineers
02Break Beam Detection

KAIOULU 3 Pairs Infrared Break Beam Sensor Switch

This set includes three pairs of infrared break beam sensor switches, each consisting of a transmitter and receiver. The sensors detect obstacles when the invisible infrared beam is interrupted, with a detection distance of up to 30cm. Constructed with plastic casings and metal pins, they support 5V DC input and include indicator LEDs for power and detection status.

These modules are ideal for short-range sensing tasks, automatic door openers, or security alarms in DIY projects.

  • Includes 3 pairs of IR break beam sensors
  • Detection distance up to 30cm with 5V DC input
VISHAY SEMICONDUCTOR CNY70 OPTICAL SENSOR (SWITCH) REFLECTIVE (5 pieces)
03

Vishay Semiconductor CNY70 Optical Sensor (5 pieces)

This listing provides five Vishay Semiconductor CNY70 optical sensors, which are reflective switches. The CNY70 is a standard component in electronics for detecting the presence of objects via reflected light. The brand reputation of Vishay Semiconductor suggests a reliable source for this specific optical switch model.

It is a straightforward option for those seeking the CNY70 component in a small quantity for prototyping or repair work.

  • Contains 5 Vishay Semiconductor CNY70 sensors
  • Reflective optical switch design
EC Buying 10PCS IR Infrared Sensor Module Slotted Optical Optocoupler Speed Measuring Sensor Module...
04

EC Buying 10PCS IR Slotted Optical Optocoupler Sensor

This module uses a slot-type photoelectric sensor with an infrared LED and NPN photoelectric transistor, featuring a 5.9mm slot width. It triggers a low TTL level output when a non-transparent object passes through the slot. The design includes a Schmitt trigger for stable pulse output, making it suitable for speed measurement and distance measurement.

It operates on 3.3V to 5V and includes mounting holes for M3 screws, facilitating secure installation in robot cars or other mechanical setups.

  • Slot width of 5.9mm with NPN transistor output
  • Operates on 3.3V-5V with Schmitt trigger stability
50pcs CNY70 Optical Sensor
05Bulk Reflective Sensing

Smartmiao SZ 50pcs CNY70 Optical Sensor

This bulk package contains fifty CNY70 optical sensors, offering a larger quantity for projects requiring multiple units or for inventory stocking. The CNY70 is a reflective optical sensor commonly used for proximity detection. The high count makes this option suitable for educators, large-scale robotics teams, or manufacturers who need a consistent supply of this specific component.

It provides the standard reflective sensing capability in a high-volume format.

  • Includes 50 CNY70 optical sensors
  • Reflective sensing design
DAOKAI 5PCS IR Infrared Slotted Optical Optocoupler Speed Measuring Sensor Module 3.3-5V for Arduino...
06Speed Measurement Kit

DAOKAI 5PCS IR Slotted Optical Optocoupler Sensor

This set includes five IR infrared slotted optical optocoupler modules designed for speed measuring and pulse counting. The modules use infrared detection to eliminate external stray light interference and feature a Schmitt trigger for stable waveforms. They operate on 3.3V to 5V and provide a digital switch output.

The package includes encoders and Dupont wires, making it a ready-to-use kit for Arduino users building smart robot cars or motor speed detection systems.

  • Includes 5 sensors, 5 encoders, and Dupont wires
  • 3.3V-5V operation with digital switch output
Podazz 10PCS IR Sensor Module, Velocimetry Sensor Module, Optical Interrupter Sensor, Slotted...
07

Podazz 10PCS IR Sensor Module Slotted Optocoupler

This package contains ten IR sensor modules utilizing a slot photoelectric sensor with an IR LED and NPN phototransistor. The 5.9mm wide slot triggers a low TTL level output when interrupted by a non-transparent object. The use of Schmitt triggers ensures stable dither pulses for applications like small vehicle speed measurement.

The modules operate on 3.3V to 5V and feature mounting holes for M3 screws, providing a robust solution for Arduino-based robotics.

  • Includes 10 IR sensor modules with 5.9mm slots
  • 3.3V-5V operation with M3 screw mounting holes
Teyleten Robot IR Infrared Slotted Optical Optocoupler Module Speed Measuring Sensor 3.3V to 5V...
08

Teyleten 10pcs Robot IR Slotted Optical Optocoupler

This listing offers ten IR infrared slotted optical optocoupler modules for speed measuring. The modules are designed for 3.3V to 5V power supplies and connect to microcontroller I/O ports. The description provides specific wiring guidance for different microcontroller types, noting that 51 series MCUs can be used directly while others may require input mode configuration.

It is a practical choice for hobbyists integrating speed sensors into robot projects.

  • Includes 10 IR slotted optical optocoupler modules
  • 3.3V to 5V operating voltage range

Head-to-Head Comparisons

Reland Sun CNY70 vs KAIOULU Break Beam Sensors

The Reland Sun CNY70 is a reflective sensor that detects objects by reflecting light back to the sensor, requiring only one component per detection point. In contrast, the KAIOULU break beam sensor uses a separate transmitter and receiver pair, detecting objects when the 30cm infrared beam is interrupted.

The reflective design is simpler to install but may be affected by surface color, while the break beam method offers a defined detection zone. Choose the CNY70 for simple proximity checks and the KAIOULU for applications where a specific beam path must be maintained.

EC Buying vs Podazz Slotted Optical Modules

Both the EC Buying and Podazz modules are slotted optical optocouplers with a 5.9mm slot width and NPN transistor output. They both operate on 3.3V to 5V and use Schmitt triggers for stable pulse output. The primary difference lies in the package quantity, with EC Buying offering ten units and Podazz also offering ten units.

Since the technical specifications are identical, the choice depends on availability and current pricing. Both are suitable for speed measurement and distance measurement in robot cars.

DAOKAI vs Teyleten Speed Measuring Sensors

The DAOKAI package includes five sensors, five encoders, and Dupont wires, making it a more complete kit for immediate use. The Teyleten package includes ten sensors but does not list encoders or wires in the title. Both operate on 3.3V to 5V and are designed for speed measuring.

If you already have encoders and wiring, the Teyleten ten-pack offers more sensor units. If you need a ready-to-go setup with encoders, the DAOKAI kit provides the necessary accessories for a quick start.

Buying Guide

Reflective vs Break Beam Detection

Reflective sensors like the CNY70 detect objects by reflecting light off a surface, making them suitable for proximity detection where the object is near the sensor. Break beam sensors use a separate transmitter and receiver, detecting objects when the light path is interrupted. Reflective sensors are easier to install but may be affected by surface color, while break beam sensors offer a more defined detection zone.

Choose based on whether you need proximity or through-beam detection.

Voltage Compatibility and Output Type

Most slotted modules in this list operate on 3.3V to 5V, which is compatible with common microcontrollers like Arduino. The output is typically a digital switch (0 and 1) or low TTL level. Ensure your microcontroller's I/O voltage matches the sensor's operating voltage. Some sensors, like the KAIOULU break beam, specify 5V DC input.

Check the voltage requirements to avoid damaging your components or receiving no signal.

Slot Width and Physical Dimensions

Slotted optical sensors have a specific slot width, often 5.9mm in this category. This width determines the size of the object that can pass through to trigger the sensor. Ensure the slot width matches your mechanical design, such as the width of a wheel or encoder disk.

The physical dimensions of the module also affect installation space. Check the mounting holes and overall size to ensure it fits your project chassis.

Package Quantity and Accessories

Packages range from 5 to 50 units. Bulk packages like the 50pcs CNY70 are suitable for large projects or inventory. Smaller packages may include accessories like encoders or Dupont wires, which can save time during setup. Consider whether you need multiple sensors for different axes or just one for a single detection point.

Check the included accessories to determine if you need to purchase additional wiring or encoders separately.

Frequently Asked Questions

What is the difference between reflective and slotted sensors?

Reflective sensors detect objects by bouncing light off a surface, while slotted sensors require an object to pass through a gap between an emitter and receiver. Reflective sensors are for proximity, while slotted sensors are for through-beam detection.

Can I use these sensors with Arduino?

Yes, most slotted modules operate on 3.3V to 5V, which is compatible with Arduino. Connect the OUT pin to a digital input pin and ensure the voltage matches. Some sensors may require setting the I/O pin to input mode.

Do I need to calibrate these sensors?

The KAIOULU break beam sensors are described as having a simple design that allows for quick wiring without complex calibration steps. Slotted sensors typically trigger when the beam is interrupted, requiring minimal setup.

What is the detection distance for break beam sensors?

The KAIOULU break beam sensors have a detection distance of up to 30cm. This is suitable for short-range sensing tasks. Reflective sensors like the CNY70 typically have a shorter detection range, depending on the surface reflectivity.

Last update on 2026-11-19 / Affiliate links / Images from Amazon Product Advertising API

Was this article helpful?

Thanks for your feedback!

Thanks — we'll work to improve this article.

Kylan Shields

Kylan Shields

Kylan Shields is the editorial byline of Tossions. Comparisons published under this name are compiled from Amazon listing data (specifications, customer ratings and availability), not from hands-on testing.