I'm going to control a closed-loop step motor and driver using only two signals: step and direction.
These two outputs will be connected to the driver (whose inputs are opto-isolated) as follows:
An MCU will be switching the optoisolators' LEDs, by sinking current when its assigned pins go low.
Question: if I were to use long wires (say, up to 10m), is some form of filtering and protection needed at the MCU side, such as diodes, or RC snubbers, other than the obvious twisted-pairs shown in the diagram?
These two outputs will be connected to the driver (whose inputs are opto-isolated) as follows:
An MCU will be switching the optoisolators' LEDs, by sinking current when its assigned pins go low.
Question: if I were to use long wires (say, up to 10m), is some form of filtering and protection needed at the MCU side, such as diodes, or RC snubbers, other than the obvious twisted-pairs shown in the diagram?