Sleep Shift Scheduling Tool

Sleep loss and fatigue may lead to reduced performance and an increased risk to safety during many activities, including spaceflight. Your challenge is to develop an operational sleep shift scheduling tool that provides autonomous customization of a schedule for sleep, exercise, and nutrition to manage fatigue.

Regulated lifestyle

Summary

-our idea summarizes in making an application helps workers to regulate their sleep, nutrition, and work in accordance with their routine. The app will deduce the required data using two types of inputs. The first type is the fixed data that the user will enter, such as age, weight, and work hours ...etc. The second type is the variable data such as the exertion, and sleep periods. These data will be collected by wristbands that workers will wear all day to calculate blood pressure, heart rate, and calories by the sensors on it and send them to the app with serial Bluetooth communication. In addition, the person’s sleep periods will be detected by the change occurs in the heartbeat rate.

How We Addressed This Challenge

The challenge:

-The challenge is developing an operational sleep shift scheduling tool that provides autonomous customization of a schedule for sleep, exercise, and nutrition to manage fatigue.

our solution developments:

-The most of applications are working as an alarm to organize our sleep time only, but what distinguishes our application is:

- it is interactive with the user which it doesn't depend on the fixed data which entered by the user only but It is affected by the daily changed data such as sleeping periods, exertion and consumed calories...etc. This data will be collected through the sensors which exist into wristbands which workers will wear and send these data to the app with serial Bluetooth communication and depending on these received data the application will provide the user with a nutrition system. so, it will help all workers (astronauts or people in general)


The importance of our project and our goal which we hope to achieve:-

-our application and the wristband are officially able to regulate the workers' sleep time, nutrition system and exercises also.So, their health will be stable and they will be more efficient in their work .

How does it work ? (its mechanism):


1) The user enters the required data such as age, weight, and work hours.


2) The user will wear the wristbands to detect the other variable data (by sensors which exist on it) such as sleeping periods, exertion, consumed calories and heart beats to know from it if the user is awake or sleep.


3) These data which collected by the wristbands will be send to the application with serial Bluetooth connection. 


4) After sending the data to the application, then it will be able to provide the user with the most suitable nutrition, sleep, exercise system.

How We Developed This Project

Our inspiration to choose this challenge and our idea:-

-Although sleep and nutrition are two of the biggest factors affecting human life in terms of health, efficiency, and productivity, they do not receive much attention like others. Our knowledge about the subject is not only limited to reading, but we have tried the night work periods at certain times of the study, such as working days on projects. We noticed how much work at night could cause disturbances in nutrition, concentration, and health, such as low blood pressure, and thus the efficiency of work was reduced and it took more time. And here came the inspiration. The issue is dangerous, especially if it is repeated and inevitably needs a solution.

Our approaching to develop this idea:-

We followed some steps in order to reach a good definition of the problem, enabling us to reach an ideal solution. In the beginning, we studied the changes that happen to the body when there is an imbalance in nutrition, sleep, or stress, and we looked for some previous solutions to know what is lacking. And we came up with the idea of the solution, which is the work of an application that organizes the worker's entire lifestyle in terms of nutrition, sleep, and effort. But what distinguishes this application is its ability to interact with the daily and unexpected changes of the day's course. This is done through a bracelet that the worker wears to monitor his health. The first implementation steps were to determine the appropriate components to achieve the goal. After that, we made electrical designs, then we coded the wristband. Finally, the application was made and the beginning of correspondence between them.

space agency data

NASA had already worked on this challenge by using ISS Fit for tracking food consumption, Health Maintenance System (HMS) Periodic Health Status (PHS) and currently collects sleep data and it is composed of total sleep time, start and end times, date of data period, sleep onset, sleep latency, sleep efficiency, wake after sleep onset, and light. NASA also has put in consideration FMS plans to also include sleep phases: light, deep, rapid eye movement, and wake and these plans that we are working on achieving them using our application and the wristband. And we have studied ISS Daily Summary Reports that NASA provides to know more about astronaut’s lifestyle at space.

Coding languages, hardware and software which we used:-

The work is divided into two parts, the first part was on the wristband. We used much software to get the best possible hardware such as Easy EDA for the schematic, EAGLE for the PCB, and Fusion 360 to make a 3d model to the PCB. In the software part, we used the Arduino IDE to upload the code, c, and c++ programming languages. We used Arduino.cc as a reference for the components' datasheets also.

The second part was the application. We used Python as a primary programming language, and PyQt5 to make GUI for our application.

Problems which we face:

-While working, we have faced some problems. At first we used Easy EDA, but it had a disadvantage that it did not convert schematic to PCB. So we switched and used Eagle but it doesn't have 3D, so we used Proteus. While using Easy eda we were using its modules, but while working on Eagle, modules were not on it, so we used a library for each piece and replaced some with ICs.


Achievements:

We have achieved the purpose of our work which is to create a tool which is capable of adapting an individual's sleep schedule with countermeasures to maintain circadian entrainment, provide exercise guidelines, and provide nutritional guidelines. And as currently  there are no applications that support all three areas of sleep schedules, exercise regimens, and nutritional guidance, we have achieved the purpose of our challenge.

How We Used Space Agency Data in This Project

Improving Slumber on the Space Station With Sleep-Long

https://www.nasa.gov/mission_pages/station/research/news/Sleep_Long.html#:~:text=Whether%20on%20Earth%20or%20in%20orbit%2C%20sleep%20is,one%20alarm%20bell%20away%20from%20a%20life-and-death%20situation.


ISS Daily Summary Report – 10/27/2017

https://blogs.nasa.gov/stationreport/2017/10/27/iss-daily-summary-report-10272017/


Remodeling Research for Astronaut Bone Health

https://blogs.nasa.gov/ISS_Science_Blog/2013/04/15/post_1348152821740/


STEMonstrations: Sleep Science

https://www.youtube.com/watch?v=1AG9f0dmg2w


Diet, Exercise and Sleep

https://www.sleepfoundation.org/articles/diet-exercise-and-sleep


https://zapier.com/blog/best-fitness-tracking-apps/

Project Demo



https://docs.google.com/presentation/d/11qpoQfcgChqJK7KmD9MLZq7bYe89s1jMo_fRdzVX6-A/edit?usp=sharing


Data & Resources

1) Dunbar, B. (n.d.). Improving Slumber on the Space Station With Sleep-Long. Retrieved October 04, 2020, from https://www.nasa.gov/mission_pages/station/research/news/Sleep_Long.html

2) Keeter, B. (2017, October 27). ISS Daily Summary Report – 10/27/2017. Retrieved October 04, 2020, from https://blogs.nasa.gov/stationreport/2017/10/27/iss-daily-summary-report-10272017/

3) Robinson, J. (2013, April 15). Remodeling Research for Astronaut Bone Health. Retrieved October 04, 2020, from https://blogs.nasa.gov/ISS_Science_Blog/2013/04/15/post_1348152821740/

4) STEMonstrations: Sleep Science - YouTube. Retrieved October 4, 2020, from https://www.youtube.com/watch?v=1AG9f0dmg2w

5)Nutrition, Exercise & Sleep. (2020, September 25). Retrieved October 04, 2020, from https://www.sleepfoundation.org/articles/diet-exercise-and-sleep

6)Pike, J. (2020, September 30). 20+ Fitness Tools that Track Your Exercise, Meals, Sleep, and More. Retrieved October 04, 2020, from https://zapier.com/blog/best-fitness-tracking-apps/

Tags
#Regulated lifestyle #Human health #Helping astronauts #Eco-friendly solution #NASA space apps 2020
Judging
This project was submitted for consideration during the Space Apps Judging process.