At present, more than 98% of Chinese waste batteries are disposed with municipal living garbage, resulting in water, air and soil pollution. However the general discarded batteries still have some power, which can be carried out for the second recycling. Aiming at reducing the pollution of waste batteries and solving the problem of energy waste, I developed an automatic-sorting device to recycle dry batteries. Using single-chip principle and mechanical transmission, the stepper motor drives the mechanical structure to accurately feed the battery into different storage devices with the electricity detection results. Therefore, the battery which remains electricity can be reused for users. The device makes the waste batteries to be fully recycled, which can not only protect the environment owing to the second recovery of raw materials, but make the efficiency of a single battery significantly improved. The device has the advantages of simple operation control, simple installation and maintenance, low production cost, and can play the role of protecting the environment, which contributes it to be popularized.