All Projects
DoseFlow
Smart IoT medicine adherence system
Arduino UnoESP32C++I2CUARTMongoDBVL53L0XDS3231
Course: CSE360 — Computer Interfacing
The Problem
Elderly and chronically ill patients frequently miss medication doses, leading to worsened health outcomes. Existing solutions are either too expensive or lack physical verification.
The Solution
Built a dual-microcontroller IoT system with physical dose verification sensors, a finite state machine for dose tracking, offline buffering, and cloud sync — all at a fraction of commercial cost.
Technical Highlights
- 01Arduino Uno + ESP32 dual-controller architecture via level-shifted UART protocol
- 02VL53L0X Time-of-Flight sensor + mechanical limit switches for dose consumption verification
- 03Finite state machine: WAITING → DUE → SNOOZED → CONFIRMED → MISSED
- 04DS3231 RTC-driven buzzer and SH1106 OLED alerts
- 05ESPAsyncWebServer captive portal for Wi-Fi provisioning
- 06LittleFS flash memory buffering with HTTPS/REST sync to MongoDB
Results & Impact
- →Low-cost hardware solution accessible to developing-world patients
- →Physical dose verification (not just reminders)
- →Offline-first with automatic cloud sync on reconnection