Robotic Arm Project

Take a look at this

http://www.circuitsathome.com/mcu/robotic-arm-inverse-kinematics-on-arduino