Projectwale,Opp. DMCE,Airoli,sector 2
projectwale@gmail.com

Raspberry PI Medicine Reminder EMail Alert Using IOT

Raspberry PI Medicine Reminder EMail Alert Using IOT

ABSTRACT: –

 

With the aging of the population, the situation of pension problems is getting more and more serious. aiming at the problems of old people forgetting to take medicine, taking the wrong medicine, etc. A smart reminder medicine box that can be divided into different medications is designed to assist the elderly in taking their medicine on time. The system allows users to store their medication dates and times using a Raspberry Pi. Also, users are allowed to enter the dosage of each reminder. On set time, the system gets the details and produces the sound via a buzzer. If the user fails to stop the buzzer, then we will send an alert mail to the gardener with information such as the medicine’s name and time. Here a single-board system, i.e., the Raspberry Pi 3, is used, in which the database is made for the reminder time and the dose of pills with time and date. The development of this device is focused on supporting elderly people and other vulnerable groups that may need assisted care. Medication mix-ups are extremely dangerous, so this Linux-based Speaking Medication Reminder can help to prevent these life-threatening mistakes. This paper proposes a smart pillbox system with a reminder and consumption function that is used to give alerts to the user to take pills at the scheduled time. The pills to be consumed are popped out of the pillbox at that time. Smart pill boxes can reduce the guardian’s responsibility for giving the correct medicines at the prescribed time. This system sends a purchase order to a medical shop when the medicines are about to run out. It first allows users to enter reminder inputs. The system takes input through the keyboard to accept various reminders with date, time, and dosage. It then reminds patients to take the right medication at the right time. The system allows users to store their medication dates and times using a Raspberry Pi. Also, users are allowed to enter the dosage of each reminder. At the set time, the system gets the details and converts text to speech. The system now speaks out the medication reminder at scheduled time intervals. This allows for a fully automated medication reminder system for patients. Here, a single-board system, i.e., the Raspberry Pi 3, is used, in which the database is made for the reminder time and the dose of pills with time and date. Also, text-to-speech using an ESPEAK module in the Linux system makes the work easier. Most of the smart medicine box projects found in the literature are still expensive and do not address some characteristics of IoT systems, such as scalability, latency, and time to response, among others. Taking this scenario into account, this work proposes a low-cost IoT system prototype to support users during their medicine manipulation.

 

SYSTEM:-

 

  • raspberry pi: the raspberry pi would act as the main controller for the system it would be connected to the internet via wi-fi or ethernet and would run the necessary software to send email reminders and control the connected hardware
  • medicine dispenser: the medicine dispenser would be a small device that can hold multiple pill bottles and dispense the appropriate medication at the scheduled time it would be connected to the raspberry pi via a motor control board and would be controlled by the pi.
  • Sensors: the system would use sensors to monitor the medicine dispenser and ensure that the correct medication is dispensed at the right time for example a proximity sensor could be used to detect when the pill bottle is in the correct position for dispensing.
  • user interface: the system would have a user interface that allows users to set up their medication schedule and receive email reminders the user interface could be a web application or a mobile app that is accessible from anywhere with an internet connection.
  • email notification service :the system would use an email notification service such as googles gmail api or amazon ses to send email reminders to users the raspberry pi would be configured with the necessary credentials to access the email service and send emails on behalf of the user.
  • internet of things iot connectivity: the system would use iot connectivity protocols such as mqtt or http to communicate between the different components of the system this would allow the raspberry pi to receive data from the sensors and control the medicine dispenser as well as communicate with the user interface and email notification service

Overall, the system would provide a convenient and reliable way for users to manage their medication schedule and receive email reminders to take their medication on time. The Raspberry Pi and connected hardware would automate the process of dispensing medication, while the user interface and email notification service would provide a simple and user-friendly way for users to interact with the system.

 

PROPOSED SYSTEM:-

 

proposed an IoT healthcare platform composed of a smart medicine box to monitor patients’ health. The device gives alerts (smartphone notifications, indicator light (LEDs), an audible alert – buzzer) allowing patients to take their medicines at the right time; and it updates the information about medicines in the patient’s smartphone. Doctors can monitor the routine details of the patients and prescribe the medication through a webpage.]proposed an IoT system to solve the problem of patients that forget or consume medicines out of recommended by the doctor. This system helps nurses in the prescription of medicines at the right time and proportion. The system presents functionalities such as medicines prescription, patients’ access control, medicines consumption monitoring for pharmacists and doctors, a tracking system for medicine refill, among others  such as patients’ relatives.

 

MODULES:-

 

  • Sensor module: This module would be responsible for interfacing with the sensors used in the system, such as the proximity sensor for detecting the pill bottle position. It would read sensor data and pass it to the main controller, the Raspberry Pi.

 

  • Motor control module: This module would control the motor that dispenses the medication from the pill bottle. It would receive instructions from the Raspberry Pi and adjust the motor speed and direction as needed to dispense the correct amount of medication.

 

  • User interface module: This module would provide a web or mobile interface for users to set up their medication schedule, receive email reminders, and view medication history. It would interact with the main controller and the email notification service to manage user data and preferences.

 

  • Email notification module: This module would handle sending email reminders to users at the appropriate times. It would receive instructions from the main controller and use an email notification service to send emails to the user’s designated email address.

 

  • IoT connectivity module: This module would handle the communication between the different components of the system using IoT connectivity protocols, such as MQTT or HTTP. It would ensure that sensor data, motor control instructions, user data, and email notifications are transmitted and received correctly between the components.

 

These modules would work together to create a reliable and efficient system for managing medication reminders using IoT technology.

 

APPLICATION:-

 

  • Medication scheduling: Users would be able to set up a medication schedule through a web or mobile interface. They would be able to specify the name of the medication, the dosage, the frequency of administration, and the start and end dates of the prescription.
  • proximity sensor detection: The system would use a proximity sensor to detect whether the medication bottle is in the correct position for dispensing. If the bottle is not in place, the system will send a notification to the user reminding them to put the bottle in the correct position.
  • motor control: when the medication bottle is in the correct position, the system would use a motor to dispense the appropriate amount of medication. The motor would be controlled by the Raspberry Pi, which would use instructions from the user’s medication schedule to determine the correct dosage and timing.
  • email notifications: the system would send email notifications to the user reminding them to take their medication at the appropriate times. The email notifications would be sent using an email notification service such as SendGrid or Mailgun.
  • medication history: Users would be able to view their medication history through the web or mobile interface. They would be able to see a list of the medications they have taken, along with the dates and dosages.

The application would be easy to use and would provide a convenient way for users to manage their medication reminders using IoT technology.

 

HARDWARE AND SOFTWARE REQUIREMENTS:-

 

HARDWARE:-
·        raspberry pi 3b/3b+
  • buzzer
  • Temperature sensor(DHT11)
  • ECG Heart sensor
SOFTWARE:-
  • Operating System : Windows 10, 7, 8
  • Python
  • Anaconda
  • Spyder, Jupyter notebook, Flask
  • MySql
  • python

Leave a Reply

Your email address will not be published. Required fields are marked *