Project

# Title Team Members TA Documents Sponsor
68 Smart Vitamin Drink Mix
Andrew Chang
Dhruv Panchmia
Horace Yu
Nikhil Arora design_document1.pdf
design_document2.pdf
final_paper2.pdf
presentation1.pptx
proposal2.pdf
video
# Mana
#### Team Members:

- Dhruv (dhruvp4)
- Andrew (andrew51)
- Horace (horacey2)

# Problem

Generic multivitamins have a proprietary blend of vitamins and minerals,
but everyone has unique needs and restrictions when it comes to supplementation.
since you can't take vitamin B complexes while on the medicine.

# Solution

_describe project_

A machine that makes a vitamin drink mix for you based on your diet, medical
restrictions, and lifestyle.

_how does this solve the problem?_

**Potential Use Cases**

- Athletes might need more sodium and electrolytes.
- People that don't go outside that much might need more vitamin D.
- People that don't eat a lot of vegetables might need dietary fiber. etc.

_introduce subsystems_

# Solution Components

### Subsystem 1: Mobile Integration

- Stores user information in a database
- Recommends vitamins based on what the user is lacking
- Calculates dosages based on user information
- Tracks storage container fill capacity

**Sensors and components**

- Bluetooth Module + microcontroller (nRF52840)

---

### Subsystem 2: Storage

Explanation of subsystem

- Show the capacity of each container in the mobile app.
- The main way of determining the capacity of the container is through software. Each container should have a certain fill level that we already know of. We know the amount of product that will leave the container and so we are able to determine how much is left through simple math.
- We will include IR sensors which will determine when the container's contents have hit critically low levels. This is used as more of a failsafe/verification step to ensure that the user is accurately informed of when to refill the container.
- We will include logic in our software to check for

**Sensors and components**

- IR break beam sensor (https://www.adafruit.com/product/2167)

---

### Subsystem 3: Dispenser

Explanation of subsystem
- Responsible for transporting the required vitamins for said day into the drink
- The storage system would be placed on a turntable which would allow orient the desired vitamin directly above the cup that the user would place, there would be sensors in place to verify that the desired vitamin and aligned correctly to allow for proper dispensing into the cup
- Each storage compartment would have a hole in the bottom, with a mushroom like cap covering it from the inside, once the desired compartment is aligned with the cup, there will be a mechanism that pokes the mushroom like cap up to allow the powder to flow into the cup.
- Alignment can be configured by using a color sensor and having a different color for every compartment and based on the color it spots, it will know whether or not to stop or to go to the next compartment.
- The dispensing mechanism itself which lifts the mushroom cap would have a motor attached to a gear which would be connected to another gear which would be connected to the rod that pushes the mushroom cap up

**Sensors and components**
- Color Sensor : https://www.sparkfun.com/products/22638
- Stepper Motor or Servo Motor (For Turntable, depends on required amount of torque) : https://www.amazon.com/VKLSVAN-4-Phase-28BYJ-48-Stepper-Raspberry/dp/B0CLYCM1CP/ref=sr_1_7?keywords=Arduino+Stepper+Motor&qid=1706643486&sr=8-7
- 180 degrees Servo Motor (For Dispensing Mechanism) : https://www.amazon.com/Miuzei-Helicopter-Airplane-Remote-Control/dp/B07NSVKZP7/ref=sr_1_7?keywords=Arduino+Servo+Motor&qid=1706643387&sr=8-7
- Encoders (If not built into the motors already)
- Motor Drivers : https://www.amazon.com/HiLetgo-PCA9685-Channel-12-Bit-Arduino/dp/B01D1D0CX2/ref=sr_1_4?keywords=Servo+Motor+Driver&qid=1706644598&sr=8-4
---

### Subsystem 4: Power

Explanation of subsystem
We plan for our product to be something that is able to be placed in a stationary position in a home. Because of this, we will need an AC to DC power supply. We plan to use a traditional barrel plug ac to dc wall adapter power supply and create internal buck and boost converters for chips that will need to operate at lower or higher voltages than the power supply provides. This is an inexpensive, yet effective solution to the problem at hand.

**Sensors and components**
- Barrel plug AC to DC power supply (https://www.sparkfun.com/products/15313)
- Voltage regulators (LM317T)
- Variety of components (resistors and capacitors) to build around the voltage regulator

# Criterion For Success:
Describe high-level goals that your project needs to achieve to be effective. These goals need to be clearly testable and not subjective.
- It should be able to rotate to different containers to change the powder it dispenses
- It should be able to dispense an accurate amount of powder into a cup
- It should be able to connect to another device via bluetooth
- It should be able to communicate with the other device to receive control signals
- It should be able to be powered by the AC wall outlet

Software

- It should be able to identify food items in a picture
- It should be able to store user data and estimate their general diet
- It should be able to recommend vitamins and supplements based on stored data





BusPlan

Aashish Kapur, Connor Lake, Scott Liu

BusPlan

Featured Project

# People

Scott Liu - sliu125

Connor Lake - crlake2

Aashish Kapur - askapur2

# Problem

Buses are scheduled inefficiently. Traditionally buses are scheduled in 10-30 minute intervals with no regard the the actual load of people at any given stop at a given time. This results in some buses being packed, and others empty.

# Solution Overview

Introducing the _BusPlan_: A network of smart detectors that actively survey the amount of people waiting at a bus stop to determine the ideal amount of buses at any given time and location.

To technically achieve this, the device will use a wifi chip to listen for probe requests from nearby wifi-devices (we assume to be closely correlated with the number of people). It will use a radio chip to mesh network with other nearby devices at other bus stops. For power the device will use a solar cell and Li-Ion battery.

With the existing mesh network, we also are considering hosting wifi at each deployed location. This might include media, advertisements, localized wifi (restricted to bus stops), weather forecasts, and much more.

# Solution Components

## Wifi Chip

- esp8266 to wake periodically and listen for wifi probe requests.

## Radio chip

- NRF24L01 chip to connect to nearby devices and send/receive data.

## Microcontroller

- Microcontroller (Atmel atmega328) to control the RF chip and the wifi chip. It also manages the caching and sending of data. After further research we may not need this microcontroller. We will attempt to use just the ens86606 chip and if we cannot successfully use the SPI interface, we will use the atmega as a middleman.

## Power Subsystem

- Solar panel that will convert solar power to electrical power

- Power regulator chip in charge of taking the power from the solar panel and charging a small battery with it

- Small Li-Ion battery to act as a buffer for shady moments and rainy days

## Software and Server

- Backend api to receive and store data in mongodb or mysql database

- Data visualization frontend

- Machine learning predictions (using LSTM model)

# Criteria for Success

- Successfully collect an accurate measurement of number of people at bus stops

- Use data to determine optimized bus deployment schedules.

- Use data to provide useful visualizations.

# Ethics and Safety

It is important to take into consideration the privacy aspect of users when collecting unique device tokens. We will make sure to follow the existing ethics guidelines established by IEEE and ACM.

There are several potential issues that might arise under very specific conditions: High temperature and harsh environment factors may make the Li-Ion batteries explode. Rainy or moist environments may lead to short-circuiting of the device.

We plan to address all these issues upon our project proposal.

# Competitors

https://www.accuware.com/products/locate-wifi-devices/

Accuware currently has a device that helps locate wifi devices. However our devices will be tailored for bus stops and the data will be formatted in a the most productive ways from the perspective of bus companies.