

The LJ12A3-4-Z/BX is a non-contact inductive proximity sensor designed to detect metallic objects within a specified range using electromagnetic fields. This sensor is widely used in industrial automation, robotics, and manufacturing systems for position sensing, object detection, and counting applications. Its robust design and reliable performance make it suitable for harsh environments.








| Parameter | Value |
|---|---|
| Model | LJ12A3-4-Z/BX |
| Sensing Distance | 4 mm |
| Sensing Target | Metallic objects (e.g., iron) |
| Output Type | NPN Normally Open (NO) |
| Operating Voltage | 6V to 36V DC |
| Output Current | ≤ 300 mA |
| Response Frequency | 500 Hz |
| Operating Temperature | -25°C to +70°C |
| Housing Material | Nickel-plated brass |
| Protection Rating | IP67 (dust-tight and water-resistant) |
| Pin Name | Wire Color | Description |
|---|---|---|
| VCC | Brown | Positive supply voltage (6V to 36V DC) |
| GND | Blue | Ground connection |
| OUT | Black | Output signal (NPN, Normally Open) |
The LJ12A3-4-Z/BX can be easily interfaced with an Arduino UNO for object detection. Below is an example circuit and code:
// LJ12A3-4-Z/BX Inductive Proximity Sensor Example
// This code reads the sensor's output and prints the detection status to the Serial Monitor.
const int sensorPin = 2; // Sensor output connected to digital pin 2
int sensorState = 0; // Variable to store the sensor state
void setup() {
pinMode(sensorPin, INPUT); // Set sensor pin as input
Serial.begin(9600); // Initialize serial communication at 9600 baud
}
void loop() {
sensorState = digitalRead(sensorPin); // Read the sensor's output state
if (sensorState == HIGH) {
// If the sensor detects a metallic object
Serial.println("Metallic object detected!");
} else {
// If no object is detected
Serial.println("No object detected.");
}
delay(500); // Wait for 500 milliseconds before the next reading
}
| Issue | Possible Cause | Solution |
|---|---|---|
| Sensor not detecting objects | Object is out of sensing range | Ensure the object is within 4 mm of the sensor face. |
| False detections or noise | Electrical interference or noise | Use shielded cables and keep wiring short. |
| No output signal | Incorrect wiring or insufficient power | Verify wiring connections and power supply voltage. |
| Reduced sensing range | Non-ferrous target material | Use ferrous metals for optimal detection. |
Can the sensor detect non-metallic objects?
No, the LJ12A3-4-Z/BX is designed to detect metallic objects only.
What happens if the supply voltage exceeds 36V?
Exceeding the maximum voltage may damage the sensor permanently. Always use a regulated power supply within the specified range.
Can I use this sensor outdoors?
Yes, the IP67 rating allows for outdoor use, but avoid prolonged submersion in water.
How do I extend the sensing range?
The sensing range is fixed at 4 mm. To detect objects at a greater distance, consider using a different sensor model with a longer range.
By following this documentation, you can effectively integrate the LJ12A3-4-Z/BX inductive proximity sensor into your projects and troubleshoot common issues with ease.