Giter Site home page Giter Site logo

medication-dispenser's Introduction

Smart Medication Dispenser

Currently, doctors do not have a way to control when patients take their medications nor the amount of medications taken. As a solution to this problem, we introduce the Smart Medication Pill Dispenser. The project is composed of three main parts: an embedded system, a server, and a mobile user interface.

The embedded device, controlled by a Raspberry Pi, will feature compartment systems for controlled medicine delivery and a camera that works together with a high accuracy weight sensor that will verify when a patient has picked up their medication from the device.

The device will connect to a server which tracks timestamps and other user information and implements an artificial intelligence algorithm to detect, count, and potentially classify pills once they are released by the device. The server will communicate with the device for pill delivery timing, and with the mobile application to interface with patients and doctors.

The mobile frontend will allow doctors to receive a live image feed of the state of the medicine through a mobile application for iOS phones and look at timestamp logs of pill delivery and removal by the patient. Additionally, this application will allow doctors to manage medications and schedule when the medications are delivered to the patient.

Hardware Requirements

  • Raspberry PI Zero W
    • with Raspberry Pi OS
  • 5VDC Stepper Motor (28BYJ-48) and ULN2003 Driver
  • Raspberry Pi Camera Module v1.3
  • Xiaoyztan White Light LED (Power: 1 Watt, Forward Current: 350mA, Forward Voltage: 3.0-3.2V)
    • 2N222 NPN Transistor
    • One of each (10 ฮฉ and 220 ฮฉ resistor)

Software Requirements

  • Python
  • Python libraries: boto3
    • Note: picamera and RPi are preinstalled in Raspberry Pi OS

Installation

Simply clone this reposition into your Raspberry PI and execute the main file.

$ Git clone https://github.com/fpena2/Medication-Dispenser.git
$ cd Medication-Dispenser
$ python3 run.py

Pin-out and Connections

  1. Motor 1 & Motor 2

  1. LED

Contributing ๐Ÿš€

If you would like to improve this system, simply fork the repo and make a pull request with your changes.

medication-dispenser's People

Contributors

fpena2 avatar gderossi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.