Professional Documents
Culture Documents
Interfacing With Proximity Sensor
Interfacing With Proximity Sensor
Pin-outs:
Brown - VCC (+)
Blue - Ground (-)
Black - Trigger Signal
Proximity Induction Sensor NPN Normally
Open Switch LJ12A3-4-Z/BX
Continued…..
Continued…..
The metal proximity sensor will have three color wire. The
blue should be in the ground, brown is on +VCC which should
be giving to Arduino + 5v VCC.
When you take metal near the sensor it induces more current
which results in higher voltage and the same one decreases as
the metal taken away from the sensor.
Serial monitor will depict the incoming signal from the analog
pin then make a threshold to determine if metal is detected or
not
Capacitive Proximity Sensor
Capacitive proximity sensors can be used to detect metallic and also
non metallic targets like paper, wood, plastic, glass, wood, powder,
and liquid.etc without physical contact.
Capacitive proximity sensors sense “target” objects due to the
target’s ability to be electrically charged.
Even non-conductors can hold charges and so could be detected
rather any object can be detected with this type of sensor.
The capacitive proximity sensor works on the principle of
capacitance.
Capacitive Proximity Sensors detect changes in the capacitance
between the sensing object and the Sensor.
The amount of capacitance varies depending on the size and
distance of the sensing object.
Continued…..
Circuit Diagram
The main components of the capacitive proximity sensor are a
plate, oscillator, threshold detector and the output circuit.
Construction and Working
The plate inside the sensor acts as one plate of the capacitor
and the target acts as another plate and the air acts as the
dielectric between the plates.
As the object comes close to the plate of the capacitor the
capacitance increases and as the object moves away the
capacitance decreases.
The detector circuit checks the amplitude output from the
oscillator and based on that the output switches.
The capacitive sensor can detect any targets whose dielectric
constant is more than air.
The changes in the capacitance generated between these two
poles are detected.
Continued…..
Advantages:
1. It can detect both metallic and non metallic targets.
2. Good stability
3. High Speed
4. Good Resolution
5. Capacitive sensors are good in terms of power usage
6. Low cost
Continued…..
Disadvantages:
1. They are affected by temperature and humidity
2. Could be triggered by dust, moisture, etc.
3. Sensitive to noise
4. Difficulties in designing
5. Linearity is not good
6. Capacitive proximity sensors are not as accurate compare to
inductive