Project Keyword:
Autonomous Medicine Dispensing Robot
Project Summary
This project focuses on developing a compact, autonomous medicine dispensing robot designed to support hospital wards facing workforce shortages—especially among nurses. Unlike large, stationary dispensing systems used in pharmacies, this robot is engineered to operate efficiently in tight ward environments, handling solid medications such as tablets, capsules, and pills.
The system features:
-Modular feeder-containers for different pill types
-Adjustable crank-slider actuators for accurate pill release
-A validation mechanism (IR sensor + trap gate) to ensure correct dosage
-A web-based user interface for patient management, medicine logging, and dispensing schedules
-ESP32 communication with a local MySQL database
-Real-time clock synchronization for time-based automated dispensing
Testing showed that despite mechanical limitations (wear and temporary feeder design), the concept proved feasible, with Actuator 3 achieving 88.89% accuracy and the validation mechanism averaging 88% accuracy. The software architecture performed reliably and enabled fully autonomous dispensing based on scheduled times.
This first prototype demonstrates the potential of safe, automated medicine delivery in hospital wards and lays the foundation for future improvements in precision, durability, and scalability.
Things Learned from the Project
- Robotics System Integration
-How mechanical, electrical, and software systems interact in a real-world robot.
-Importance of aligning mechanical tolerances (e.g., feeder slopes, gate integrity).
- Hardware Reliability & Limitations
-Wear-and-tear effects become significant in precision mechanisms.
-Sensor behaviour varies with material and colour (e.g., black 3D-printed tablets).
- Autonomous System Logic
-Using non-blocking code (millis()) to achieve real-time responsiveness.
-Designing sequential actuator states and validation logic.
- Real-Time Communication
-Synchronising robot behaviour with a database through ESP32.
-Handling complete JSON packets safely to avoid corrupted data.
- UI/UX for Healthcare Automation
-Building a simple, functional GUI that healthcare staff can use without technical training.
-Designing workflows for medicine management, patient registry, and dispensing schedules.
- Systems-Level Thinking
-Understanding the limitations of large-scale pharmaceutical systems
-Identifying gaps where small, mobile robots can provide value.
Skills Obtained
Technical Skills
-Robotics Hardware Design (actuators, feeders, IR validation traps)
-Microcontroller Programming (Arduino Mega, ESP32)
-Embedded Systems Development
-Servo motor control and motion sequencing
-JSON parsing & data structuring
-Real-Time Clock integration
Software & Backend Skills
-C++ for embedded robotics
-HTML, CSS, PHP for web development
-MySQL database design & integration
-Local server hosting and API handling
System Engineering Skills
-Creating autonomous workflows
-Designing failure-safe validation mechanisms
-Debugging real-world mechanical + software interactions
Soft Skills
-Problem-solving under hardware constraints
-Project time management
-Technical documentation & research analysis
