Project

# Title Team Members TA Documents Sponsor
12 CHEAPER ALTERNATIVE FOR TEMPERATURE CONTROLLED SLEEP
Alex Dicheva
Patrick Wang
Wyatt Sass
Luoyan Li design_document2.pdf
final_paper2.pdf
photo2.jpg
photo3.jpg
photo4.jpg
presentation1.pdf
proposal2.pdf
video
# CHEAPER ALTERNATIVE FOR TEMPERATURE CONTROLLED SLEEP

## Team Members:
- Alex Dicheva (dicheva2)
- Wyatt Sass (wpsass2)
- Patrick Wang (pw16)

# Problem

A lot of research has been done on the impact temperature has on your sleep. In general, the body prefers a cooler temperature when we try to fall asleep. However, while we are asleep, our body tends to cool and thus might benefit from a slightly warmer environment. As a result, various efforts have been made toward temperature regulation while we sleep. Some examples might be temperature-controlled bed sheets or duvets, as can be found in the following links:

[BedJet](https://bedjet.com/products/bedjet-3-dual-zone-climate-comfort-system-for-couples), [Smartduvet](https://www.smartduvet.com/products/smartduvet), [EightSleep](https://www.eightsleep.com/product/pod-cover-mattress/)

Each takes a different approach to the problem, but the common issue is the high price. Each of these solutions is priced at over $1000, making it unaffordable for the average consumer.

# Solution

Heated blankets can be found just about anywhere, and cost between $25-50. This product can be modified to make Temperature Controlled Sleep cheap and attainable for everyone.
We can add temperature sensors to the outer layers of the heated blanket to track the temperature of the contact area between the user and the blanket. Another small sensor (like an IMU) can determine when the user's movements slow down, indicating that they may have fallen asleep. Using this data, we can create an app that allows the user to set a desired temperature for wake and sleep. We can also provide temperature recommendations allowing users to choose a temperature that will improve the quality of their sleep. Further, temperature regulation can be used in the morning to assist with waking up. Users can set a wake-up temperature based on their morning preferences and desired wake-up time.
Ultimately, this serves as a much cheaper alternative for users to optimize their sleep and improves upon existing products that are already commonplace.
# Solution Components

## Heating System

We will build the heating system off of a readily available [heated blanket](https://www.amazon.com/dp/B0C8PVTF56?ref=ppx_yo2ov_dt_b_product_details&th=1). The standard heated blanket comes with a physical remote that allows a user to cycle through some preset heating modes. We will take advantage of the heating coils that are already present in the blanket, but handle the control with our microcontroller which automatically changes the temperature. The goal is to create a much more fine-tuned system, allowing the user to set a specific temperature ahead of time (i.e. 70 degrees Fahrenheit).

## Temperature sensing system

We will be detecting the heat on the user side of the blanket through temperature sensors ([LM35DZ/NOPB](https://www.digikey.com/en/products/detail/texas-instruments/LM35DZ-NOPB/32489) or [DS18B20](https://www.digikey.com/en/products/detail/umw/DS18B20/16705963)) placed throughout the blanket. These sensors would all be connected to our central microcontroller. With this temperature information, we could determine the average temperatures in the different zones of the blanket, and this would be used closely with our heating system to achieve our desired heating effects.

## Sleep-sensing system

A presumption that we make for the scope of the project is that movement is a clear indication of whether or not a user is asleep. For example, we might set the threshold to be that 10 minutes of stillness indicates a high likelihood that the user has fallen asleep.
To implement this system, we will detect movement in the blanket with a [small IMU](https://www.seeedstudio.com/Seeed-XIAO-BLE-Sense-nRF52840-p-5253.html), which we will connect to our central controller. We can track most of the major movements of a user through this IMU which would be stationed near the center of our blanket.
After our system determines the user is asleep, we can trigger the blanket to switch modes and change the maintenance temperature.

## App/controller system

We will allow user control via an app or controller system that takes input in terms of a desired temperature range. The user would be able to choose two distinct temperatures: one for when they are still awake and one for after they fall asleep. These would be used to automatically heat the blanket to the correct temperature. The app would interface with our blanket through a wireless connection like Bluetooth, using a small Bluetooth module ([RN4871-I/RM140](https://www.digikey.com/en/products/detail/microchip-technology/RN4871-I%2FRM140/10673433?utm_adgroup=&utm_source=google&utm_medium=cpc&utm_campaign=PMax%20Shopping_Product_Medium%20ROAS%20Categories&utm_term=&utm_content=&utm_id=go_cmp-20223376311_adg-_ad-__dev-c_ext-_prd-10673433_sig-Cj0KCQiAwbitBhDIARIsABfFYIL4Gtr9hoeUv5XgH5ri-AVEjJB8Bv6-2h_za2l4JRQnJtcR90yLKv4aAq5ZEALw_wcB&gad_source=1&gclid=Cj0KCQiAwbitBhDIARIsABfFYIL4Gtr9hoeUv5XgH5ri-AVEjJB8Bv6-2h_za2l4JRQnJtcR90yLKv4aAq5ZEALw_wcB) or[ HC-05](https://www.digikey.com/en/products/detail/seeed-technology-co-ltd/113020008/5774955?s=N4IgTCBcDaIBYGMC0AGArCAugXyA)).

## Blanket control system

The brain of the blanket will use a microcontroller to take the readings from our motion-sensing system to determine whether the user is plausibly asleep and change the heat accordingly. It will also change its heat setting to stay as close to the desired temperature as possible. We would design this microcontroller ourselves, taking inspiration from other commonly used microcontrollers like the Arduino. All of the sensors and modules would be connected to this microcontroller simultaneously, so our PCB design would have to properly account for that.

# Criterion For Success

The blanket successfully senses when a user stops moving (i.e. determines the user has fallen asleep), and changes temperature accordingly.

The blanket takes user input and automatically adjusts its temperature accordingly. This also means that the blanket is able to successfully communicate with our app through bluetooth.

The blanket accurately assesses the temperature throughout the blanket for the duration of its use.

The blanket stays at a steady temperature (+/- 2.5 degrees Fahrenheit, lasting over 5 minutes) once it reaches its goal temperature.



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