Idea
I want to make a device for patients who forget about taking their medications, it is a 3D printed Vending Box actuated by using servo motor and controlled using Arduino Nano IoT 33 and Mobile App. The Box will automatically sort out medicine according to Time and Schedule and Vend it using Servo Motor from the Box, the App will be connected via Firebase to Store,Add and Modify the Medicine Schedule and Arduino Nano IoT will collect that data from Firebase and Actuate the Servos Accordingly.
The Problems
Forgetting to take a medication is a common problem in older people and is especially likely when an older patient takes several drugs simultaneously. Around 40% of Patients forget to take medicines and most of them have difficulty to differentiate between multiple medications.
1. Patients forgets to take medication
2. Patients get confused in taking multiple medications as they look similar.
3. Patients don't take medications at correct time
Such thing leads to bad health,and now-a-days these cases are increasing day by day and most people think that skipping medications is normal thing,which is bad for their health.
Blogs Plan
1. Introduction (Current)
2. Automatic Medicine Vendor | Android App - Blog #2
3. Automatic Medicine Vendor | Arduino Nano IoT Setup - Blog #3
4. Automatic Medicine Vendor | CAD Design and Mechanical Build - Blog #4
5. Automatic Medicine Vendor | Final Build - Blog #5
6. Adding Computer Vision using TinyML to Detect Medicine.
7. Tests and Future Plans
The Project Plan
Research
- The problems addressed by patients while taking medication
- Different solutions available in market
- Advanced methods for assistive technology
System Design
- Block Diagram
- Software and APP Design
- Database Design (Firebase)
- 3D CAD of Box
- Electronics of Motor and Alarm
Material Procurement
- Already Have - Servo Motor, 3D Printer, Power Supply, Alarm Speaker
- Have to Buy - Arduino Nano 33 IoT
System Build
- Mechanical Build: CAD Design of Box, 3D Printing the Box, Servo Motor Mounting
- Electronics Build: Motor and Alarm Connection, Arduino Firebase Setup
- Software Build: App Creation using Flutter, Database I/O, Arduino Programming Motor and Alarm
System Concept
1. 3D Printed Vending Box:
The Box will have sliding Cover with One Open so the user can take medicine out. The servo motor will slide this cover such that the required medicine will be opened according to Medicine Schedule.
The Box will be printed on my personal 3D Printer.
2. Arduino Nano IoT 33:
It is the main controller of the Project, As this Board supports Firebase, I will use Firebase to store Medicine Schedule Data of the Specific Patient.
The Servo will be driven by external Power Supply and Controlled by Arduino
3. Servos:
I have currently Tower Pro Servo with Enough Torque to easily slide the cover of Box. And they work on 5V DC.
4. Phone App:
The App will be created using Flutter and Firebase Database, the User will be provided with UI to add/schedule the medicine according to Name,Dosage,Time,etc.
5. Firebase Database:
It is a NoSQL Database which has a Free Tire, It is easy to integrate with my app and also to Arduino so I am using it.

Top Comments