Abstract:Based on the analysis of towel automatic hemming machine working principle, a towel automatic hemming machine controller was developed independently, which was based on STM32 control chip as the core, with main circuits including RS485 communication circuit, CAN bus interface circuit and so on. Serial communication module was responsible for the communication of controller with PC and touch screen data, and for the system executive program download and controller running status monitoring. The automation production process of towel from raw materials to finished is realized.