21
General Mach Discussion / Automation Direct Photo switch
« on: April 22, 2008, 12:17:09 PM »
I am trying to use an NPN photo switch as an X axis home switch. I have it connected into a Campbell breakout board. The problem I am running into is that the input is flickering. I have a couple of thoughts that I am hoping somebody can either verify or kill.
1) First, the switch is rated 10-36V. The board is 11.6V, close to the bottom edge.
2) The other is the opto isolator may not be able to react appropriately with a 250Hz signal.
3) The Campbell board indicates it is setup for inductive or mechanical switches. I am sensing wood, so inductive is out, and I would prefer non-contact in this application.
I read on one post that a guy put a 1k ohm resistor between the signal and ground to limit the bounce, any thoughts?
1) First, the switch is rated 10-36V. The board is 11.6V, close to the bottom edge.
2) The other is the opto isolator may not be able to react appropriately with a 250Hz signal.
3) The Campbell board indicates it is setup for inductive or mechanical switches. I am sensing wood, so inductive is out, and I would prefer non-contact in this application.
I read on one post that a guy put a 1k ohm resistor between the signal and ground to limit the bounce, any thoughts?