Project

# Title Team Members TA Documents Sponsor
23 RNG Challenge Alarm Clock
Allen Zhu
Rithvik Kopparapu
Zinovy Alecksandrovich
Sanjana Pingali design_document1.pdf
proposal2.pdf
proposal1.pdf
# Randomly Generated Challenge Alarm Clock

Team Members:
- Rithvik Kopparapu (rithvik9)
- Allen Zhu (allenz2)
- Zinovy Alecksandrovich (zinovya2)

# Problem
For college students, industry professionals, and people from all walks of life, alarms or other methods of waking up on time have become essential. Sleep is an essential need that no one wants to give up, yet there are numerous demands in our lives that take us away from the comfort of our beds. In order to stay on top of their schedules, people resort to various methods of alarms- setting many alarms all 2-3 minutes apart, downloading an app that forces them to take a picture, or using a smartwatch alarm. However, many times the human body automatically adjusts to the routine of a regular alarm, allowing people to snooze or turn off alarms in their sleep, turn off their phone, or getting used to the vibration of a smartwatch alarm.

# Solution

In order to solve this problem and force users to actually wake up in order to turn off their alarm, we wish to make an alarm clock with 4 different challenges using simple sensors (load cell, gyroscope, temperature, pedometer) to complete to turn it off- with the clock randomly picking which challenge needs to be completed every morning. Randomly picking between 4 different challenges every morning keeps the user on their toes, with minimal effort required from the user in order to set the alarm by having everything in one succinct device.

# Solution Components

## Subsystem 1 - Alarm clock and speaker

The first part of our solution is the physical alarm clock that we will be modifying to add our challenges. We wish to use a simple AA-powered alarm clock with a clear LCD display for the user to be able to easily program times in and use power efficiently. In order to inform the user what challenge is to be completed that morning, pressing the clock's snooze button will play an instruction on a separate speaker that we will add (i.e., "SHAKE CLOCK FOR ONE MINUTE").
## Subsystem 2 - Challenge Deck with sensors
The second part of our solution is our challenge deck with the associated sensors:

Gyroscope sensor - MPU-9250 with built in gyroscope and accelerometer sensors. The challenge we want to incorporate here is to shake the clock for 1 minute, and we will use the data from the sensor to verify the shaking of the clock.

Temperature sensor - TSYS03 temperature sensor. The challenge we want to incorporate here is to get up and put the clock in the fridge for 2 minutes while waiting there for the alarm to turn off. We will check to see if the clock holds a temperature below 40 degrees Fahrenheit (avg fridge temp is 37 degrees) for at least 1 minute, to consider the time it takes for the clock to cool.

Pedometer sensor - MIKROE-3567 pedometer sensor. The challenge we want to incorporate here is to take get up and take 250 steps with the alarm clock.

Load cell - SparkFun SEN-10245 load cell. The challenge we want to incorporate here is to apply an even and constant force for 3 minutes, in order to make it an inconvenient enough time to be unable to do it in your sleep.
## Subsystem 3 - Linkage to alarm clock

To link all the sensors, we will be using a ATMEGA324PB microcontroller. To make the alarm clock stop ringing when the challenge is completed, we will generate the signal that is usually generated by the "stop alarm" button to the alarm. Once the challenge is completed, we will also use the previously mentioned speaker to give the user a simple audio feedback that they've completed the challenge, with a "ding" sound.


# Criterion For Success
Our criterion for success are as follows:

1) Each challenge needs to work appropriately and actually stop the alarm from ringing.
2) Challenges must successfully randomly switch every morning.
3) Alarm must only deploy one challenge at a time.

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)