I have done a previous project where I used an Arduino Mega to control a Three-phase industrial metal pattern scrolling machine (bender), and I faced many problems with noise voltage spikes being read as interrupts on Arduino pins.
I am now doing another project of similar requirements but I am looking into using Cat5e twisted pair for signal transfer:
- (Mega-> Opto-isolated Relay Board)
- (Limit switches board->Mega)
- (Mega<->Keypad)
I am also planning on keeping the signal wires as far off from power wires and boards as possible.
Of course, differential mode is not feasible in this case, but I was thinking of connecting all the white pairs to GND in an attempt to reduce noise and cross-talk.
Has anyone tried anything similar?
The machine is not well grounded, so I do not know if a shielded cable will give me better results or not. I am still doing my research before I start buying cables and terminals and it becomes more expensive to fix problems.
Any plausible suggestions are welcome.