Project

# Title Team Members TA Documents Sponsor
40 Smart Medical Pill Dispenser
Adi Perswal
Aryan Gosaliya
Aryan Moon
Jiankun Yang proposal1.pdf
# Smart Medical Pill Dispenser (SMPD)

# Team Members:
- Aditya Perswal (apersw2)
- Aryan Gosaliya (aryanag2)
- Aryan Moon (aryanm7)

# Problem
People often struggle with two major medication challenges. First, they forget to take their medications at the right time or take incorrect amounts. Second, they spend time sorting multiple medications into daily doses, which is both time-consuming and prone to errors. This is especially difficult for the elderly with multiple prescriptions they organize each week.

# Solution
An intelligent device that both sorts and dispenses medications automatically. Instead of manually organizing pills into compartments, users simply load entire medication bottles one at a time into the device. The system then automatically sorts these pills into correct daily doses and dispenses them at scheduled times. You can use a website connected to your device's ID and place in the times, dosages, and days you need to dispense medications and the SMPD will buzz at those times and on clicking dispense give you the correct dosages at once.

# Solution Components
## Subsystem 1
The RTC module provides precise timekeeping to dispense the medications according to schedule. It maintains accurate time even during power outages through its backup battery system. The module communicates with the microcontroller via I2C protocol to provide current-time data.
## Subsystem 2
The ESP8266 enables WiFi and remote management of the dispenser. It runs a web server that hosts the UI for medication management and provides real-time status updates. The module allows users to receive notifications. It processes HTTP requests for schedule updates and transmits dispenser status data to the cloud.
## Subsystem 3
The microcontroller drives the stepper motors that rotate the dispensing cylinder. It will make sure that the pills were dispensed at the right time (aka did you take your medication). The microcontroller activates buzzers or speakers for audible notifications and LEDs for visual alerts when it is time to take medication. Using ESP8266, the microcontroller connects to a web app to send reminders, allow remote monitoring, and enable users to adjust schedules.
## Subsystem 4
The weight sensor system uses load cells and an HX711 amplifier to measure medication quantities. It monitors the weight of each medication compartment to track pill counts and verify successful dispensing. The sensor data is used to detect when medications are running low and trigger refill alerts. This system also lets us dispense one pill at a time.
## Subsystem 5
The device housing and mechanical components are fabricated using food-safe PLA or PETG filament. The design includes separate sealed compartments for each medication type, a rotating dispensing mechanism, and channels for pill routing.
## Subsystem 6
The top of the device will consist of a funnel-like structure which will enable the user to dispense the pill bottles one at a time. The funnels will drop the pills into a jar to sort them into different placeholders. Once one kind of pill has been emptied, there will be a disk in place to rotate onto the next jar for the next pill to be dispensed into. To have the pills dispense properly we will have the top of the funnel open and close when it is ready to take in a new pill, additionally, it will rotate the pillars so that it is directly below the funnel, so we never lose pills in any sense.

# Criterion For Success
The following are all True/False evaluations

- The smart medical pill dispenser correctly buzzes at the right day and time
- The smart medical pill dispenser correctly dispenses the right medication with the correct dosage
- The smart medical pill dispenser automatically sorts the inputted bottles into separate compartments
- The smart medical pill dispenser appropriately alerts users when they need a refill by determining when certain medications are about to run out
- Cost of project to be $250 for end product and $5 for monthly server expenses


Electronic Replacement for COVID-19 Building Monitors @ UIUC

Patrick McBrayer, Zewen Rao, Yijie Zhang

Featured Project

Team Members: Patrick McBrayer, Yijie Zhang, Zewen Rao

Problem Statement:

Students who volunteer to monitor buildings at UIUC are at increased risk of contracting COVID-19 itself, and passing it on to others before they are aware of the infection. Due to this, I propose a project that would create a technological solution to this issue using physical 2-factor authentication through the “airlock” style doorways we have at ECEB and across campus.

Solution Overview:

As we do not have access to the backend of the Safer Illinois application, or the ability to use campus buildings as a workspace for our project, we will be designing a proof of concept 2FA system for UIUC building access. Our solution would be composed of two main subsystems, one that allows initial entry into the “airlock” portion of the building using a scannable QR code, and the other that detects the number of people that entered the space, to determine whether or not the user will be granted access to the interior of the building.

Solution Components:

Subsystem #1: Initial Detection of Building Access

- QR/barcode scanner capable of reading the code presented by the user, that tells the system whether that person has been granted or denied building access. (An example of this type of sensor: (https://www.amazon.com/Barcode-Reading-Scanner-Electronic-Connector/dp/B082B8SVB2/ref=sr_1_11?dchild=1&keywords=gm65+scanner&qid=1595651995&sr=8-11)

- QR code generator using C++/Python to support the QR code scanner.

- Microcontroller to receive the information from the QR code reader and decode the information, then decide whether to unlock the door, or keep it shut. (The microcontroller would also need an internal timer, as we plan on encoding a lifespan into the QR code, therefore making them unusable after 4 days).

- LED Light to indicate to the user whether or not access was granted.

- Electronic locking mechanism to open both sets of doors.

Subsystem #2: Airlock Authentication of a Single User

- 2 aligned sensors ( one tx and other is rx) on the bottom of the door that counts the number of people crossing a certain line. (possibly considering two sets of these, so the person could not jump over, or move under the sensors. Most likely having the second set around the middle of the door frame.

- Microcontroller to decode the information provided by the door sensors, and then determine the number of people who have entered the space. Based on this information we can either grant or deny access to the interior building.

- LED Light to indicate to the user if they have been granted access.

- Possibly a speaker at this stage as well, to tell the user the reason they have not been granted access, and letting them know the

incident has been reported if they attempted to let someone into the building.

Criterion of Success:

- Our system generates valid QR codes that can be read by our scanner, and the data encoded such as lifespan of the code and building access is transmitted to the microcontroller.

- Our 2FA detection of multiple entries into the space works across a wide range of users. This includes users bound to wheelchairs, and a wide range of heights and body sizes.