I have a high torque motor that is controlled via a rocker switch (Rocker forward-CCW, Rocker backward- CW, center-no movement). For my application, I am trying to replace this switch with two relays. One relay would control the CW, the other would control CCW. I have successfully programmed the Arduino to switch the relay, but I am unable to get it to control the speed controller of the high torque motor.
My understanding of the relay, is that I should be able to use it as a regular switch- but I must not be connecting the right outputs to inputs. What connections should be made to replace the rocker switch with two relays? I believe that some combination of NO, COM and NC must be connected to the terminals where the rocker switch are, but am not sure which to where. Any help would be very much appreciated.
How many pins were connected on the rocker switch? By your description, the switch center position is OFF. I suspect your switch has 6 pins. So, you are correct, you can use two of the relays at the same time to reverse the motor, just as your switch did.
If you wire them correctly, you can activate ONE relay to give you an OFF position. Otherwise the motor will always go one way or the other.
The motor is connected to the C, common, on both relays. Connect the power + to the NC of one relay and the - to the NC of the other. Then wire from the NC of one relay to the NO of the other. DO that for both relays.
I do have a 6 pin switch. I had intended to have one relay activate CW, the other relay activate CCW, and off to be neither relay activated. I was going to use the logic of the Arduino to enforce that both relays were not simultaneously activated.
Are you saying that with your wiring system described, one relay activated makes it off, both relays activated makes it CW, and neither relay activated makes it CCW?
Sorry for the repeated question! Thank you so much for your quick reply!