Hello, I'm retro fitting a denford CNC Mill. The mill comes with 2 wire namur proximity sensors for homing the machine. These sensors don't seem to switch on/off but instead change the resistance of the sensor. Is there any way to activate the Arduino pins by this change of current?
Since you have obviously measured the changing resistance, use an Arduino to measure the changing resistance as a changing voltage using the AD pins. You will need a construct a voltage divider using the sensor and a fixed resistor. 5 volts on the added resistor end. Ground the remaining end of the sensor wiring. attach the mid-point to the Arduino pin and write code to watch the return value from the AD converter pin.
Thank you for the quick reply. I'm an electronics noob so I'm a bit slower to pick electronics up.
Iv found this diagram below on the net. Would this work ?
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.