I am using the pico+15/WK/I ultra sonic sensor for this project I am working on. Essentially I want to know distance using this very tiny sensor however the connector on the sensor is a 5 pin M12 connector. The arduino has no apparent plug that I can see (however I am often wrong). Please help.
I have tried looking for some sort of adapter that would allow me to use both the sensor and arduino but I am stuck. Does anyone know whether this is possible or am I out of luck.
Which Arduino? What supply voltage will you be using for the sensor (10 ~ 30)? You may need a voltage divider to lower the output voltage to suit your Arduino, you cannot apply more than Vcc + 0.5 volts to an Arduino pin.
I see, but then how would I be able to code the sensor and have it used with the arduino? I have only ever used the HC-SR04 ultrasonic sensor and that requires two pins, one for echo and one for trig, so how would I be able to use this one.
Thanks a lot for helping me with this question, means a lot.