Abstract:This paper introduces the software and hardware designs of minitype gas dynamotor system based on ATMEGA8L singlechip. Step motor is used as the executing equipment in the system. The maximum power of the dynamotor is 5 kW. First, the speed of the dynamotor is sampled, and then the signal is send to the ATMEGA8L singlechip, so as to drive the step motor, thus to control the accelerograph, and to control the frequency of the 9atput voltage, and the main arithmetic is the PID algorithm. The result shows that this technology can be used and extended in producion.