The device solves the problems of patients, especially the elderly, forgetting to take medication, taking medication repeatedly, taking the wrong medication, and taking medication indiscriminately through automatic medication dispensing and comprehensive reminder technology. It can automatically sort drugs of different sizes and shapes. And through various methods such as voice, lighting, screen, APP, WeChat, SMS, voice call, and manual labor, remind both the medication user and the caregiver to ensure that they do not forget to take their medication every time. And generate electronic medication records for medical guidance, etc.