Hi, I made a chain positioner powered by a stepper motor. One arduino mega feeds a pulse train to advance the chain a certain speed and distance. Another mode of operation is scrolling or jogging the chain to its starting position. When in pulse ready mode, it allows a second arduino uno to tell it to start the pulse train; when the pulse train is finished, it hands control back to the arduino uno.
Everything works great, except occasionally it starts on its own or does a second unwanted chain advancement. I put a scope on the pins and found 5 volt peak to peak oscillation at about 16KHz interval on the arduino power rails as well as all input and output pins. The stepper controller, when enabled, not even moving, emits a 16KHz square wave detected by a scope probe brought near the stepper controller. I have disconnected all wiring from the stepper controller to the arduinos, the connections are through opto-isolators anyway, grounded the machine and all power supplies, changed power supplies, etc. Also tried 0.1 uF disc capacitors everywhere. The microcontroller arduinos are powered separately from the stepper controller. There is no wiring connection between the arduinos and the stepper controller at this time but the noise gets into the arduinos.
Any other ideas to suppress this noise? The project would run great except for this interference. Thanks for any input about this problem.