This document presents a study on the design and optimization of a PID controller for a robot arm using the Artificial Bee Colony (ABC) algorithm, compared to the Ziegler-Nichols method. The research demonstrates that the ABC algorithm yields better dynamic performance in terms of settling time, overshoot, and steady-state error. Experimental results indicate significant improvements in the controller's effectiveness when optimized through ABC, achieving superior performance metrics.