Technical Description

The medicine cabinet consists of a box made of MDF with an acrylic door, and is controlled by an MKR1000 microcontroller board. The cabinet has a button to control a servo that locks and unlocks the door. Whenever the door is opened or closed, measurements are taken from a load cell inside the cabinet to determine the mass of pills inside. When the door is opened an initial value is stored, and when it is closed , the final mass is subtracted from the initial to yield the mass of medication removed. This value is then texted to another user using ThingHTTP and Twilio. The load cell works between 0 and 300 grams, and is mounted on a base and a platform is placed on top. Both of these parts are 3D printed and attached to opposite sides of the load cell through two screws. The base is mounted on the bottom of the box.

Here are parts 1 and 2 of the final demonstration video

Part 1

Part 2


Abuse of prescription medication is a huge problem facing the US. People can develop a dependency while using drugs they acquired lawfully. We propose constructing a single-door medicine cabinet with an integrated load cell to measure how much of a particular medication is being taken each day. This information can be transmitted through the internet to a physician (to monitor a patient's habits) or a pharmacy (for refilling purposes). When given a new prescription, the user will be prompted to give the medication’s name, and the device will associate the additional weight placed in the cabinet with that prescription. Any time it is removed from the cabinet, the change it weight will be measured so that the device can deduce how much medication has been taken. Additional features will allow parents to make sure their children are taking their medicine or enable a password lock on the cabinet.

Share this project: