Project

# Title Team Members TA Documents Sponsor
44 Portable Water Tracking Attachment
Cindy Su
Subha Somaskandan
Subhi Sharma
Luoyan Li design_document1.pdf
final_paper1.pdf
other1.pdf
proposal1.pdf
# Portable Water Tracking Attachment

Team Members:
- Student 1 (sbs8)
- Student 2 (subhis2)
- Student 3 (cindysu2)

# Problem

Many people struggle to drink enough water every day, and tracking this can be a challenge of its own. Apps that track your water intake can be silenced, and nobody is actually checking if you drank your water. Furthermore, water bottles that have pre marked labels require you to buy a whole new water bottle, where the style may not be the prettiest, and durability is a question since the majority of them are plastic.

# Solution

Describe your design at a high-level, how it solves the problem, and introduce the subsystems of your project.

Our solution is a portable water bottle attachment that your water bottle latches onto the bottom, and moves with. This device will track how often you pick up your water bottle to drink, and how much you drink each time by checking the weight of your water bottle. There is also an accompanying app that can be personalized based on the user’s age, sex, and activity level so that it accurately tracks how much water you are consuming, and sends reminders. The device itself is also adaptable to multiple water bottle sizes, and there will be an “inventory” of water bottles within the app so that you can calibrate the device accordingly. The app will aid in giving you reminders if you have not picked up your bottle in a while as well as have GPS tracking capabilities.


## Water Measurement + GPS Tracking Subsystem

This subsystem measures the amount of water in the water bottle, and sends this data to our wifi server, and is stored in a database.

1. Weight Sensor (A Load Cell with medium to high sensitivity)
This sensor will calculate the weight of the water bottle so that the device can calculate changes in weight as you drink more water. The weight sensor can also help determine the weight of a variety of water bottles, so that it can make calculations accordingly. The water bottle will have to be weighed without any water at first use, and the app will remind the user of this.

2. IMU unit with 6 or 9DoF
The IMU geographically measures the position of the water bottle based on its tilt. When someone is drinking out of it, the bottle will be tilted a certain amount, indicating that the weight will change once it is placed down again. The IMU can measure when people are drinking out of the bottle to track habits, and this can trigger the weight sensor to measure the weight of the bottle once someone is done drinking.

3. GPS tracking chip (something like GT-U7 main module GPS)
The device will be connected to the bottle, and therefore there will be a GPS tracking chip that will allow you to track the whole system. When connected, you can find your bottle and device, and when disconnected just the device can be found.

## Wifi and App Subsystem

This subsystem is for connecting Wi-Fi networks and sending data to a server when the device sensed drinking or at a given time interval. The app will request the data, and track the amount of water drunk, as well as the GPS location. The app will also have its own features, like displaying the amount of water to go, water drank in total, and showing the location of the water bottle.

1. Wifi module: ESP32SP
The microcontroller is going to transmit the data received by the sensor over a wireless network to a server. Then on the server, the incoming data is processed and stored in a database. Each data entry will include the amount of water drink or left and a timestamp. An API is set up on the server and allows users to fetch data through request on a smartphone.

# Criterion For Success

Our app will include hourly goals for water drinking- based on the user input of the volume of the water bottle, age, activity level, sex, as well as average hours of sleep. Our app will send out a reminder at the top of every hour stating how much water the user needs to drink for that hour.

Our water attachment will measure the weight when the bottle is placed down, and send this data to the app to configure reminders to the user, either saying their goal is complete for that hour, or that they have “x” oz of water to go. Our app will also be able to track the water bottle’s location and display it on the app. This mechanism should work for different volumes of water bottles, as the user can keep an inventory in the app of their bottles.

Additional features after we accomplished the above criterion and had enough time would be adding a small led screen attaching to the devices that could display the amount of water the user drinks. We could implement a rewards system in the app, giving user badges for meeting their goals weekly, monthly, etc.

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)