Stufin
Home Quick Cart Profile

LJ18A3-8-Z-BX 8mm Inductive Proximity Sensor

Buy Now on Stufin

Component Name

LJ18A3-8-Z-BX 8mm Inductive Proximity Sensor

Overview

The LJ18A3-8-Z-BX is a high-quality, 8mm inductive proximity sensor designed for detecting the presence or absence of metal objects. This sensor is suitable for a wide range of industrial automation applications, including robotics, machine tools, and conveyor systems.

Functionality

The LJ18A3-8-Z-BX inductive proximity sensor works on the principle of electromagnetic induction, where an oscillating magnetic field is generated by a coil inside the sensor. When a metal object enters the detection zone, it disturbs the magnetic field, inducing an electromotive force (EMF). The sensor detects this change in the EMF and outputs a signal indicating the presence of the metal object.

Key Features

  • Detection Range: 8mm (10%)

The LJ18A3-8-Z-BX has a detection range of 8mm, making it suitable for detecting small metal objects or sensing the presence of metal in tight spaces.

  • Operating Frequency: 20 kHz to 100 kHz

The sensor operates at a frequency range of 20 kHz to 100 kHz, ensuring reliable detection and minimizing interference from external noise sources.

  • Output: NPN or PNP (Selectable)

The sensor features a selectable output, allowing users to choose between NPN (normally open) or PNP (normally closed) output configurations, depending on their application requirements.

  • Supply Voltage: 12 V to 24 V DC

The LJ18A3-8-Z-BX operates on a supply voltage range of 12 V to 24 V DC, making it compatible with a wide range of industrial automation systems.

  • Response Time: 500 s

The sensor has a fast response time of 500 s, enabling it to detect objects rapidly and accurately.

  • Detection Mode: Normally Open (NO) or Normally Closed (NC)

The LJ18A3-8-Z-BX can be configured to operate in either normally open (NO) or normally closed (NC) detection modes, depending on the application requirements.

  • Housing Material: PBT (Polybutylene Terephthalate)

The sensor housing is made from high-quality PBT material, providing excellent resistance to chemicals, heat, and mechanical stress.

  • IP67 Rating:

The LJ18A3-8-Z-BX has an IP67 rating, ensuring the sensor is protected against dust ingress and can withstand immersion in water up to 1 meter for 30 minutes.

  • Operating Temperature: -25C to 70C

The sensor operates reliably in a wide temperature range of -25C to 70C, making it suitable for use in various industrial environments.

  • Cable Length: 2 meters (standard), custom lengths available

The sensor comes with a standard 2-meter cable length, but custom lengths can be provided upon request.

Applications

The LJ18A3-8-Z-BX 8mm inductive proximity sensor is suitable for a wide range of industrial automation applications, including

Robotics and machine tools

Conveyor systems and material handling

Packaging and manufacturing

Food processing and pharmaceutical industries

Access control and security systems

Technical Specifications

Please refer to the datasheet or manufacturer's documentation for detailed technical specifications, including dimensions, electrical characteristics, and environmental requirements.

Pin Configuration

  • LJ18A3-8-Z-BX 8mm Inductive Proximity Sensor Pinout Description
  • The LJ18A3-8-Z-BX 8mm Inductive Proximity Sensor is a popular IoT component used for detecting metallic objects. It has a 3-pin configuration, which is described below:
  • Pin Description:
  • 1. VCC (Pin 1)
  • Function: Power Supply
  • Description: This pin is used to connect the power supply to the sensor. The recommended operating voltage is between 6V and 36V DC.
  • Connection: Connect this pin to a positive DC power supply (e.g., +12V or +24V) using a suitable gauge wire.
  • 2. GND (Pin 2)
  • Function: Ground
  • Description: This pin is used to connect the ground of the sensor to the system ground.
  • Connection: Connect this pin to the system ground (e.g., GND of a microcontroller or a power supply) using a suitable gauge wire.
  • 3. OUT (Pin 3)
  • Function: Output
  • Description: This pin provides a digital output signal indicating the presence or absence of a metallic object within the detection range.
  • Connection:
  • + When a metallic object is detected, the output is LOW (typically 0V).
  • + When no object is detected, the output is HIGH (typically VCC voltage).
  • + Connect this pin to a digital input pin of a microcontroller or a logic circuit that can handle the output voltage and current.
  • Connection Structure:
  • To connect the LJ18A3-8-Z-BX 8mm Inductive Proximity Sensor, follow this structure:
  • Connect the VCC pin (Pin 1) to a positive DC power supply (e.g., +12V or +24V) using a suitable gauge wire (e.g., 20 AWG).
  • Connect the GND pin (Pin 2) to the system ground (e.g., GND of a microcontroller or a power supply) using a suitable gauge wire (e.g., 20 AWG).
  • Connect the OUT pin (Pin 3) to a digital input pin of a microcontroller or a logic circuit that can handle the output voltage and current.
  • Note:
  • Make sure to use a suitable gauge wire to minimize voltage drops and ensure reliable operation.
  • The sensor should be connected to a stable power supply to ensure accurate detection.
  • When using the sensor with a microcontroller, ensure that the output pin is connected to a digital input pin that can handle the output voltage and current.
  • Refer to the datasheet for specific details on the sensor's operating characteristics, certifications, and safety precautions.

Code Examples

LJ18A3-8-Z-BX 8mm Inductive Proximity Sensor Documentation
Overview
The LJ18A3-8-Z-BX is an 8mm inductive proximity sensor designed for detecting the presence of metal objects. This sensor operates on the principle of electromagnetic induction, generating a magnetic field that induces eddy currents in nearby conductive materials. The sensor outputs a digital signal when the detected object is within the sensing distance.
Technical Specifications
Sensing distance: 8mm
 Operating voltage: 6-36V DC
 Output type: Digital (PNP or NPN)
 Response time: 1ms
 Operating frequency: 500Hz
 Temperature range: -25C to 70C
Pinout
The LJ18A3-8-Z-BX has a 3-pin connector:
VCC (1): Power supply (6-36V DC)
 GND (2): Ground
 OUT (3): Digital output signal
Code Examples
### Example 1: Basic Object Detection using Arduino
This example demonstrates how to use the LJ18A3-8-Z-BX with an Arduino board to detect the presence of a metal object.
```c
const int sensorPin = 2;  // Connect the OUT pin to digital pin 2 on the Arduino
const int ledPin = 13;   // Connect an LED to digital pin 13 on the Arduino
void setup() {
  pinMode(sensorPin, INPUT);
  pinMode(ledPin, OUTPUT);
}
void loop() {
  int sensorState = digitalRead(sensorPin);
  if (sensorState == HIGH) {
    digitalWrite(ledPin, HIGH);  // Turn on the LED when an object is detected
  } else {
    digitalWrite(ledPin, LOW);  // Turn off the LED when no object is detected
  }
  delay(50);
}
```
### Example 2: Using the LJ18A3-8-Z-BX with Raspberry Pi (Python)
This example demonstrates how to use the LJ18A3-8-Z-BX with a Raspberry Pi to detect the presence of a metal object using Python.
```python
import RPi.GPIO as GPIO
import time
# Set up the GPIO library
GPIO.setmode(GPIO.BCM)
# Set up the sensor pin as an input
sensor_pin = 17
GPIO.setup(sensor_pin, GPIO.IN)
try:
    while True:
        sensor_state = GPIO.input(sensor_pin)
        if sensor_state:
            print("Object detected!")
        else:
            print("No object detected")
        time.sleep(0.1)
except KeyboardInterrupt:
    GPIO.cleanup()
```
### Example 3: Using the LJ18A3-8-Z-BX with ESP32 (MicroPython)
This example demonstrates how to use the LJ18A3-8-Z-BX with an ESP32 board to detect the presence of a metal object using MicroPython.
```python
import machine
import time
# Set up the sensor pin as an input
sensor_pin = machine.Pin(32, machine.Pin.IN)
while True:
    sensor_state = sensor_pin.value()
    if sensor_state:
        print("Object detected!")
    else:
        print("No object detected")
    time.sleep_ms(100)
```
These examples demonstrate the basic usage of the LJ18A3-8-Z-BX inductive proximity sensor. You can modify the code to suit your specific application requirements.