Gallery, Projects and General > How do I?? |
Need Wiring Help For 12 Volt Motor |
(1/16) > >> |
snub:
I'm attempting to add a 12 Volt motor to drive the X axis on my milling machine. The problem is that the motors direction is changed by reversing the power wires. Clockwise direction is power to red wire, ground to black wire. Counter clockwise is power to black wire, ground to red wire. Here are the parts I intend to use. One 12 Volt power supply. Two SPST joysticks. One is momentary for fast table return (not controlled by the PWM). The other will be controlled by the PWM for slow feeding. One 12 Volt Pulse Width Modulator (PWM) for controlling the speed. Two DPDT relays ( I have more if needed). I think I have it figured out without the PWM, but when I factor that in it gets confusing. I tried finding some DPDT joysticks but had no luck. Here is a pic of the parts. |
awemawson:
You need to implement a 'double pole double throw centre off' function to have FWD-STOP-REV |
snub:
That is what I was hoping to accomplish with DPDT relays. |
bertie_bassett:
think iv come up with a wiring diagram that might work for you. ( someone please check as im rather sleep deprived) have had to assume a few things though, namely : * the pwm modual requires a + and -ve and outputs a seperate pwm +ve * the pwm modual dosn't mind having 24v applied to its output * the joysticks have a neutral point in the middle where none of the contacts are closed if no's 1 or 2 are wrong we should be able to make minor changes and still be good, if no 3 is wrong we will have to come up with something else. whoops, that will go bang :zap: should work as follows: S joystick moved left, power is applied to PWM modual and R1, pwm signal applied to motor, motor moves left S joystick moves right, power is applied to PWM modual and R2, pwm signal applied to motor, motor moves right F joystick moves left, 24v is applied to motor, motor moves fast left F joystick moves right, 24v is applied to motor, motor moves fast right iv added interlocks to stop both R1 + R2 ( left and right) being energised at the same time also if the motor is moving under pwm control and the fast joystick is moved in any direction, it will override the slow speed and move at full speed. hopefully thats all correct and what you were after, if not it should be a basis to work from. |
snub:
--- Quote from: bertie_bassett on December 10, 2014, 05:42:48 PM --- * the pwm modual requires a + and -ve and outputs a seperate pwm +ve * the pwm modual dosn't mind having 24v applied to its output * the joysticks have a neutral point in the middle where none of the contacts are closed if no's 1 or 2 are wrong we should be able to make minor changes and still be good, if no 3 is wrong we will have to come up with something else. --- End quote --- I'm totally unsure as to what you are talking about regarding the wiring of the PWM. Picture of the wiring below. And, yes, the joysticks have a neutral position with no contacts closed. Thanks for your help! |
Navigation |
Message Index |
Next page |