The LJC18A3-B-Z/BY Capacitive Proximity Sensor is a versatile electronic component designed to detect the presence of nearby objects without physical contact. It operates by measuring changes in capacitance, making it ideal for applications where non-contact detection is essential. This sensor is commonly used in industrial automation, robotics, and consumer electronics.
Parameter | Value |
---|---|
Operating Voltage | 6-36V DC |
Output Type | NPN Normally Open (NO) |
Sensing Distance | 5-10mm (adjustable) |
Response Frequency | 100Hz |
Output Current | ≤ 300mA |
Operating Temperature | -25°C to +75°C |
Housing Material | ABS Plastic |
Protection Level | IP67 |
Pin Number | Pin Name | Description |
---|---|---|
1 | Vcc | Power supply (6-36V DC) |
2 | GND | Ground |
3 | OUT | Output signal (NPN Normally Open) |
Power Supply Connection:
Output Signal Connection:
Adjusting Sensing Distance:
Mounting:
Environmental Factors:
/*
Example code for interfacing LJC18A3-B-Z/BY Capacitive Proximity Sensor
with Arduino UNO. The sensor's output is connected to digital pin 2.
*/
const int sensorPin = 2; // Sensor output connected to digital pin 2
const int ledPin = 13; // Onboard LED for indication
void setup() {
pinMode(sensorPin, INPUT); // Set sensor pin as input
pinMode(ledPin, OUTPUT); // Set LED pin as output
Serial.begin(9600); // Initialize serial communication
}
void loop() {
int sensorValue = digitalRead(sensorPin); // Read sensor output
if (sensorValue == LOW) {
digitalWrite(ledPin, HIGH); // Turn on LED if object is detected
Serial.println("Object detected!");
} else {
digitalWrite(ledPin, LOW); // Turn off LED if no object is detected
Serial.println("No object detected.");
}
delay(100); // Small delay for stability
}
False Triggers:
No Detection:
Intermittent Detection:
Q1: Can the sensor detect non-metallic objects?
Q2: How do I adjust the sensing distance?
Q3: What is the maximum current the sensor can handle?
Q4: Is the sensor waterproof?
By following this documentation, users can effectively integrate the LJC18A3-B-Z/BY Capacitive Proximity Sensor into their projects, ensuring reliable and accurate object detection.