Electrical – How close to a stepper motor do I need to shield the wires

noiseshieldingstepper motor

I am trying to shield the cabling on my CNC mill. The motors, unfortunately, do not have connectors but instead have wire leads coming out from the motor housing. I can cut those wires about an inch from the motor and directly solder to the shielded wire, but will this 1" or so of exposed wiring defeat the purpose of shielding the cable? Unfortunately with the length of the cable I can't really slide the shielded housing up over the exposed wires without damaging the cable.

The primary goal is to reduce electrical noise which is causing false reports by limit switches (which is being addressed with an optoisolator / capacitor combo).

Best Answer

1k resistors inline with the signal wires plus 100nF capacitors to ground placed close to the circuit (LTCH1 here) will get rid of spikes coming back from your wires. Crosstalk is common with long wires running together, including low power signals!