M18 Capacitive Proximity Sensor

Digital Fiber, Photoelectric, Laser Range, Optical, Temperature, Rotary Encoder, Ultrasonic, Gas, Gyro, Accelerometer, FlexiBend, Flexiforce, Compass......

M18 Capacitive Proximity Sensor

Postby Priyanshi » Thu Apr 12, 2018 1:37 pm

Hey, is the sensor compatible with arduino? Some said that an external circuit may be needed to connect it with arduino. Can you help me with the circuit and also with it's code with arduino?


Thanks.
Priyanshi
Fledgling
 
Posts: 1
Joined: Thu Apr 12, 2018 1:34 pm

Re: M18 Capacitive Proximity Sensor

Postby Idris » Mon Apr 16, 2018 11:33 am

Hi Priyanshi,

Yes it is compatible with Arduino You can refer to the M18 Capacitive Proximity Sensor Wiring Diagram

Untitled.png
Untitled.png (26.37 KiB) Viewed 3597 times

Operating voltage: DC10-30V
Output signal: NPN, digital

Since Arduino IO pins is 5V, you can make connection something like this.
Untitled Sketch_bb.png

Then read digital signal at pin 9.

Hope this helps. Thanks.
Cytron Technologies invest time and resources providing tutorial, training and support for STEM education and maker movement. We need your support by purchasing products from Cytron Technologies. Thanks.
http://www.cytron.com.my
User avatar
Idris
Moderator
 
Posts: 409
Joined: Thu Mar 22, 2012 5:28 pm
Location: Pulau Pinang


Return to Sensor

Who is online

Users browsing this forum: No registered users and 8 guests

cron