We used Arduino code to program the servo motor to rotate through the potentiometer. We also used the Arduino breadboard, wires, and potentiometer provided to us for the motion of the linkage system.
The image above shows the setup we used for our electronic configuration. We connected these parts to a computer that ran our Arduino code.