Project

# Title Team Members TA Documents Sponsor
17 TipsyTracker
Akash Patel
Eshrit Tiwary
Sumedh Vemuganti
Dushyant Singh Udawat design_document1.pdf
final_paper1.pdf
photo1.png
photo2.png
presentation1.pptx
proposal1.pdf
video1.txt
video
# TipsyTracker

# Team Members:
- Akash Patel (ayp2)
- Sumedh Vemuganti (sumedh2)
- Eshrit Tiwary (etiwary2)

# Problem
Irresponsible drinking is a widespread problem, especially among university students. Unfortunately, many people often lose control of their alcohol consumption simply due to a lack of awareness of how much they have consumed. To combat this issue, we propose to create TipsyTracker
, a system that promotes responsible drinking. The system will remind partygoers to periodically check their blood alcohol content (BAC) levels and alert the host if a guest's BAC level exceeds a certain limit. This way, partygoers can stay informed of their alcohol consumption and make more informed decisions, while the host can ensure that the party remains safe and enjoyable for everyone involved. By implementing this system, we hope to create a more responsible and enjoyable party experience for all.

# Solution

TipsyTracker will revolve around a device that uses a breathalyzer to measure the blood alcohol content (BAC) levels of partygoers. Upon arrival, guests will be given an RFID-enabled wristband/card which will be scanned by the device's built-in RFID reader when they initiate a breath test. The device is powered by an ESP32 microcontroller and is connected to a Raspberry Pi, which acts as a server. Once a partygoer initiates a test, the microcontroller will send the RFID and breathalyzer data to the Pi. The Pi hosts the necessary software and databases, handles communication between the device and registration station, and sends notifications to guests and the host. Guests will receive notifications at set intervals to test their BAC levels, and if they fail to do so within a set limit, the host will be notified. Additionally, if a guest's BAC level exceeds a certain threshold, the host will also be notified. The goal of this project is to promote responsible drinking at social gatherings and make them more enjoyable and safer for everyone.

# Solution Components

## Subsystem 1 (RFID Identification Subsystem) - on PCB
This subsystem will be responsible for identifying each partygoer or patron by reading their RFID-enabled wristband/card when they initiate a breath test. This subsystem will be connected to the ESP32 microcontroller which will wirelessly send this data to the Raspberry Pi, which correlates an RFID to a user’s name and phone number.

Subsystem 1 Modules:

MFRC522 RFID: https://www.amazon.com/SunFounder-Mifare-Reader-Arduino-Raspberry/dp/B07KGBJ9VG

ESP32-WROOM:

https://www.amazon.com/ESP-WROOM-32-Development-Microcontroller-Integrated-Compatible/dp/B08D5ZD528/ref=sr_1_5?crid=395FTKAFRGYNK&keywords=ESP32-WROOM&qid=1674683343&s=electronics&sprefix=esp32-wroom%2Celectronics%2C120&sr=1-5&th=1


## Subsystem 2 (Breathalyzer measurement subsystem) - on PCB

This subsystem will be responsible for measuring the BAC levels of the partygoers/patrons by using a breathalyzer. It will be connected to the ESP32 microcontroller and will communicate with the RFID identification subsystem to ensure that the test results are associated with the correct partygoer/patron. A light will turn green when the device is ready for a partygoer to test their BAC. This subsystem will be connected to the ESP32 microcontroller, which will send the data to the Raspberry Pi.

Subsystem 2 Modules:

MQ-3 sensor: https://www.amazon.com/Alcohol-Detector-Ethanol-Detection-Raspberry/dp/B09HY1H6VW/ref=sr_1_2?crid=2FOU5M2NX4THQ&keywords=MQ-3+sensor&qid=1674682965&s=electronics&sprefix=mq-3+sensor%2Celectronics%2C106&sr=1-2

ESP32-WROOM: (same as subsystem 1)

Green LED: https://www.amazon.com/MCIGICM-Circuit-Assorted-Science-Experiment/dp/B07PG84V17/ref=sr_1_1?crid=ZEO8CF2AHP8P&keywords=led+circuit&qid=1674685556&sprefix=led+circui%2Caps%2C114&sr=8-1

## Subsystem 3 (Notification and data management subsystem) - off PCB

This subsystem will be responsible for handling the communication between the device and the registration station, as well as sending notifications to partygoers/patrons and the host. It will be powered by a Raspberry Pi server, which will host the necessary software and databases, and will handle data storage, analysis and management of the entire system. It will also send notifications to partygoers/patrons at set intervals to remind them to test their BAC levels, and notify the host.

Subsystem 3 Modules:

Raspberry Pi: https://www.raspberrypi.com/products/raspberry-pi-4-model-b/

# Criterion For Success

The following high-level goals will be needed for our project to be effective:

1. Accurate measurement of BAC levels: The device should be able to accurately measure the BAC levels of partygoers. This can be tested by comparing the results of the device with those of a calibrated breathalyzer.

2. Effective RFID scanning: The device should be able to scan and store the data of guests' RFID-enabled wristbands/cards efficiently, with no errors in data storage or retrieval. This can be tested by placing a colored sticker on each RFID card, scanning various RFID cards in rapid succession, and ensuring that the color and the RFID number match.

3. Accurate notifications: Messages to partygoers and the host should be accurately sent. This can be tested by monitoring notifications. We can test by timing notifications, and ensuring they are being sent at correct intervals.

4. Updated interface:The Web-interface should reflect updates to party goers who test their BAC levels. This can be tested by conducting many user tests and seeing if the page updates accurately.

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)