In modern industrial automation and mechanical equipment, high-precision, high-reliability position detection and motion control is the cornerstone of intelligent manufacturing. CXHA31125 series miniature photoelectric sensor, with its excellent performance, flexible driving mode and a wide range of applicable voltage, become the ideal choice in the field of mechanical motion detection and position control. This article will analyze the functional characteristics, electrical parameters, application scenarios and precautions of the CXHA31125 in depth, and provide a comprehensive technical reference for engineers and system integrators.
-
[ CXHA31125 ]"
In modern industrial automation and mechanical equipment, high-precision, high-reliability position detection and motion control is the cornerstone of intelligent manufacturing. CXHA31125 series miniature photoelectric sensor, with its excellent performance, flexible driving mode and a wide range of applicable voltage, become the ideal choice in the field of mechanical motion detection and position control. This article will analyze the functional characteristics, electrical parameters, application scenarios and precautions of the CXHA31125 in depth, and provide a comprehensive technical reference for engineers and system integrators.
1. Product Overview and Core Features
The CXHA31125 is a miniature photoelectric sensor with a current drive capability of 50 to 100mA, which can be directly installed inside the machine for applications such as detecting the position, motion or counting of objects. Its most notable features include:
1.1. Dual drive mode: Support shading drive (Dark-ON) and light transmission drive (Light-ON), users can select through the L pin level;
With shading/light transmission indicator, can directly confirm the action
1.2. High response frequency: The response frequency is 1KHz, up to 3kHz, suitable for high-speed detection scenes,;
1.3. Two-color indicator lightShading/light transmission status indication for on-site debugging and status confirmation;
1.4. Wide voltage input: Support DC 5V ~ 24V, adapt to a variety of industrial power environment;
1.5.NPN open drain output: It can directly drive loads such as relays and PLC inputs.
2. pin function and electrical parameters
2.1. The CXHA31125 adopts a 4-pin design, and the functions of each pin are as follows:
| Pin Name | Function Description |
|---|---|
| VDD | Positive pole of power supply (5~24V) |
| L | Mode selection: light transmission mode when the positive pole is connected, and shading mode when floating |
| OUT | NPN open-drain output, maximum drive current 100mA |
| GND | Power Ground |
2.2. Its key electrical parameters include:
2.2.1) Operating current: 35mA typical
2.2.2) Sensing distance: groove width 5mm
2.2.3) Minimum resolution distance:0.025mm
2.2.4) Working temperature:-30 ℃ ~ 50 ℃
2.2.5)Response frequency:1kHz~3kHz
Detailed explanation of 3. application scenarios
CXHA31125 are widely used in the following industrial and automation scenarios:
3.1. Mechanical equipment position detection: such as conveyor belt item counting, access control switch detection;
3.2. Motion control feedback.: Used for motor speed detection and stepper motor position feedback;
3.3. Automated assembly line: Check whether the parts are inspected and assembled in place;
3.4. Electronic equipment safety testing: such as printer paper detection, ATM cash box status detection;
3.5. Laboratory instrumentsHigh precision displacement or rotational speed measurement.
3.6. Application Information
4. I/O Circuits and Wiring Examples

4.1. The CXHA31125 supports two output modes:
4.1.1)Light-ON mode: When the light passes through the sensor, the output is turned on, and the indicator light is on red;
4.1.2)Dark-ON mode: When the light is blocked, the output is turned on and the indicator light goes out.
4.2. The output is NPN open-drain structure, which can directly drive relays, solenoid valves or PLC digital input modules. Typical wiring is as follows:
VDD → 5~24V
L & rarr; connected to VDD (transmission mode) or floating (shading mode)
OUT & rarr; load (e. g. relay coil)
GND & rarr; Power Ground
Precautions for the use of 5.
In order to ensure the long-term stable operation of the sensor, the following points should be noted:
5.1. Anti-static protection: The CXHA31125 is an electrostatic sensitive device, and anti-static measures should be taken during operation and welding;
5.2. Welding conditions: It is recommended to use a soldering iron with a temperature not exceeding 350 ℃, and the soldering time should be controlled within 3 seconds to avoid soldering to the area within 1.5mm of the terminal root;
5.3. Environmental adaptability: The sensor protection level is IP50, not waterproof and oil-proof, and should be avoided in a humid, dusty or liquid splashing environment;
5.4. Electrical loads: The output current must not exceed 100mA, otherwise the internal transistor may be damaged;
5.5. Optical interference: Avoid strong light direct to the receiver to avoid misoperation.
Recommendations for 6. installation and commissioning
6.1. When installing, ensure that there is no obstruction between the sensor and the measured object, and the optical path is clear;
6.2. During debugging, the working mode and output state can be quickly confirmed by means of indicator lights;
6.3. It is recommended to install protection diodes (such as freewheeling diodes) at the output, especially when driving inductive loads;
6.4. If it is used in high-speed detection scenarios, the response frequency threshold should be set reasonably to avoid missed detection or false triggering.
7. Package Schematic
8. Summary
CXHA31125 miniature photoelectric sensor has become the preferred device for position detection and motion control in industrial automation and mechanical equipment because of its dual-mode drive, high response frequency, wide voltage input and good environmental adaptability. Whether in high-speed production lines, precision instruments or general industrial environments, it can provide stable and reliable detection performance and help the system achieve a higher level of automation and intelligence.
IX. Related Products
| Sensor | |||||
| Model | Detection method | Detection distance | Output Configuration | Driving mode | Remarks |
| CXHA31125 | Shading groove type | 5mm (groove width) | The shading indicator is on and can be passed through the port.L(+) When the light transmission is selected, the indicator light is on. | NPN | Photoelectric sensor |
| CXHA31125A | Shading groove type | 5mm (groove width) | The shading indicator light is on, and the indicator light is on when the light transmission is selected through the port L () | NPN | Photoelectric sensor |
| CXHA31125B | Shading groove type | 5mm (groove width) | The shading indicator light is on, and the indicator light is on when the light transmission is selected through the port L () | NPN | Photoelectric sensor |
| Model | Operating voltage | Port withstand voltage | PWM period | Encapsulation form | |
| CXHA31126 | 2.4V-5V | 6V | 6.13ms | SOT23-5 | Vibration sensor |
| CXHA31127 | 2.4V-5V | 6V | 4.87ms | SOT23-5 | Vibration sensor |
| CXHA31128 | 2.8V-9.5V | - | - | SOP8/SOT23-6 | Vibration sensor |
| CXHA31129 | 2.7V-5.2V | - | Adjustable Duty Cycle | SOT23-6/DFN6H | Vibration sensor |
| CXHA31130 | 2.7V-5.2V | - | frequency adjustable | SOT23-6/DFN6H | Vibration sensor |
| CXHA31131 | 2.7V-5.2V | - | I2C control | MSOP10/SSOP10/QFN3*3 | Vibration sensor |
| Model | Operating voltage | Number of Interfaces | Number of driving keys | Encapsulation form | |
| CXHA31132 | 2.2V-5.5V | 2,4 | 8 | SOP16 | Touch Sensor |
| CXHA31132S | 2.2V-5.5V | 2 | 8 (support slider function) | SOP16 | Touch Sensor |
| CXHA31133 | 2.2V-5.5V | 2 | 8 | SOP16 | Touch Sensor |
| CXHA31134 | 2.8V-3.6V | 4 | 28 | QFN40 | Touch Sensor |
| CXHA31135 | 2.8V-3.6V | 4 | 36 | QFN48 | Touch Sensor |




