Dispensing system that allows users to conveniently put in and take out pills, touchscreen to ensure simple, visualized user operation, and integrated functions to identify and classify pills with scanner and discard expired pills with a real-time clock.