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.

Cypress Robot Kit

Todd Nguyen, Byung Joo Park, Alvin Wu

Cypress Robot Kit

Featured Project

Cypress is looking to develop a robotic kit with the purpose of interesting the maker community in the PSOC and its potential. We will be developing a shield that will attach to a PSoC board that will interface to our motors and sensors. To make the shield, we will design our own PCB that will mount on the PSoC directly. The end product will be a remote controlled rover-like robot (through bluetooth) with sensors to achieve line following and obstacle avoidance.

The modules that we will implement:

- Motor Control: H-bridge and PWM control

- Bluetooth Control: Serial communication with PSoC BLE Module, and phone application

- Line Following System: IR sensors

- Obstacle Avoidance System: Ultrasonic sensor

Cypress wishes to use as many off-the-shelf products as possible in order to achieve a “kit-able” design for hobbyists. Building the robot will be a plug-and-play experience so that users can focus on exploring the capabilities of the PSoC.

Our robot will offer three modes which can be toggled through the app: a line following mode, an obstacle-avoiding mode, and a manual-control mode. In the manual-control mode, one will be able to control the motors with the app. In autonomous modes, the robot will be controlled based off of the input from the sensors.