Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use LJC18A3-B-Z/BY Capacitive Proximity Sensor: Examples, Pinouts, and Specs

Image of LJC18A3-B-Z/BY Capacitive Proximity Sensor
Cirkit Designer LogoDesign with LJC18A3-B-Z/BY Capacitive Proximity Sensor in Cirkit Designer

Introduction

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.

Explore Projects Built with LJC18A3-B-Z/BY Capacitive Proximity Sensor

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Arduino UNO Capacitive Proximity Sensor Object Detection System
Image of TestingNi: A project utilizing LJC18A3-B-Z/BY Capacitive Proximity Sensor in a practical application
This circuit uses an Arduino UNO to read signals from a capacitive proximity sensor, powered by a 2.1mm barrel jack. The sensor's signal is processed by the Arduino, which determines if an object is detected and outputs the result to the Serial Monitor.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Solar-Powered Environmental Monitoring System with Proximity Sensors and Buzzer
Image of Embedded Circuit: A project utilizing LJC18A3-B-Z/BY Capacitive Proximity Sensor in a practical application
This circuit is a sensor-based monitoring system powered by a solar charger. It uses an ESP32 microcontroller to process data from two capacitive proximity sensors and a DHT22 temperature and humidity sensor, and it can trigger a passive buzzer for alerts.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO-Based Proximity Sensor and RGB LED Control System
Image of eemeerteech: A project utilizing LJC18A3-B-Z/BY Capacitive Proximity Sensor in a practical application
This circuit uses an Arduino UNO to control two micro servos and three RGB LEDs based on inputs from a capacitive proximity sensor and two inductive sensors. The sensors' signals are read by the Arduino, which then drives the servos and LEDs accordingly. Power is supplied by two 9V batteries.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Automatic Passenger Counter and Temperature Sensor with Wi-Fi Connectivity
Image of Embedded Circuit: A project utilizing LJC18A3-B-Z/BY Capacitive Proximity Sensor in a practical application
This circuit is an automatic passenger counter and temperature sensor system powered by a solar charger. It uses an ESP32 microcontroller to interface with two capacitive proximity sensors for counting passengers and a DHT22 sensor for monitoring temperature and humidity, with data being sent to a Blynk mobile app and Google Sheets for real-time tracking and logging.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with LJC18A3-B-Z/BY Capacitive Proximity Sensor

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of TestingNi: A project utilizing LJC18A3-B-Z/BY Capacitive Proximity Sensor in a practical application
Arduino UNO Capacitive Proximity Sensor Object Detection System
This circuit uses an Arduino UNO to read signals from a capacitive proximity sensor, powered by a 2.1mm barrel jack. The sensor's signal is processed by the Arduino, which determines if an object is detected and outputs the result to the Serial Monitor.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Embedded Circuit: A project utilizing LJC18A3-B-Z/BY Capacitive Proximity Sensor in a practical application
ESP32-Based Solar-Powered Environmental Monitoring System with Proximity Sensors and Buzzer
This circuit is a sensor-based monitoring system powered by a solar charger. It uses an ESP32 microcontroller to process data from two capacitive proximity sensors and a DHT22 temperature and humidity sensor, and it can trigger a passive buzzer for alerts.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of eemeerteech: A project utilizing LJC18A3-B-Z/BY Capacitive Proximity Sensor in a practical application
Arduino UNO-Based Proximity Sensor and RGB LED Control System
This circuit uses an Arduino UNO to control two micro servos and three RGB LEDs based on inputs from a capacitive proximity sensor and two inductive sensors. The sensors' signals are read by the Arduino, which then drives the servos and LEDs accordingly. Power is supplied by two 9V batteries.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Embedded Circuit: A project utilizing LJC18A3-B-Z/BY Capacitive Proximity Sensor in a practical application
ESP32-Based Automatic Passenger Counter and Temperature Sensor with Wi-Fi Connectivity
This circuit is an automatic passenger counter and temperature sensor system powered by a solar charger. It uses an ESP32 microcontroller to interface with two capacitive proximity sensors for counting passengers and a DHT22 sensor for monitoring temperature and humidity, with data being sent to a Blynk mobile app and Google Sheets for real-time tracking and logging.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Industrial Automation: Detecting the presence of objects on conveyor belts, in packaging systems, and in manufacturing processes.
  • Robotics: Object detection for navigation and interaction.
  • Consumer Electronics: Touchless control panels and switches.
  • Security Systems: Intrusion detection and monitoring.

Technical Specifications

Key Technical Details

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 Configuration and Descriptions

Pin Number Pin Name Description
1 Vcc Power supply (6-36V DC)
2 GND Ground
3 OUT Output signal (NPN Normally Open)

Usage Instructions

How to Use the Component in a Circuit

  1. Power Supply Connection:

    • Connect the Vcc pin to a DC power supply ranging from 6V to 36V.
    • Connect the GND pin to the ground of the power supply.
  2. Output Signal Connection:

    • Connect the OUT pin to the input of a microcontroller or other control circuitry.
    • When an object is detected within the sensing range, the OUT pin will go low (0V).

Important Considerations and Best Practices

  • Adjusting Sensing Distance:

    • The sensing distance can be adjusted using the potentiometer located on the sensor. Turn the potentiometer clockwise to increase the sensing distance and counterclockwise to decrease it.
  • Mounting:

    • Ensure the sensor is mounted securely and aligned properly with the target object for accurate detection.
  • Environmental Factors:

    • The sensor is rated IP67, making it suitable for use in dusty and wet environments. However, avoid exposing it to extreme temperatures beyond its operating range.

Example Circuit with Arduino UNO

/*
  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
}

Troubleshooting and FAQs

Common Issues Users Might Face

  1. False Triggers:

    • Solution: Ensure the sensor is not exposed to strong electromagnetic interference. Adjust the sensing distance to avoid detecting unintended objects.
  2. No Detection:

    • Solution: Verify the power supply voltage is within the specified range. Check the wiring connections and ensure the sensor is properly aligned with the target object.
  3. Intermittent Detection:

    • Solution: Stabilize the sensor mounting and ensure there are no loose connections. Check for environmental factors that might affect sensor performance, such as temperature fluctuations or moisture.

FAQs

Q1: Can the sensor detect non-metallic objects?

  • A1: Yes, the capacitive proximity sensor can detect both metallic and non-metallic objects, including plastics, glass, and liquids.

Q2: How do I adjust the sensing distance?

  • A2: Use the potentiometer on the sensor to adjust the sensing distance. Turn it clockwise to increase the distance and counterclockwise to decrease it.

Q3: What is the maximum current the sensor can handle?

  • A3: The sensor can handle a maximum output current of 300mA.

Q4: Is the sensor waterproof?

  • A4: The sensor has an IP67 rating, making it dust-tight and protected against temporary immersion in water.

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.