Project

# Title Team Members TA Documents Sponsor
65 Smart Pill Hub
Eric Cheng
Jerry Ning
Jinpeng Liu
Luoyan Li design_document3.pdf
final_paper1.pdf
final_paper3.pdf
other1.jpeg
other2.jpeg
photo2.jpeg
photo1.jpeg
presentation1.pptx
proposal2.pdf
video
Smart Pill Hub

Team Members:

Jerry Ning (yuxinn2)
Eric Cheng (hc43)
Jinpeng Liu (jinpeng4)


Problem

Managing multiple medications is a complex task, particularly for elderly or chronically ill patients who may have cognitive impairments or difficulties following a strict medication regimen. Missed doses or incorrect dosing can lead to ineffective treatment or severe health complications. Traditional pillboxes provide limited assistance and lack the ability to alert users or track medication intake. Smart pill boxes are not any much better. Almost all current pillboxes for sale lack features like automatic portioning and counting. The ones that have app/internet support are very expersive(up to thousands of dollars).

Solution

To address this, we propose a smart pill hub with the ability to store, dispense, and manage up to 8 different types of pills. It features individual compartments, a precision dispensing mechanism, a user-friendly mobile app, and integrated scales for automated pill counting. The hub will alert users via a dim light and beep sound for medication times, and it will be controlled via a Bluetooth-enabled mobile app that sets dosage amounts and frequencies. The device is designed to be powered by two step motors, controlled by an MCU, with digital scales integrated, and will have a wall power supply with a battery backup.

Solution Components

Subsystem 1: Pill Storage and Dispensing Mechanism

Each of the 8 containers can hold a different type of pill. Two step motors, controlled by an MCU, will activate a mechanism to dispense the correct number of pills from each compartment. The mechanism we will use is similar to what is used in some ammo production. The funnel-like shaped container sits at the top, with a tube similar like( https://stock.adobe.com/images/pills-in-a-test-tube-on-a-black-background/205791226 ) this under the container. A gumball machine similar rotary design that will only dispense one pill at a time. Throughout our design process, we found the typical medication sizes ( https://www.swansonvitamins.com/help/product-information/product-information-faqs/pill-size-guide.html ), which can only use 3 sizes of tube to accurately dispense all kinds of pill one at a time. When dispensing from a different container, it will automatically change to preset tube size using a rotary by step motor as well. All those will be controlled by a MCU





Subsystem 2: Control and Mobile Application with Bluetooth Connectivity

An intuitive mobile app will interface with the MCU via Bluetooth. Users can set the name of the pills, number of pills added, dosing schedule, dose amount, and view the estimated number of pills remaining. The app will also allow users to confirm the count of newly added pills as measured by the scale. The app will also allow the hub purely used as dispenser, which allowing user to dispense certain amount of each pill to the compartment at once, or allowing user to dispense mix of pills(e.g. daily mix) x(e.g.days) amount of times for traveling purposes and such. The app will also notify the user at scheduled time as well.

Without bluetooth connection, the hub should still be able to dispense correctly and store the data(e.g. amount of pill dispensed), which the app can be updated once the bluetooth is connected again. A light to the corresponding box on the hub will be lit if there is less than 3 day’s dosage of a certain pill as well.

Subsystem 3: Integrated Digital Scales

A small scale will be integrated into our hub as well. When the user did not add an entire new bottle or the user wanted to add an unknown amount of pills into the containers, the user can put a single pill on the scale, and our device will record the weight of the single pill. Users can then add the one kind of unknown amount of pills into one container, which we will use to scale to weight the weight difference to estimate how many of the kinds of pills have been added. This procedure of user adding pills will work together with our mobile app

Subsystem 4: Alert System

The device will feature a dual alert system - a dim light that turns on at the time of dosing and a beeping sound that activates every minute if the compartment is not opened post-alert, ensuring the user takes their medication at scheduled time.

Subsystem 5: backup battery

We will use a couple 9v batteries as the backup power plan. The backup power should work and be able to supply the hub for a couple days. the hub should indicate it is on backup power and potentially show backup power level as well.





Criterion For Success


Accurate Dispensing: The device should dispense the correct number of pills as per the set schedule.

Automated Counting: The integrated scales must accurately count the number of pills added to each compartment.

User-Friendly Interface: The mobile app should be intuitive, allowing users to easily set up and modify their medication schedules.

Reliable Alerts: The alert system must reliably notify the user at the correct times for medication.

Backup power: The backup power should work and be able to supply the hub for a couple days.



UV Sensor and Alert System - Skin Protection

Liz Boehning, Gavin Chan, Jimmy Huh

UV Sensor and Alert System - Skin Protection

Featured Project

Team Members:

- Elizabeth Boehning (elb5)

- Gavin Chan (gavintc2)

- Jimmy Huh (yeaho2)

# Problem

Too much sun exposure can lead to sunburn and an increased risk of skin cancer. Without active and mindful monitoring, it can be difficult to tell how much sun exposure one is getting and when one needs to seek protection from the sun, such as applying sunscreen or getting into shady areas. This is even more of an issue for those with fair skin, but also can be applicable to prevent skin damage for everyone, specifically for those who spend a lot of time outside for work (construction) or leisure activities (runners, outdoor athletes).

# Solution

Our solution is to create a wristband that tracks UV exposure and alerts the user to reapply sunscreen or seek shade to prevent skin damage. By creating a device that tracks intensity and exposure to harmful UV light from the sun, the user can limit their time in the sun (especially during periods of increased UV exposure) and apply sunscreen or seek shade when necessary, without the need of manually tracking how long the user is exposed to sunlight. By doing so, the short-term risk of sunburn and long-term risk of skin cancer is decreased.

The sensors/wristbands that we have seen only provide feedback in the sense of color changing once a certain exposure limit has been reached. For our device, we would like to also input user feedback to actively alert the user repeatedly to ensure safe extended sun exposure.

# Solution Components

## Subsystem 1 - Sensor Interface

This subsystem contains the UV sensors. There are two types of UV wavelengths that are damaging to human skin and reach the surface of Earth: UV-A and UV-B. Therefore, this subsystem will contain two sensors to measure each of those wavelengths and output a voltage for the MCU subsystem to interpret as energy intensity. The following sensors will be used:

- GUVA-T21GH - https://www.digikey.com/en/products/detail/genicom-co-ltd/GUVA-T21GH/10474931

- GUVB-T21GH - https://www.digikey.com/en/products/detail/genicom-co-ltd/GUVB-T21GH/10474933

## Subsystem 2 - MCU

This subsystem will include a microcontroller for controlling the device. It will take input from the sensor interface, interpret the input as energy intensity, and track how long the sensor is exposed to UV. When applicable, the MCU will output signals to the User Interface subsystem to notify the user to take action for sun exposure and will input signals from the User Interface subsystem if the user has put on sunscreen.

## Subsystem 3 - Power

This subsystem will provide power to the system through a rechargeable, lithium-ion battery, and a switching boost converter for the rest of the system. This section will require some consultation to ensure the best choice is made for our device.

## Subsystem 4 - User Interface

This subsystem will provide feedback to the user and accept feedback from the user. Once the user has been exposed to significant UV light, this subsystem will use a vibration motor to vibrate and notify the user to put on more sunscreen or get into the shade. Once they have done so, they can press a button to notify the system that they have put on more sunscreen, which will be sent as an output to the MCU subsystem.

We are looking into using one of the following vibration motors:

- TEK002 - https://www.digikey.com/en/products/detail/sparkfun-electronics/DEV-11008/5768371

- DEV-11008 - https://www.digikey.com/en/products/detail/pimoroni-ltd/TEK002/7933302

# Criterion For Success

- Last at least 16 hours on battery power

- Accurately measures amount of time and intensity of harmful UV light

- Notifies user of sustained UV exposure (vibration motor) and resets exposure timer if more sunscreen is applied (button is pressed)