Hi everyone,
I have a small CNC machine and the limit switches (normally closed) are getting false triggers from the stepper motor wires that run inside the same cable trunking. None of the wires are shielded of course.
What's the best way to filter this noise? Current controller is an Arduino GRBL shield. Another controller is on its way, but I would like to solve this induced noise problem.
My first thought was an optoisolator, but as far as I can tell, I would need to add a completely separated power supply otherwise there would be a shared ground connection - that would negate the point of an optoisolator, right?
Otherwise, perhaps I could add a capacitor (value? series/parallel?) to filter the input? Since it's just a 5v DC on/off signal coming from the limit switches, maybe this could work, too?
Any help would be greatly appreciated!
All the best,
Dax Liniere.
I have a small CNC machine and the limit switches (normally closed) are getting false triggers from the stepper motor wires that run inside the same cable trunking. None of the wires are shielded of course.
What's the best way to filter this noise? Current controller is an Arduino GRBL shield. Another controller is on its way, but I would like to solve this induced noise problem.
My first thought was an optoisolator, but as far as I can tell, I would need to add a completely separated power supply otherwise there would be a shared ground connection - that would negate the point of an optoisolator, right?
Otherwise, perhaps I could add a capacitor (value? series/parallel?) to filter the input? Since it's just a 5v DC on/off signal coming from the limit switches, maybe this could work, too?
Any help would be greatly appreciated!
All the best,
Dax Liniere.