Page 1 of 1

M18 Capacitive Proximity Sensor wiring??

PostPosted: Mon Mar 19, 2012 7:32 pm
by pertdoherty

Re: M18 Capacitive Proximity Sensor wiring??

PostPosted: Mon Mar 19, 2012 9:15 pm
by ober
OK, I cannot see your photo or attachment, but base on the title and your question on NPN and PNP, I guess it should be this SN-KC1816-KP2, right?

My understanding, NPN is Open drain collector and NO is Normally Open, means the transistor is open by default. PNP is the kind of opposite and NC again is opposite of NO which is Normally Close.

I think that sensor is giving you 2 options to interface to your controller. Using NPN is easier. Try to connect the necessary voltage, 12 to 24V to the correct pin, Brown (+) and Blue (-), connect a resistor of let say 10K to NPN output pin (Black) and another terminal of resistor to 5V on Arduino. And that black pin also connect to any arduino digital pin which you have configure as input.

You can try to refer to the thread that we have been discussing here: http://forum.cytron.com.my/viewtopic.php?f=7&t=11406

http://forum.cytron.com.my/viewtopic.php?f=9&t=11154&p=16815&hilit=NPN+output#p16815

Re: M18 Capacitive Proximity Sensor wiring??

PostPosted: Tue Mar 20, 2012 2:31 pm
by pertdoherty
is this what u mean?

Image