Have a UNO, IR Receiver and Motomamo Driver in a box which is connected to a 5 volt 2 amp stepper motor located 12 feet from the box. During develpment of the software I monitored the IR decoding function on my laptop. IR remote codes are detected properly and generate the desired control signals to the motor driver. When I connect the stepper motor and attempt to control the motor, control is very erratic. I assume it's due to rf interferrence to the interrupt driven IR receiver software. I use the IRremote.h library. If I use physical switches to control the stepper, it works ok. Possible fixes are decoupling capacitor the 5V power source, or capicitors on the stepper motor or ? If so, what size caps?
Bob Weber