Hey guys,
I'm trying to interface a rocker switch in order to control 4 linear actuators with an Arduino Mega, and I'm a bit confused with the wiring setup for the switch. The vendor provided a wiring diagram for connecting the switch to an Arduino to control the actuators, but it is a bit unclear. The diagram shows how to set up 2 actuators in parallel, so I'm assuming that the same can be done with 4 as long as power requirements are met. I've also included the technical information of the rocker switch. Can anyone help me figure out the proper wiring to get this setup? Thanks in advance
I am confused, too! You post questions about a rocker switch, but your diagram shows push button switches for up and down.
Paul
Paul_KD7HB:
I am confused, too! You post questions about a rocker switch, but your diagram shows push button switches for up and down.
Paul
You're right, I totally missed that! Would there be a way to implement a rocker switch instead of the pushbuttons or would I need to use the buttons? I'm trying to avoid having multiple buttons/switches if possible
dmeadows013:
You're right, I totally missed that! Would there be a way to implement a rocker switch instead of the pushbuttons or would I need to use the buttons? I'm trying to avoid having multiple buttons/switches if possible
I guess, if your switch has a "center off" position.
Paul
Paul_KD7HB:
I guess, if your switch has a "center off" position.
Paul
I believe it does, although I'm unable to check right now.
Assuming it does, would it be as simple as connecting the "down" pins in place of the down push button, and doing the same with the "up" pins, leaving the center pins open?
dmeadows013:
I believe it does, although I'm unable to check right now.
Assuming it does, would it be as simple as connecting the "down" pins in place of the down push button, and doing the same with the "up" pins, leaving the center pins open?
Both center pins to ground. one other pin for up and opposite pin of other half of switch to up.
Paul