Have you ever wanted to build a pill dispenser for yourself or your family? For me, the answer is yes!!
So here comes PillGuard, a pill dispenser that keeps track of and tells you when to take your pills. This is a completely open-source project. All the 3D parts and the BOM list are in the folders. You may customise my project..
Please print all the 3D parts.
First, try placing the bottom part with the HC‑SR04 sensor in it.
Secondly, place the middle part with the 28BYJ-48 Stepper Motor + ULN2003 Driver and another HC‑SR04 sensor.
Thirdly, place the spinning system above the 28BYJ-48 Stepper Motor.
Last but not least, put the cover on top of the bottom part with the 3.5-inch screen and Arduino Mega 2560(The blue shaded place is where you place the screen and the Arduino Board)..
Screen: Just follow the diagram.
DS3231 RTC (Real-Time Clock): VCC -> Breadboard (+) Red Rail, GND -> Breadboard (-) Blue Rail, Trig -> Arduino Mega 2560 Pin 20, Echo -> Arduino Mega 2560 Pin 21 2560 Pin 21
HC-SR04(Cup Sensor): VCC -> Breadboard (+) Red Rail, GND -> Breadboard (-) Blue Rail, Trig -> Arduino Mega 2560 Pin 22, Echo -> Arduino Mega 2560 Pin 23 2560 Pin 23
HC-SR04(Pill Drop Sensor): VCC -> Breadboard (+) Red Rail, GND -> Breadboard (-) Blue Rail, Trig -> Arduino Mega 2560 Pin 24, Echo -> Arduino Mega 2560 Pin 25 2560 Pin 25
ULN2003(Steeper Motor Driver): VCC -> Breadboard (+) Red Rail, GND -> Breadboard (-) Blue Rail, IN1 -> Arduino Mega 2560 Pin 26, IN2 -> Arduino Mega 2560 Pin 27, IN3 -> Arduino Mega 2560 Pin 28, IN4 -> Arduino Mega 2560 Pin 29 Mega 2560 Pin 29
Buzzer: Positive(+) -> Arduino Mega 2560 Pin 30, Negative(-) -> Breadboard (-) Blue Raile Raill
The reason why this project exists is that the HKDSE 2026 DAT SBA required students to make a device for medication management and facilitation of medication taking.
Design Problem: Design and make a device for medication management and facilitation of medication taking. This device must satisfy the following requirements: (a) Store at least five different pills separately, allow patients to set different dosages and medication times for each pill, and automatically dispense the required quantity of pills at the right time, for a period of at least one week; (b) Provide medication reminders to patients in a variety of ways at a predetermined time until the patient confirms that the medication has been taken; (c) Include a function that automatically provides the right amount of water to drink when it is time to take the medicine; (d) Add a function that provides practical value to the patients. (For example, properly preserving the medicine.)cine.)
But I removed the part (c) feature in this project.
Guess how I made it. I made it by using Fusion 360, which is a completely free CAD app for students. The reason why I made this is that I want to make people not hate taking medicine. By using the dispenser, you can interact with it, making it more fun when you're ill.
The question you may ask is how to use this pill dispenser. To use this dispenser, you must set a timer on the app and select which medicine you're taking. For example, at 1 pm, I need to take 2 Panadol Pills. Then it will follow your instructions and do the task at 1 pm.