← Back to Main Portfolio

Pill Pusher: Automated RFID Medication Dispenser

Embedded Systems | MicroPython | I2C & SPI Interfacing | Hardware Design

System Demonstration

Missed or double-dosed medication can lead to serious health complications, and existing automated dispensers are often prohibitively expensive. For our EE 3280: Microcontroller System Design course, my team and I developed the Pill Pusher: a secure, automated dispensary system running on a Raspberry Pi Pico.

Live demonstration showing the timer expiration, visual/audio alerts, and secure RFID dispensing sequence.

Hardware Implementation

Our team designed a system that utilizes a secure timer lock. The user inputs their dosage schedule via GPIO push buttons, tracked via an I2C SSD1306 OLED display. Upon timer expiration, an active buzzer and multi-threaded LED alert the user. To prevent accidental overdoses, the SG90 servo motor will only actuate the mechanical dispensary if the correct patient ID is verified via the SPI RC522 RFID scanner.

Front View
Front Panel: OLED, Buzzer, & LED Alerts
Top View
Top View: Pill Hopper & RFID Scanner
Side View
Side View: SG90 Servo Actuation Mechanism

Software Architecture: Modular MicroPython

As my primary technical contribution to the team, I engineered a highly modular, object-oriented firmware architecture. Rather than writing a monolithic script, I ensured hardware drivers (like mfrc522.py) were strictly separated from custom abstraction layers.

Project Files & Simulation

You can interact with a digital twin of the hardware logic via the Wokwi simulation link below, or review the comprehensive final presentations detailing the hardware block diagrams and system specifications. All MicroPython source code is publicly available for review in my GitHub repository.

Wokwi Circuit Wiring Diagram