Abstract:A 3D printer control system is designed, using microprocessor ATmega2560 as the main controller, integrated USB interface module, print head temperature detection module, LCD controller module, motor drive module and so on. 3D model sliced produce G code with the help of computer chip software, through the serial port to the main controller, the master controller processes the G code and transmits the control signal to the motor drive module, using PWM pulse width modulation technology to control the 3D printer's XYZ axis motor and the extruder's motor for 3D printing, in order to ensure that the printing head reaches the printing temperature quickly and keeps the temperature constant, the incremental PID algorithm is used to realize the precise control of temperature. Test results show that, after using the incremental PID algorithm, extrusion head temperature control in 245℃, the control precision is 1℃, the time to enter the constant temperature decreases from 300 s to 75 s, improve the performance of three dimensional printing’s constant temperature control. Reduce the phenomenon of printing material broken wire, uneven thickness in the printing process, meet the requirements of printing quality.