I want to replace my mechanical home switch with an optical switch - the mechanical switch isn't accurate or repeatable enough. My problem is that Mach3 isn't recognizing the switch.
In the first picture, you can see that with the switch open, I get ~5 volts between ground and signal.
In the second picture, you can see that the voltage goes to 0 when the switch is closed.
In the meantime, on the diagnostics screen in Mach3, nothing is detected.
So then I decided to see what was going on between the signal lead (orange) and ground.
In the third picture, you can see that I get about 11.46V when the switch is open and then in the fourth picture the voltage drops to only 11.36V.
Finally, you can see the layout of my 5V supply. A conversion module comes off the 48V power supply.
There is no ground pin on the conversion module, so I am presuming that it grounds through the negative terminal back to the power supply.
My guess is that I have some voltage leak between ground and +48V.
Any ideas?
Thanks
Gary