Project

# Title Team Members TA Documents Sponsor
23 Smart Snack Dispenser
Adam Kramer
Elinor Simmons
Eric Nieto Gonzalez
Surya Vasanth design_document1.pdf
final_paper1.pdf
grading_sheet1.pdf
photo1.jpeg
photo2.jpeg
presentation1.pdf
proposal1.pdf
video
Team Members:

- Eric Nieto Gonzalez
- Elinor Simmons
- Adam Kramer

# PROBLEM
One common problem many people face is difficulty in controlling snack portions, which can lead to overeating and unhealthy eating habits. Mindless snacking, especially when working, studying, or watching TV, often results in consuming more than intended. Similarly, there seem to be no machines handling this issue within the current market, leaving individuals to rely on willpower alone or resort to ineffective portioning methods such as manually separating snacks into smaller bags. Without a structured approach, people often struggle to regulate their intake, leading to issues such as weight gain, unhealthy eating patterns, and difficulty in maintaining a balanced diet.

# SOLUTION
The smart snack dispenser addresses this issue by allowing users to set portion sizes and control snack intake. By offering a structured approach to snacking, it helps users develop healthier eating habits, prevent overindulgence, and manage calorie intake more effectively. This solution is particularly beneficial for individuals trying to maintain a balanced diet and/or are tracking their food intake. The machine will offer a specific set of 10 snacks. This includes M&M's, Skittles, Goldfish, Almonds, Cashews, and others. The machine will also plug into a wall outlet.

The solution will include the following subsystems:

- Motor Subsystem: There will be a motor for each snack implanted so that the user can ask for that specific snack, allowing for it to be dropped down to be given to the user.

- Light Sensor/ Computer Vision Subsystem: There will also be a sensor for each snack as well to detect when the stock of each respective snack is running low. This will then be relayed back to the LCD Screen to inform everyone that one is running low.

- PIR Subsystem: This will take care of the machines dropping mechanism and ensuring that there is a tray the user is providing for their needed snacks. It will be a PIR sensor to detect if there is a tray present.

- Touchscreen LCD Display Subsystem: This will be the UI that allows the user to place their goals, access their profiles, and display crucial information. This will show things like date, time, type of snacks, and nutrition for that person to keep a log.

- RFID Subsystem: This will scan each person's ID to access their own personal nutritional goals and data. This way the machine can be used within like a family instead of just one person. Therefore, the machine will also have data on each person's nutrition.

- Portion Control Subsystem: This will make sure that the correct portion is being dispensed.

- Software Subsystem: This will handle all of the internal features. These will include a "lockout" system that will prevent the user from dispensing any more snacks once a set daily calorie limit is hit. There will also be a recommendation system to recommend a more sufficient snack if needed, the displaying of the date, time, type of snacks, and nutrition for that person to keep a log. There will be two modes offered as well. One is a casual mode that will just allow the user to pick whatever snack they want and choose a portion, this will not implement the lockout system. The other mode is the main mode which will provide a user a snack after choosing if they are in need of something that will, for example, help give them more energy or they want something with more protein.

# SUBSYSTEM 1
The Motor Subsystem is responsible for the snacks being dispensed correctly and no issues arising.

Design:

- Code the motors in the micro controller and ensure each functions properly with their respective snack.
- Create a format where only a certain amount of snacks gets dispensed with no issues.

Components:
- A motor per snack that will be in the machine.

# SUBSYSTEM 2
The Light Sensor Subsystem is responsible for checking the amount of snack present. It will also tell us when the snack on each one is running low.

Design:

- Code the light sensor where we know the depth of each snack container and then reduce the amount by a little.
- This will then allow us to detect when a snack is running low when that previous depth as been reach once more.

Components:
- A light sensor per snack that will be in the machine.

# SUBSYSTEM 3
The PIR Subsystem is responsible for checking if a tray is present or not.

Design:

- Code the PIR sensor in the micro controller and check when there is a tray present or not
- This can be done where we detect the light coming back soon since in the presence of a tray, it should not take long compared to nothing being present.

Components:
- One PIR sensor for the dispensary.
- Design the dispensary in a way that drops the snacks without blocking the PIR sensor.

# SUBSYSTEM 4
The Touchscreen LCD Display Subsystem is responsible for displaying all the needed information to the respective user.

Design:

- Code the LCD display to work properly with the rest of the sensor as mentioned.
- Create a solid user interface as well where the user can interact with the display.
- Display needed nutritional facts as well and constraints on the user if needed.

Components:

- One Touchscreen LCD display
- A memory to save all the data that will be implemented

# SUBSYSTEM 5
The RFID Subsystem is responsible for checking in each user and locate their respective data.

Design:
- Code the RFID system so that it functions properly with the user tags

Components:
- RFID reader
- RFID tag tag per user

# SUBSYSTEM 6
The Portion Control System will make sure the correct portion is being dispensed.

Design
- Create a frame that will hold the weight sensor.
- Code so that the weight sensor readings are read on the LCD and apply correct units.

Components
- Weight sensor

# SUBSYSTEM 7
The Software Subsystem will handle all of the internal features.

Design:
- Code the lockout system, the recommendation system, date, time, type of snacks, nutrition log.

Components:
- The ESP32, so we can have access to WIFI

# CRITERION FOR SUCCESS
Our project will be considered successful if it meets the following testable criteria.
1. The weight sensor is accurate with a 5% tolerance
1. The motor system dispenses the snack with minimal issues (motor doesn't jam and snacks don't get stuck while dispensing).
1. The user interface works properly and the internal software systems work at the appropriate times.
1. Both sensors for refilling and checking if a container is present are working properly.
1. Snack is dispensed in at most 3 seconds after the user chooses the amount of snack.

Backpack Buddy - Wearable Proximity/Incident Detection for Nighttime Safety

Jeric Cuasay, Emily Grob, Rahul Kajjam

Backpack Buddy - Wearable Proximity/Incident Detection for Nighttime Safety

Featured Project

# Backpack Buddy

Team Members:

- Student 1 (cuasay2)

- Student 2 (rkajjam2)

- Student 3 (eegrob2)

# Problem

The UIUC campus is relatively a safe place. We have emergency buttons throughout campus and security personnel available regularly. However, crime still occurs and affects students walking alone, especially at night. Staying up late at night working in a classroom or other building can lead to a long scary walk home. Especially when the weather is colder, the streets are generally less populated and walking home at night can feel more dangerous due to the isolation.

# Solution

A wearable system that uses night vision camera sensor and machine learning/intelligence image processing techniques to detect pedestrians approaching the user at an abnormal speed or angle that may be out of sight. The system would vibrate to alert them to look around and check their surroundings.

# Solution Components

## Subsystem 1 - Processing

Processing

Broadcom BCM2711 SoC with a 64-bit quad-core ARM Cortex-A72 processor or potentially an internal microprocessor such as the LPC15xx series for image processing and voltage step-down to various sensors and actuators

## Subsystem 2 - Power

Power

Converts external battery power to required voltage demands of on-system chips

## Subsystem 3 - Sensors

Sensors

Camera - Night Vision Camera Adjustable-Focus Module 5MP OV5647 to detect objects in the dark

Proximity sensor - detects obstacle distance before turning camera on, potentially ultrasonic or passive infrared sensors such as the HC-SR04

Haptic feedback - Vibrating Mini Motor Disc [ADA1201] to alert user something was identified

# Criterion For Success

The Backpack Buddy will provide an image based solution for identifying any imposing figure within the user's blind spots to help ensure the safety of our user. Our solution is unique as there currently no wearable visual monitoring solutions for night-time safety.

potential stuff:

Potentially: GNSS for location tracking, light sensor for outdoors identification, and heartbeat for user stress levels

camera stabilization

heat camera

Project Videos