A diffuse sensor with a 5 mm range is a near-contact detector. The infrared LED and the receiver share one housing, and the part itself has to reflect the light back from within a few millimetres of the sensor face, so the EE-SPY301 goes at the edge of the part path (in a guide, a nest wall or a station fixture) instead of watching from a distance. Everything sits on one side of the part, which is the reason to choose it where there is no room for a receiver opposite.
The 5 mm figure is a rating on a bright reference target, not a cut-off. Dark parts are detected closer in, a glossy part tilted away from the sensor returns little light, and a shiny surface farther away than 5 mm, such as a steel rail or a polished belt, can still switch the output. The output is NPN: it pulls the signal line to 0 V when active, so the receiving input must accept NPN sensors.
Best for
Confirming that a carton or tray has arrived at a packaging-inspection station when only one side is accessible, with the part stopping a few millimetres from the sensor face.
Checking that a nest or pocket is occupied before a camera cycle starts, with the sensor facing the part from a few millimetres away at a fixed height.
Short sorting guides where the part always rides against the same wall, so the reflected signal stays consistent from piece to piece.
Selection notes
Run the darkest and the shiniest part you handle through the planned position, then run an empty position. Anything that switches the output with no part present (a rail, a guide, the belt) has to be moved, covered or angled away.
If the background must be ignored beyond a set distance, that is the job of a background-suppression sensor.
Where both sides of the path are accessible and the finish of the parts varies, a through-beam sensor such as the EE-SX671 (5 mm, NPN) reacts to a blocked beam instead of reflectivity, provided the part is opaque and passes between its emitter and receiver.
Specifications: General
Brand
Omron
Sensor type
photoelectric
Specifications: Performance
Range / distance
5 mm
Specifications: Sensing
Sensing method
diffuse
Light source
Infrared LED
Specifications: Output
Output type
NPN
This product groups every purchasable order code that shares the same sensing method, range and output. Cable length, connector type and operation mode (Light-ON/Dark-ON, NO/NC) vary by order code below.
Family variants with highlighted differences
Model
Output type
Availability
EE-SPY301 Base
NPN
On request
Applications this product is commonly selected for. Open one to see the full recommended hardware and approach.
These steps take an Omron Sentech (STC) camera from the box to a stable first image and on to your own application. They apply across the GigE Vision, USB3 Vision and CoaXPress STC families; the interface only changes how you cable and power the camera.
Download and install the Sentech SDK on the host PC. The package provides StViewer, the viewing and configuration software you use to bring the camera up, and StApi, the programming SDK you integrate later. Because the cameras are GenICam/GenTL-compliant, StApi also registers a GenTL producer, so any GenICam-compliant third-party vision software can discover and drive the camera as an alternative front end.
2. Cable, power and connect the camera
Connect according to the interface. GigE Vision: link to a Gigabit NIC (use PoE or the separate power input) and put the camera and host on the same subnet; for USB3 Vision use a USB 3.x port and a certified cable; for CoaXPress (STC) connect to a CoaXPress frame grabber, which also supplies Power-over-Coax. Then open StViewer and let it enumerate the camera. If a GigE camera does not appear, check the IP configuration and firewall, and on USB3 confirm the host bandwidth and driver.
3. Configure exposure, gain and white balance
Open the device in StViewer and start a live stream. Set exposure and gain for a well-exposed, low-noise image: raise exposure first and only add gain when more light or a faster shutter is not an option, keeping exposure short enough to freeze motion on global-shutter models. On colour cameras, run white balance under your actual production lighting. Adjust the lens aperture and focus on a representative target before tuning anything else.
4. Set the trigger and grab a first image
Start in free-run (continuous) acquisition to confirm a clean, stable image. For inline inspection switch to hardware or software triggering: select the trigger source, set the active edge and any delay, and wire the strobe or illumination to the camera's I/O so lighting fires with each exposure. Acquire and save a frame in StViewer; this saved image is your reference for the SDK stage and for downstream inspection.
5. Move to the StApi SDK (or any GenICam software)
Once the image is stable, reproduce the same settings in code. Use StApi to open the device, apply the GenICam features you validated in StViewer (exposure, gain, trigger, pixel format) and grab frames into your application via the bundled C++, C, C#/.NET or Python interfaces; the included samples are the fastest starting point. Prefer a different stack? The same GenICam/GenTL camera works with third-party vision libraries. With a reliable feed, you can route it into a deep-learning inspection such as Rosepetal for AI-based defect detection.
Frequently asked questions
No. The LED is infrared, so there is no visible spot.