Smart Pill Manager

There can be a lot of individuals out there who need constant help ? may it be our elderly people, family members, or the ones who have special needs. Elders are more affected by the timing of taking a certain drug than others, in order to prevent any disease or illness timing is a must. &nbs

2025-06-28 16:29:22 - Adil Khan

Project Title

Smart Pill Manager

Project Area of Specialization Internet of ThingsProject Summary

There can be a lot of individuals out there who need constant help – may it be our elderly people, family members, or the ones who have special needs. Elders are more affected by the timing of taking a certain drug than others, in order to prevent any disease or illness timing is a must.

  Some people may forget to take the medicines at the correct time and can forget the medicines which they have to take. In order to eliminate the factors of always needed observation like nurses or taking a risk of a missed dose, we had to find an easy, portable and efficient solution. Pill managers already exist but most of them either have limited use, don't fit for elder ages, or even have a big size that makes them not suitable to take it with you anywhere.

In order to make a really useful smart pill manager, it had to be easily integrated with the recent sweeping smart technologies. While at the same time it had been fit for the elders. Size and portability are also important facts that we have to keep in mind.

Smart Pill Manager is connected through a wireless network, which enables it to be connected to the internet. We added a buzzer with a LED to make a type of physical warning so that it leaves you no choice but to remember the pill time and take it.

But if the patient did not take medicine on time it will show a notification on the mobile app. It will also show a notification on the mobile app of the caretaker for refilling the pill manager.

If the patient forgets to place the Smart Pill Manager somewhere then, the caretaker can track the Smart Pill Manager with the help of the Android App.

The aim of this project is to build a Smart Pill Box for Medicine Reminder and Monitoring System. When the pill time has been set, the pillbox will remind patients to take pills. This model can aid in helping elders to take their medication on time.

Project Objectives

1) To help people to take their medicine on time.

 2) To help patients to take the required medicine in the right proportion without failure.

 3) Alert messages to the caretaker if the patient forgets to take medicine.

 4) Reminder to the caretaker for refilling the Smart Pill Manager when it is near the end.

 5) We can also track the location of Smart Pill Manager through the mobile app.

Project Implementation Method

For the implementation of this project, we will require Software and hardware modules. The software will include an Android app. Hardware modules will require 3 boxes (to store pills), an IR sensor (2 IR Sensors for each box, first  IR sensor is for increment & second IR sensor is for decrement), an LED display (16*2) for display time, a buzzer (for alarm),  breadboard, NODEMCU (WIFI module), GPS module, Rechargeable Batteries, Stepper Motor. 

The nodeMCU is connected to a battery. The nodeMCU will send data such as the total number of pills, the total number of pills remaining, or the location of Smart Pill Manager to a cloud data database such as FIREBASE.  The android app will fetch data from the firebase database & show data to the caretaker.

In the mobile app number of pills in each box will be displayed & if the patient did not take medicine on time then it will show a notification on the mobile app.

If the patient forgets to place the Smart Pill Manager somewhere then, the caretaker can track the Smart Pill Manager with the help of the Android App. There is a GPS module in Smart Pill Manager that continuously

Sends information to cloud database.

 An android app fetches data from a cloud database and shows the location of smart pill box manager to the caretaker. A GPS module is connected with esp-32 which sends data to the cloud database. An android app fetches data from the database.

  Required Software Tools and languages:

  Arduino IDE

  React Native

  Firebase

Benefits of the Project

1) Smart Pill Manager can help people to take their medicine on time.

 2) Smart Pill Manager can help patients to take the required medicine in the right proportion without failure.

 3) Smart Pill Manager will produce an alarm on the required time for taking medicine.

 4) If the patient did not take medicine on time it will send a notification to the Caretaker's mobile.

 5) It will send a notification to Caretaker mobile for re-filling the Smart Pill Manager.

 6) If the patient forgets to place the Smart Pill Manager somewhere then, the caretaker can track the Smart Pill Manager with the help of the Android App.

Technical Details of Final Deliverable

At the start of the machine, there are no pills in the hopper. When the Pills will be placed on the disk, Disk will be rotated CCW with help of a motor with some speed. This disk will push the pills to the edges can be called centrifugal force. Next comes the Pill separator will separate the pills which are together. This will cause one pill at a time will pass through the IR sensor for detection of the pill. When the pill is detected IR will pass the digital signal HIGH to microcontroller esp32, Where the incremental procedure will be done. So that way every single pill will be counted down.

 Pills that pass through the IR section will be accumulated in a hopper also called a pills container. As the first pill enters the hopper, it directly passes to the one pill container box. While the other pills remain in the hopper. The time is set for a pill to take when the times come for medicine, microcontroller gives a signal to this servo motor to rotate it CW 180 degrees in order to drop the pill in the final box. Then the Alarm will ring at that moment also for some time.

If the patient did not take medicine on time the IR will pass the digital signal HIGH to the microcontroller esp32,

Then, esp32 will send data to the cloud database where the android app fetches data from the cloud database and show a notification to the caretaker.

When pills are near to be the end the IR will pass the digital signal HIGH to the microcontroller esp32,

Then, esp32 will send data to the cloud database where the android app fetches data from the cloud database and show a notification to the caretaker for re-filling the pills.

If the patient forgets to place the Smart Pill Manager somewhere then, the caretaker can track the Smart Pill Manager with the help of the Android App. There is a GPS module in Smart Pill Manager that continuously

Sends information to cloud database. An android app fetches data from a cloud database and shows the location to the caretaker.

Final Deliverable of the Project HW/SW integrated systemCore Industry HealthOther Industries IT , Others Core Technology Internet of Things (IoT)Other Technologies RoboticsSustainable Development Goals Good Health and Well-Being for PeopleRequired Resources
Item Name Type No. of Units Per Unit Cost (in Rs) Total (in Rs)
Total in (Rs) 79910
WI-FI Module ESP 8266 Equipment130003000
Arduino Equipment140004000
Breadboard Equipment75003500
Rechargeable Batteries Equipment315004500
Casing for dry cells Equipment110001000
Universal Battery Charger Equipment130003000
Cables, wires, jumpers etc. Equipment202985960
IR Sensors Equipment510005000
Sensor Buzzer Equipment1800800
Android App, cloud Services and firebase Miscellaneous 11000010000
LCD 16*4 Equipment115001500
3D Boxes Equipment330009000
Wooden Frame Equipment130003000
Stepper Motor Equipment310003000
Interface I2C Module for 16*2 LCD Equipment1750750
DC Mini Micro Metal Gear Motor Equipment314004200
High Quality 50g/roll Rosin Core Soldering Wire with flux reel Equipment310003000
Brass Shaft Coupling Equipment39002700
M3 bolt and nuts Equipment5010500
Glue Gun Equipment120002000
Glue Gun Sticks Equipment101001000
GSM GPRS GPS module with antenna Equipment152005200
L298N H Bridge Motor Driver Equipment311003300

More Posts