Compliance in medicine dispensation has proven critical for dosage control, diagnosis, and treatment. We have designed, manufactured, and characterized a novel dynamically programmable e-pill dispensing system. Our system is initially programmed remotely through a cell phone. After programming, the system may be reconfigured in order to adapt pill dispensation to new conditions. In this paper we describe the mechanics, electronics, control, and communication protocols implemented. Our dyn-e-pill devices can be actuated for over 350 h with two pill retrievals per hour. We challenged the charging circuit and demonstrated that the system has a lifetime longer than 6 h with a 30 min charging cycle, while it lasts for 14 h of uninterrupted use with a full charge.