A ball and beam trainer kit based on microcontroller was developed for teaching control system course for the sophomore students. This specially-purposed kit consists of a ball located on a beam with a fixed axle at one of its end. At the other end, a servomotor was employed to control the position of the ball by adjusting the rotation angle of the servomotor. Seven predetermined positions were set to 10, 20, 30, 40, 50, 60, and 70