Project

# Title Team Members TA Documents Sponsor
23 BAGS: Bags Automated Game System
Annabelle Epplin
Owen Schaufelberger
Sania Huq
Zicheng Ma design_document1.pdf
final_paper1.pdf
other1.pdf
photo1.png
photo2.png
presentation1.pdf
proposal2.pdf
proposal1.pdf
video
# Title: BAGS: Bags Automated Game System

Team Members:
- Sania Huq, saniah2
- Owen Schaufelberger, ods2
- Annabelle Epplin, aepplin2

# Problem
Cornhole/bags is one of the most beloved and competitive sports in the Midwest, and now has dozens of professional players. It can be very easy to lose track of score or whose turn it is during the game, so what if the cornhole board could determine that information for you? Right now, the only cornhole scorekeepers on the market are manual wooden boards that you have to adjust yourself. This does not make it much easier to avoid losing track of score, especially in a game often accompanied by drinking and socializing. What if it could also give you game statistics and provide pointers to get the most points?

# Solution
We’ll be creating an entire cornhole board that would be able to accurately keep track of the score of the game. We would have force sensors covering the entirety of the board that would be able to determine when a bag hits the board. This data would be collected and sent to an app that would list the current score of the game and keep track of throws and turns. Furthermore, the app will keep track of the statistics of the game or practice session. The overall goal of this board is to both keep track of the game for you and provide game statistics and pointers to improve your skills.

# Solution Components

## Subsystem 1 : Power
External battery converting to on-system sensors and demand.

## Subsystem 2: Board Force Sensor Array
This subsystem will consist of force sensors spread across the cornhole board. These sensors change resistance based on how much force is applied. They will detect when a bag has landed on the board by using how much an average bag changes the resistance. We will create thresholds through testing to determine specifically how many bags are in a particular region of the board. The device will be able to store this information to keep track of whose bag is whose on the board. The board state at the end of each round will be sent to the microcontroller, where the score will be calculated.

There will be a set of infrared sensors in the hole. When the connection is broken, it will be determined that a bag has passed through and will be scored appropriately. The connection must be reestablished in a reasonable amount of time or else the score will not be changed to avoid the case of a bag hanging over the hole but not falling in.

## Subsystem 3: Processing
An ultrasonic sensor will be attached inside the hole of the board. The ultrasonic sensor works in conjunction with the force sensor array. The sensor will detect that a bag is coming and will check with the sensor array to determine if there is a change in the board state. If a movement is detected and there is no change in the board state, then the throw will be determined as a total miss.

We would use a wifi-enabled microprocessor that would interface with a PCB which would be able to communicate with a web application where the current score and game statistics could be accessed by players.


# Criterion For Success

Criteria for success are as follows:
Sensors must accurately determine if the bags are going on the board or in the hole and convert this to a running score of the game displayed on the web application.
App must be able to skip throws that miss the board.
Device must be able to determine whose turn it is and when to switch players based on the amount of bags thrown already.
Device must provide game performance statistics, such as percent of throws landing on board and present that on web application along with pointers to improve.

Habit-Forming Toothbrush Stand

John Kim, Quinn Palanca, Rahul Vasanth

Habit-Forming Toothbrush Stand

Featured Project

I spoke with a TA that approved this idea during office hours today, and they said I should submit it as a project proposal.

# Habit-Forming Toothbrush Stand

Team Members:

- Rahul Vasanth (rvasant2)

- Quinn Andrew Palanca (qpalanc2)

- John Jung-Yoon Kim (johnjk5)

# Problem

There are few habits as impactful as good dental hygiene. Brushing teeth in the morning and night can significantly improve health outcomes. Many struggle with forming and maintaining this habit. Parents might have a difficult time getting children to brush in the morning and before sleep while homeless shelter staff, rehab facility staff, and really, anyone looking to develop and track this habit may want a non-intrusive, privacy-preserving method to develop and maintain the practice of brushing their teeth in the morning. Keeping track of this information and but not storing it permanently through a mobile application is something that does not exist on the market. A small nudge is needed to keep kids, teenagers, and adults of all ages aware and mindful about their brushing habits. Additionally, many tend to zone out while brushing their teeth because they are half asleep and have no idea how long they are brushing.

# Solution

Our solution is catered toward electric toothbrushes. Unlike specific toothbrush brands that come with mobile applications, our solution applies to all electric toothbrushes, preserves privacy, and reduces screen time. We will implement a habit-forming toothbrush stand with a microcontroller, sensors, and a simple LED display that houses the electric toothbrush. A band of sensors will be wrapped around the base of the toothbrush. Lifting the toothbrush from the stand, turning it on, and starting to brush displays a timer that counts seconds up to ten minutes. This solves the problem of brushing too quickly or losing track of time and brushing for too long. Additionally, the display will provide a scorecard for brushing, with 14 values coming from (morning, night) x (6daysago, 5daysago, . . . , today) for a "record" of one week and 14 possible instances of brushing. This will augment the user's awareness of any new trends, and potentially help parents, their children, and other use cases outlined above. We specifically store just one week of data as the goal is habit formation and not permanent storage of potentially sensitive health information in the cloud.

# Solution Components

## Subsystem 1 - Sensor Band

The sensor band will contain a Bluetooth/Wireless Accelerometer and Gyroscope, or Accelerometer, IR sensor (to determine height lifted above sink), Bluetooth/Wireless connection to the microcontroller. This will allow us to determine if the electric toothbrush has been turned on. We will experiment with the overall angle, but knowing whether the toothbrush is parallel to the ground, or is lifted at a certain height above the sink will provide additional validation. These outputs need to be communicated wirelessly to the habit-forming toothbrush stand.

Possibilities: https://www.amazon.com/Accelerometer-Acceleration-Gyroscope-Electronic-Magnetometer/dp/B07GBRTB5K/ref=sr_1_12?keywords=wireless+accelerometer&qid=1643675559&sr=8-12 and individual sensors which we are exploring on Digikey and PCB Piezotronics as well.

## Subsystem 2 - Toothbrush Base/Stand and Display

The toothbrush stand will have a pressure sensor to determine when the toothbrush is lifted from the stand (alternatively, we may also add on an IR sensor), a microcontroller with Bluetooth capability, and a control unit to process sensor outputs as well as an LED display which will be set based on the current state. Additionally, the stand will need an internal clock to distinguish between morning and evening and mark states accordingly. The majority of sensors are powered by 3.3V - 5V. If we use a battery, we may include an additional button to power on the display (or just have it turn on when the pressure sensor / IR sensor output confirms the toothbrush has been lifted, or have the device plug into an outlet.

# Criterion For Success

1. When the user lifts the toothbrush from the stan and it begins to vibrate (signaling the toothbrush is on), the brushing timer begins and is displayed.

2. After at least two minutes have passed and the toothbrush is set back on the stand, the display correctly marks the current day and period (morning or evening).

3. Track record over current and previous days and the overall weekly record is accurately maintained. At the start of a new day, the record is shifted appropriately.

Project Videos