21
General Mach Discussion / Re: Can you wire a proximity sensor directly to a motion control board like a pokeys
« on: April 13, 2018, 01:42:39 PM »
If the input normally takes 5v as a signal, you have to pull up the pin and set the input to active low.
I have a Stepper3 Ether mach CS controller and, after modifying it by removing the input led's, use npn proximity sensors at 12v feeding the inputs through a 390 ohm resistor. The sensors have a 10K internal pull up. This gives about 3.7v at rest, enough to take the pin high, and it goes to 0v when proximity occurs.
I should note that the controller has 4.7K pull down resistors on the inputs. I removed the leds because they were also pulling down the pin with a 39 ohm resistor making them unusable. Long story.
I have a Stepper3 Ether mach CS controller and, after modifying it by removing the input led's, use npn proximity sensors at 12v feeding the inputs through a 390 ohm resistor. The sensors have a 10K internal pull up. This gives about 3.7v at rest, enough to take the pin high, and it goes to 0v when proximity occurs.
I should note that the controller has 4.7K pull down resistors on the inputs. I removed the leds because they were also pulling down the pin with a 39 ohm resistor making them unusable. Long story.