Electronic – Motor Speed Controller Causing Relay to Lose Voltage and Stop Working

dcrelayreverse-polarity

I'm having some trouble wiring up a camera slider where a motor moves the camera to one end of a slider and hits an NC/NO/C 3-pin switch which triggers a 12V 8-Pin DPDT relay to reverse the motor polarity and move to the other end of the slider and trigger another switch. The camera keeps "ping-ponging" back and forth as it should. I'm basically following this example: http://cheesycam.com/cheesycam-diy-auto-reverse-polarity-motorized-video-slider-update/

Here is the wiring diagram from the cheesycam post:
enter image description here

The trouble is that I need to be able to control the speed of the camera, so I added a speed controller to the motor. The speed controller reduces the voltage to slow down the motor – which causes the relay to stop working once the speed/voltage is low enough.

Here is my wiring diagram:
enter image description here

Is there a way to retain the speed controller without reducing the voltage (and thus making the relay stop working)? Does it make sense to use a lower voltage relay (6V DC, for example) so it will work for a wider range of speeds?

I thought I could move the speed controller directly between the motor and the relay (basically use the relay's output as the input to the speed controller, and then use the speed controller output directly to the motor), but couldn't make it work.

Here is a related post regarding the same circuit I'm trying to build, but the answer uses a 3PDT relay (and plus I'm not able to read the wiring diagram there unfortunately): Adding Speed Control for a DC Motor

I not at all experienced with wiring circuits, so any help or ideas are greatly appreciated.

**UPDATE WITH FINAL SOLUTION:
@Charlie provided the solution after some back and forth. Here is the final working solution:
enter image description here

Ideally, this would be wired with a 3PDT relay, but all I had on hand was a 4PDT, so the last of the 4 relay switches was not used. This is working great, and the speed controller is now independent of the relay voltage, so the relay continues to work and reverse the polarity/direction of the motor even at low speeds.

Best Answer

I think this will do what you want. You will need an additional relay or a 3-pole relay. I showed a diode across the speed control output, but that may already be in the speed control. I also showed an on/off switch. This is similar to the circuit offered for the other question, but I showed an additional relay instead of a 3-pole relay. I hope it is easier to understand the way I drew it.

enter image description here