Medience Dispenser
Keeping up with a daily medication schedule can be difficult, but missing a dose shouldn't be an option. Welcome to the Medience Dispenser, a DIY automated solution designed to organize and dispense medication reliably.
In this project, I will show you how to build your own dispenser using a combination of 3D-printed parts, an Arduino microcontroller, and basic electronic components. Whether you are looking to help a family member manage their prescriptions or just want to build a useful mechatronic device, this guide covers the entire process—from printing the carousel mechanism to wiring the circuit and uploading the code. Let's get building!
Supplies
Video Above:
Physical Supplies
- 1 Arduino Board
- 1 Breadboard
- 1 mini breadboard
- 1 Switch
- 1 Button
- 1 360 degree Continuous rotating Servo Motor
- 10-15 Wires (extra in case)
- 1 Pencil Box
Needed Files:
- Arduino Code
- CAD files
How to Construct: the Main Bread Board:
Power Rails:
- Connect the Arduino 5V pin to the red positive (+) rail of the breadboard.
- Connect an Arduino GND pin to the blue negative (-) rail of the breadboard.
Servo Motor:
- Red wire (Power): Connect to the red positive (+) rail.
- Black/Brown wire (Ground): Connect to the blue negative (-) rail.
- Green/Orange/White wire (Signal): Connect to Arduino digital pin ~9.
Wiring for the 2nd Breadboard:
- Connect a red wire (Power) from main breadboard to the mini board for the switch.
- Connect a 2 black wires (Ground) from main breadboard to the mini board for both switch and button
- Finally, connect wire (color of your choice) to mini board for the button to pin 3 on the Arduino and connect a wire to the bread board for the switch to pin 2 on the Arduino.
How to Construct: the Printed Model
Explained within the Video
- To Assemble we slid the servo into the slit on the big piece after sliding the wire through the back.
- Then we put the servo holder on the top of the servo then screwed in the top model on the servo.
How to Construct: Arduino Board and Printed Model:
Explained within the Video
- Beneath the CAD model, we made a cardboard box as a base where the Arduino board and wires are hidden.
- The cardboard box has small incisions where the button and switch are placed on top on another smaller breadboard so they are accessible to the user.
- Wire all components through the holes and place CAD model on top of platform.
Platform:
- For the platform, we used a pencil box to hold the Arduino and the main breadboard.
- We drilled 2 holes within the box to create( One in the back for the USB cord to connect to a laptop and another on top for the 2nd breadboard that has the button and the switch.
- The CAD model sits on top with the wiring from the breadboard hidden with in the pencil box.