Smart Medication Dispenser
Smart Medication Dispenser
200
All Rights Reserved © 2017 IJARECE
ISSN: 2278 – 909X
International Journal of Advanced Research in Electronics and Communication Engineering (IJARECE)
Volume 6, Issue 4, April 2017
display, motor controller, multiple pill container and Also, the power supply may require battery backup to avoid
dispenser, alarm system. It is partially an automated loss of user input selections and time keeping functions.
device[8]. The general procedure is to facilitate the user to set
B. Keypad and Display
the timings to dispense multiple pills at required timings.
Here the user is required to press a button to get the pill box The keypad input is a standard 16 key alphanumeric keypad.
and reset the alarm button. In this method motor controller is It enables the user to program the system [4]. The alpha
used. So additionally 12V is required for providing supply to numeric display unit is for the user to view the time set or
motor and it is suitable only for limited number of medicines. reset operation. It provides the user visual representation of
More chances are available to mishandle the device and it is the contents of the container. The same unit may be used for
not a portable device. Cost wise it is somewhat high. An providing the warning when it is required.
Smart Pill Dispeser System for independently Living Patients. C. Speaker
SMD is automatic monitored locked medication dispenser
device dispense up to 6 times per day. The SMD has been The Speaker is provided to give a beep sound to warn the
developed to give the patient’s caregiver peace of mind patient regarding the time to take the tablet. The same speaker
is also use to call the name of the patient which provides the
knowing that right medication are taken by patient on right
information regarding the updating the pills/capsules into the
time . When the alarm goes off, this SMD reminds patients to
container. This facility helps the blind to interact with SMD.
take their dose by long duration alarm. Alarm will ring for 15
minutes, if a patient does not take medicine or misses dosage, D. Microcontroller
system will automatically notifies caretaker. It has feature of The microcontroller is the main part of the SMD. It is
remotely notifying caretaker by sending message, email or responsible for performing all the functions and commands
phone call when patient misses dosage. Current system can of the medicine box. The microcontroller is selected to meet
alerts caregiver about drug refilling by sending message, or the required functionality of the SMD without wasting
email. SMD is lockable pill dispenser keeps medication safe. money on unneeded features. The basic requirements of the
It has rotating disk that contains several compartments in microcontroller are a few Input output ports to interface the
which pills are separated in order to create appropriate dosage. keyboard, display unit, motor, and speaker. Interrupts are
When alarm goes off, the disk in device rotates to reveal next used to enable the user to interact with the system for
dosage to be taken. Patient turns device upside down so that programming. When the user presses the command key, it
pills falls into his/her hands [2]. If the pill box is not taken by enables the user to program the timing and set the required
person then the pill box goes to the separate container. These pills to be available in the output poach. The command key
gives advantages to the person to don’t take wrong dose at the also allows the user to program the number of minimum
time of next dose . The Main advantage of SMD is portability, pills/capsules that must be made available before a warning
so it can be taken with user at all times. This system provides signal is provided. The Microcontroller is so chosen that the
an automatic operation for easy medication by using built-in system does not require additional external peripheral chips
scale for dosage measurement. and memory. The memory requirement is 2K of READ Only
memory and 8K of Read writes memory.
III. METHODOLOGY AND IMPLEMENTATION
Details about the design of the smart medicine dispenser
(SMD) are included in the paper. Initially the requirements to
design this device are collected and then design consideration
i taken care. Finally a design process is suggested to design
automatic medicine dispenser. The Programmable automatic
medicine dispenser designed allows the care taker to reliably
administer medications to a patient without needing to be
present every time the medication is scheduled. The caretaker
pre-programs the SMD that allows it to set up to 21
medications does through an ergonomically designed
interface, utilizing an alphanumeric keypad and LCD display.
The SMD can be pre-programmed to repeat the same cycle
for one month. An alarm is provided to load the medicine if
the number of pills/capsules falls below a threshold value that
can be fixed by the owner.
Fig- 1: Block Diagram of Medication Dispenser
Hardware Concept Design:
E. Pill Container and Dispenser
A. Power Supply The pill/capsule container design will have 30 slots with
The power supply circuit will provide necessary power 21 available for medications. The 21 slots will be labeled so
requirements for the SMD controller. Additionally, 12V is that the caregiver can ensure setting the alarm for the correct
necessary for the motor. Current requirements will be slot. Additionally, the pill container will incorporate interlock
dictated mainly by the motor controller design requirement is sensors to protect the caregiver and user from harm. Finally
5 VDC for the microcontroller and motor; while the current the sensors [4] will provide input to the microcontroller for
requirement for the microcontroller is in the range of 100mA. determining access doors status, medication slot positioning
and time feedback of the patient accessing the medications.
201
All Rights Reserved © 2017 IJARECE
ISSN: 2278 – 909X
International Journal of Advanced Research in Electronics and Communication Engineering (IJARECE)
Volume 6, Issue 4, April 2017
IV. ALGORITHM
1. Start Step:
2. Initialize UART, RTC and LCD
3. Set count = 4 and set the current time in RTC
4. Set the four pill times and display “PILL TIME” in LCD.
5. Call to Step: 11
6. If 1st pill time is set decrement the count and run servo
motor, else call Step: 11
7. If 2nd pill time is set decrement the count and run servo
motor, else call Step: 11
8. If 3rd pill time is set decrement the count and run servo
motor, else call Step: 11
9. If 4th pill time is set decrement the count and run servo
motor, else call Step: 11
10. Jump to Step: 3
11. If count = 4 then go to Step: 15, else jump to Step: 6. Step:
12. If count = 3 then go to Step: 15, else jump to Step: 7. Step:
13. If count = 2 then go to Step: 15, else jump to Step: 8 Step:
14. If count = 1 then go to Step: 15, else jump to Step: 9 Step:
15. Return.
16. If any signal is received from the UART of PIC 2, then go
to Step: 17 else go to Step: 21
17. If forward is received run motor1 and motor2 clockwise
and display “FORWARD” on the LCD else go to Step 18
18. If backward is received run motor1 and motor2 anti-
clockwise and display “BACKWARD” on the LCD else VI. RESULT
go to Step 19 The Fig-2 & Fig-3 are the display units of the systems for
19. If right is received run motor1 clockwise and display displaying various parameters and messages to the user.
“RIGHT” on the LCD else go to Step20 Fig-4 is the GSM module for intimation for missing the
20. If left is received run motor2 in anti-clockwise and
202
All Rights Reserved © 2017 IJARECE
ISSN: 2278 – 909X
International Journal of Advanced Research in Electronics and Communication Engineering (IJARECE)
Volume 6, Issue 4, April 2017
dosage by the patient. Finally the Fig-5 gives the complete The MAX232 device is a dual driver/receiver that includes a
system for the proposed Smart Medication Dispenser. capacitive voltage generator to supply EIA-232 voltage
levels from a single 5-V supply. Each receiver converts
EIA-232 inputs to 5-V TTL/CMOS levels .The modem can
either be connected to PC serial port directly or to any
microcontroller. It can be used to send and receive SMS or
make/receive voice calls. It can also be used in GPRS mode
to connect to internet and do many applications for data
logging and control.
203
All Rights Reserved © 2017 IJARECE
ISSN: 2278 – 909X
International Journal of Advanced Research in Electronics and Communication Engineering (IJARECE)
Volume 6, Issue 4, April 2017
REFERENCES
[1] World Population Ageing: 1950-2050, United Nations Population
Division.
[2] Van Eijken M, Tsang S, Wensing M, et al. Interventions to improve
medication compliance in older patients living in the community: a
systematic review of the literature. Drugs Aging. 2003;20:229-240
[3] Medication regimens, causes of non-compliance, Office of Inspector,
US Department of Health and Human Resources, June 1990.
[4] Mei-Ying Wang, John K. Zao Wedjat: A Mobile Phone Based
Medication Reminder and Monitor.
[5] Medication reconciliation National Patient Safety Goal, National
Patient Safety Goals, Joint Commission of Accreditation Program,
March,2009,http://www.jointcommission.org/PatientSafety/NationalP
atientSafetyGoals/npsg8_review.htm.
[6] Tsai, P. H., C. S. Shih, and J. W. S. Liu, “Algorithms for scheduling
multiple interacting medications,” Institute of Information Science,
Academia Sinica, Taiwan, Technical Report TR-IIS- 08-001, April
2008 Pei Hseun Tseui, “Smart Medication Dispenser: “Design,
Architecture and implementation”, IEEE journal, Vol-5, March-2011.
[7] Elizabeth Broadbent, Rie Tamagawa, Ngaire Kerse, Brett Knock, Anna
Patience, and Bruce MacDonald, ”Retirement home staff and
residents‟ preferences for healthcare robots”, 18th IEEE International
Symposium on Robot and Human Interactive Communication, 2009.
BIOGRAPHY
204
All Rights Reserved © 2017 IJARECE