Learn a simple way to use a 12 volt proximity sensor with an Arduino. This method works for capacitive and inductive sensors regardless if they are NPN or PNP sensors.
My Object Detecting Lawnmower:
, https://i.ytimg.com/vi/_l5boxbkfek/hqdefault.jpg
source
Thanks, that was really helpful.
hi, I have a retroreflective NPN sensor and have the same diagram like yours proximity sensor , but after many attempts it doesn't work at all
Hi, can you tell me what kind of part that you use or maybe you can send me the link to buy that part. Cause I need that so much, I need to connect my capacitive sensor to the arduino. Btw thank you for making the videos, it helps me a lot.
you wicked smaht
? cool
What if I want to use an analog sensor?
That's really cool! What do we do if we want the sensor to beep before the object gets too close, do we just get a stronger sensor or can this be controlled with Arduino code?