Need Help with IR Sensor Speed Control for Large DC Motor

I can give that a shot. I'll attach a 5k pot to control the speed of the motor, and disconnect the PWM signal from the speed control. I'll let you know how it turns out. I've had a couple more ideas while trouble shooting this.

The motor is controlled by a +5V signal into an optoisolater, and the PWM attached to the other side, i.e. PWM goes low, motor turns on. The senors are also powered from a +5V source. The +5V for both of these circuits is supplied from the Arduino. Would the PWM running effect the current going into the speed control circuit enough to keep it from getting a signal?

+5V,GND, and Sensor wires are in pretty close proximity to the 120Vrms going into the speed control. As well as the DC line to the motor. Would the flux have any effect on the signal? Power electronics is definitely not my forte.

Thank you very much for you help!