Smart Medicine Box
Volumn 3

Smart Medicine Box

Mohd Aqeeb (Author)

Department of Electronics and Telecommunication Engineering.

Anjuman College of Engineering and Technology, Sadar, Nagpur, India.

Contact No.7840972588

Sumair Deshmukh (Author)

Department of Electronics and Telecommunication Engineering.

Anjuman College of Engineering and Technology, Sadar, Nagpur, India.

Contact No.8446209250

Abstract –

Proper Medication is necessary to become a healthy but failure of that can create big trouble for a patient. This is extremely problematic for the elderly patient who had problem in keeping track of their medicine. So to overcome this we made this Smart Medicine Box which keep tracks of the dosage and duration between each consumption. Poor eyesight as one of the contributors for medicine consumption errors such as misdosage since the elderly finds it troublesome to read the instruction on the medicine case and identifying the right dosage of the medicine along with that Memory loss is common in old age due to that decrease in speed of information being retrieved. Hence, this Smart Medicine Box will track their medication and inform patient to take right dosage of right medicine at the right time.

 Keywords—Smart Medicine Box, Pill box, Medicine dose tracker, Frdm-kl25Z.  Introduction (Heading 1)

1. Introduction

With the tremendous growth in medical technology, there is cure for many dreadful diseases through the intake of several new medicines. The number of medicines to be taken by each person has increased. It has become hard for us to remind ourselves to take the medicines at particular time. This Smart Medicine Box helps us in reminding us of the medicine that we should take at that particular time. Most of the people, from young age to the old age forget to take medicines on time. The elder people also forget which medicine to take at particular time. There should be a means to always remind such people to take medicines on time. This paper presents a Smart Medicine box, to users, who regularly take drugs or vitamin supplements, or nurses who take care of the older or patients. Our medicine box is programmable that reminds the nurses and users which specific pill to take at particular times of day and serves at those times each day. It contains seven separate boxes. Therefore, nurses or users can set information for seven different pills. When the pill quantity and time have been set by making use of the keys provided, the medicine box will remind users or patients to take pills using sound and light. The specific box from which the pill needs to be taken will be displayed by a seven segment display placed on the corresponding box. The medications you have been prescribed are more likely to be effective if you follow your doctor’s exact instructions on when and how to take them. Your doctor has prescribed a particular medication because he or she feels it will treat your condition in a specific way. However, this medication is more likely to be effective if you follow your medication course as prescribed. Failure to do so could, in some circumstances, have life-threatening consequences. Common medication mistakes done by Elderly people that they need to take several tablets each day and if they are living on their own they may not always remember. It may be difficult for them to remember the prescribed schedule, particularly when taking multiple medications at different times of the day or having to take a medication on a different schedule, such as once a week. Many people are not sure what to do if they miss or skip a dose of the medication. The proportion of the world’s population aged 60 years or over increased from 8 per cent in 1950 to 12 per cent in 2013. It will increase more rapidly in the next four decades to reach 21 per cent in 2050. With this, independent living has become a commonplace for the elderly.

2. Literature Review

Taking Medicine at right time in proper amount will lead towards the faster recovery. In reality what happens is that, they get their prescribed medication but fail to follow their health care professional’s instructions. Many people while taking prescript medication do not follow their doctors’ instructions. Some common reasons for this are People may start feeling better and decide to not finish all of the medication. People may not notice an improvement in their symptoms right away and may stop taking the medication because they think it is not working. Some medications are expensive, and people may skip doses or take less than they were prescribed to try to save money

3. System Analysis

3.1  Problem Definition

In developed and metro cities several trends suggest that incidences of oral medication non-compliance and its attendant consequences have increased. Hence in order to improve medication compliance we decided to work on a project which will be very helpful to older and geriatric people. The main objective of this research is to design and implement a medicine box using embedded platform which is capable of controlling the proper medication facilities.

 3.2 Proposed System Features

We design a medicine cabinet to address a pressing problem our society is facing today. The population of older people in the India is increasing rapidly, and as people grow older they develop memory difficulties. So, older people might forget to take their medications on time, or forget that they have already taken their medications. Consequently, they miss doses of medicines, or take overdoses. To solve this problem we designed and built an electronic system, which can be installed in a medicine cabinet to keep track of a person’s intake of medications.

The design criteria I followed included (a) low cost, (b) ease of use, (c) reliability, and (d) compatibility with different cabinet types, and medicine bottles.

4. System Design and Implementation

4.1.1 Block Diagram of Smart Medicine Box

As the basic idea our project is to remind user about the timing of their medicinal pills, so the keypad is used to set the time, user will decide this timing when to take pills, once this timing is set into the microcontroller, seven segment display & speaker is used to alert the user.

When the set timing will reach microcontroller will turn ON the indicating Sound as well as Seven segment display will ON for particular day and LCD display the timing & the number of pills which are to be taken by the user. In this way our project is used to remind the user about their medicine and avoid delay in medicinal treatment.

4.1.2 LCD

Liquid-crystal display (LCD) is a flat panel display, electronic visual display, or video display that uses the light modulating properties of liquid crystals. Liquid crystals do not emit light directly. In our project 16X2 LCD is used to display the information about Medicine box such as the Number of medicines in each sub-box and Remaining medicines in sub-boxes after consumption of medicine.

4.1.3 Speaker Module

The speaker module is used to play the synthesized sound to remind the user to take pill i.e. is used to generate a sound at the time of pill taking which will remind the patient to take his or her medicine at the specific time.

4.1.4 Medicine Box

We want our box to be less specious so we decided to go for Rectangle box instead of circular box. So we divided our Rectangle box into Seven equal sub-boxes where each box contains one Seven Segment Display which is on the front side of the box and buzzer is on the left side of the box. The LCD display is on the top of the box and the heart of this box i.e. Circuitry will be inside the box. The design is as shown below.

4.1.5 Seven Segment Display

We separate each box for seven days so the user can easily differentiate the pill box as we used Seven Segment Display for each particular day of week.

4.1.6 Real Time Clock module

This module uses the DS1307 to keep track of the current year, month, day as well as the current time. It includes small lithium coin cell battery that will run the RTC for minimum of 5years without an external 5v power supply. It is accessed via the I2C protocol. In our project it used to set a specific time as per the patient required i.e. user wants to set 8.00AM as its morning medicine taking time than they can do with the help of this module.

4.2 Proposed Smart Medicine Box Functions

  1. Reminder to user on daily basis.
  2. Keep the count of number of pills in each sub-box.
  3. Displaying all the information on LCD and particular day on seven segment display.
  4. Easy to setup and use.

4.3 Software Design

We built a medicine box with an integrated software system running in the MCU. The programming platform is AVR Studio 6.1, and programming language is standard C and WINAVR/GCC compiler. Generally, our software system can be divided into four parts, including real time clock, user interface, LED control and sound generation. We could get information for each medicine boxes from the user input and store the information in structure variables. The real time clock would keep running once user finishes initialization. After all the information has been entered. The system would enter comparison status. The comparison function would detect if there were medicine should be taken at that time. When it finds medicine should be taken, the audio will broadcast. After the user response to the system by pushing certain button, LEDs would indicate the amount of medicines for each box. Our system flow chart is as follow.

5. Results

Test Table

We had tested our Medicine box to two different people who regularly takes pills. It was quite easy and useful product for them and they don’t find any problem on taking their pills on time.

6. Conclusion and Future Work

6.1 Conclusion

There is a great need for timely intake of medicines which is often skipped by many people. Our Smart Medicine Box helps to remind us to take medicines regularly and also which medicine to take. Thus this implementation, though small and simple, will be a very great and useful step in the field of medicine.

6.2 Future Work

There are several aspects we need to work on our device in the future to meet the future revolution. We can add BLE feature for remote access to this box.


We would sincerely thanks to the peoples who guided us throughout the course for this project work. We would like to express our sincere thanks to Prof. M. T. Hasan for his guidance, encouragement, co-operation and suggestions given to us at progressing stages of the project.


  1. D. Kornack and P. Rakic, “Cell Proliferation without Neurogenesis in Adult Primate Neocortex,” Science, vol. 294, Dec. 2001, pp. 2127-2130, doi:10.1126/science.1065467.
  2. Smart Medication Dispenser: Design, Architecture and Implementation- Pei-Hsuan Tsai, Tsung-Yen Chen, Chi-Ren Yu, Chi-Sheng Shih, Member, IEEE, and Jane W. S. Liu, Fellow, IEEE.
  3. S. Mukund & N.K. Srikanth, “Design of automatic Medicine Dispenser”, of engineering, Bangalore,2012.
  4. Jason et al., “Robotic pill dispenser”,Sahrdaya College of Engineering and technology,Trissur, Kerala, 2014.
  5. Wandless I, Mucklow JC, Smith A, and Prudham D Improving oral medication compliance with an electronic aid Engineering in Medicine and Biology Magazine, IEEE
  6. M3DITRACK3R: A Design of an Automated Patient Tracking and Medicine Dispensing Mobile Robot for Senior Citizens published in Computer, Communications, and Control Technology (I4CT), 2014 International Conference on Date 2-4 Sept. 2014 at Langkawi.
  7. A smartphone-enhanced pill-dispenser providing patient identification and intake recognition C. Crema, A. Depari, A. Flammini, M. Lavarini, E. Sisinni published in Medical Measurements and Applications (MeMeA), 2015 IEEE International Symposium on Date 7-9 May 2015 at Torino, Italy.
  8. Russel,S.,Norvig,P. (2013). Artificial Intelligence: A Modern Approach(3rd ed.). Prentice Hall

Related posts

Removal of noise by Median and Relaxed median filter




Asymmetric key based encryption and authentication for file sharing.


Leave a Comment