Reddit user milosrasic98, sharing a build on r/arduino, wanted a way to check on a grandmother’s medication routine while the family was at work. The resulting pillbox keeps the familiar action of opening a compartment, while an ESP32 records which lid moved. There’s deliberately no screen, no LED indicator and no button to learn.
The hidden electronics aren’t intended to mean hidden monitoring. In a follow-up, the creator clarified that the grandmother knows about the project and is happy to be its first user; the aim is to keep electronics out of her everyday interaction with the box.
Seven magnets connect the lids to a dashboard
Each lid carries a small magnet. Behind a thin plastic wall, a long, narrow PCB holds seven Hall-effect sensors—one for each day of the week—and a XIAO ESP32-C3. The magnet-and-sensor pairs let the controller detect lid state without putting an electrical switch on each moving lid.
The enclosure is 3D printed, with transparent lids cut from 4 mm polycarbonate sheet. According to the creator, the finished prototype closely follows sketches drawn in 2023. In the shared image, the pale enclosure and clear lids sit in front of a laptop showing seven weekday cards: the box remains physically simple while the software carries the extra information.
The ESP32 hosts that dashboard on the local network. The creator reports that it shows live lid states, supports schedule setup and keeps a history. That gives the family a record to consult rather than relying only on a reminder sounding at the right moment. It does not yet establish the off-site access that would make checking from work straightforward; sending events to an external service was one of the suggestions from other builders.
Logging access is not controlling medication
The most consequential design choice is what the box leaves alone. It doesn’t dispense pills, lock compartments or direct the user with illuminated lids. Although people in the discussion proposed alarms, lights and locks, the creator wants the user—not the machine—to retain control over medication access.
That restraint also defines the data. A lid opening is evidence of interaction, not evidence of a swallowed dose. Someone might open the wrong compartment, close it again or remove a pill without taking it. The creator explicitly describes this V0 as a prototype, not a medical device, and acknowledges that limitation.
In the follow-up, milosrasic98 said a similar-looking version capable of detecting whether a pill is present is under development. Others suggested load cells or infrared sensing, but neither approach was confirmed as the chosen implementation. Even successful pill-presence detection would answer whether something remained in the compartment, not whether it had been swallowed.
Wi-Fi serves the prototype; BLE is the intended next step
Battery life drew practical questions from fellow hobbyists. The creator says Wi-Fi was chosen because it made the concept faster to test and demonstrate, with a move to Bluetooth Low Energy intended to reduce consumption. No measured battery runtime was given.
There is already provision for a lower-power approach in the hardware design: the creator says an OR gate combines signals from all seven lids so that opening any one can wake the device from a low-power state. That is a useful distinction between designing in a wake-up path and demonstrating a complete, long-lasting battery-powered system. The latter remains something to measure.
The useful next test is everyday use
For builders who want to examine or adapt the prototype, the creator has published the PCB files, CAD, firmware and dashboard on GitHub, including errata. A linked element14 presents build video is described as covering the design process and PCB mistakes. The project was not being sold at the time of the follow-up.
The next useful evidence would be less about adding controls and more about dependable daily operation: battery runtime, reliable event history and how clearly the dashboard distinguishes an opened lid from a confirmed action. This prototype’s strongest idea is preserving a familiar routine while recording a limited, understandable signal. Keeping that signal honest matters as much as collecting it.
Editorial highlight by the Visual Space team.
