This paper describes the implementation of an adaptive PID controller in an MCS-51 family single-chip microcomputer. The adaptive PID algorithm is combines the parameter estimation theory with the widespread conventionnal PID control law.This controller brings about an auto-tuning of the parameters of PID controller on line. This controller is suitable for industrial process Control and distributed lower-grade intelligent control, especially for unknown controlled plant.