Medical adherence is a major concern globally and is increasing with improved access to medication. Unfortunately, patients taking multiple medications often struggle with confusion about when and how to take each medication. To address this issue, an inexpensive domestic device has been proposed to improve medication adherence. This device uses Wi-Fi and cellular Internet of Things (IoT) integration to dispense medication at the prescribed times, making it suitable for use in both home and long-term care settings. The device also includes a web interface that allows users to control the device and make changes to dosage and other related information. Additionally, the device features an intricate system for sorting pills to ensure accurate and efficient medication delivery. Automating medication taking through this device can improve patient adherence and overall health outcomes, which could significantly impact public health and quality of life for patients struggling with medication adherence.