In this Instructable we'll be going over three different switches and learning how to control an actuators extension and retraction. The three rocker switches we will be going over are our RC-03 rectangular switch, our RC-07 round switch with a light, and our RC-08 4 position joystick.
There are two rocker switch varieties, momentary and non-momentary (or latching and non latching). The momentary (non latching) ones must be held down to maintain the connection, while the non-momentary (latching) ones are just pressed and stay in place until you press again. We will be using the momentary (non latching) switches for this Instructable.
For this project, we will be using:
- 1x Linear Actuator
- 1x 12V Power Supply
- 1x RC-07 Momentary Rocker Switch (round w/ light)
- 1x RC-08 Joystick
- 2x AC-22 12V Relays
Step 1: Wiring the Rectangle Rocker Switch
The rectangle rocker switch is the simplest of the three switches, so we'll cover it first. It is a double pole, double throw (DPDT) switch with a neutral position. The two center connections (T2 and T5) are the common connections. When you press the switch in one direction, you connect T2 to T1 and T5 to T4. Pressing the switch in the other direction connects T2 to T3 and T5 to T6. We can use this to switch the polarity on the actuator, causing it to extend and retract.
Connect the pins as follows, see the picture for a wiring diagram:
- T3 and T4 to the negative terminal (GND) on your power supply
- T1 and T6 to the positive terminal (12V) on your power supply
- T2 to one actuator wire
- T5 to the other actuator wire
Now when you press the switch to one side +12V is applied across the actuator causing it to extend. Pressing the switch to the other side gives -12V across the actuator causing it to retract. When the switch is in the neutral position the actuator isn't connected to any voltage so it stays still.