Programming Tutorial:

In-Depth Assembly Video:


Wiring Diagram:

#include<Servo.h>

Servo base;
Servo horizontal;
Servo vertical;
Servo claw;

void setup() {
  // put your setup code here, to run once:
base.attach(3);
horizontal.attach(5);
vertical.attach(6);
claw.attach(9);

}

void loop() {
  // put your main code here, to run repeatedly:
int i;

for (i = 0; i<180; i++)
{
  base.write(i);
  horizontal.write(i);
  vertical.write(i);

  if (i < 30)
  {
    claw.write(i);
  }
  delay (50);

}

for (i = 180; i>0; i--)
{
  base.write(i);
  horizontal.write(i);
  vertical.write(i);
  if (i < 30)
  {
    claw.write(i);
  }
  delay (50);
}

}