Capturing Arm Movement with MMA8451

If I recall correctly, to control movement requires both an accelerometer and a gyro. And you still can't get very accurate result. Your calculated position will deteriorate in time. Better position control is achieved with stepper motors and servos. And limit switches.