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.



The Marching Band Assistant

Wynter Chen, Alyssa Louise Licudine, Prashant Shankar

The Marching Band Assistant

Featured Project

NetID/Names

wynterc2 (Wynter Chen), alyssal3 (Alyssa Licudine), shankar7 (Prashant Shankar)

Problem

Drum majors lead and conduct marching bands. One of their main jobs is to maintain tempo for the musicians by moving their hands in specific patterns. However, many drum majors, especially high school students, need to learn how to conduct specific tempos off the top of their head and maintain a consistent tempo without assistance for performances. Even those with musical experience have difficulty knowing for certain what tempo they're conducting without a metronome.

Solution Overview

Our project consists of an arm attachment that aids drum major conducting. The attachment contains an accelerometer that helps determine the tempo in beats per minute via hand movement. A display shows the beats per minute, which allows the drum major to adjust their speed as necessary in real time. The microcontroller data is wirelessly transmitted, and a program can be downloaded that not only visualizes the data in real-time, but provides an option to save recorded data for later. There is also a convenient charging port for the device.

This project is a unique invention that aims to help marching bands. There have been previous projects and inventions that have also digitized the conducting experience, such as the Digital Conducting Baton from Spring 2015. However, these have been in the form of a baton rather than a glove, and are used to alter music files as opposed to providing feedback. Additionally, orchestra conductors use very delicate motions with a baton, while drum majors create large, sharper motions with their arms; thus, we believed that an arm attachment was better suited for marching band usage. Unlike other applications that only integrate digital instruments, this project seeks to assist live performers.

Link to RFA: https://courses.grainger.illinois.edu/ece445/pace/view-topic.asp?id=37939

Project Videos