Building a sleep-tracker
In our labratory this year, my friend benedikt and me, tried to build a sleep-tracker. i'll shortly outline the project. For more details check the attached report: report.pdf.
hardware
we narrowed down our three main requirements:
- small, similiar to a smart watch. it shouldn't hamper or disrupt the users sleep.
- power effiency: run for at least one night
- connected to a network: for long term data storage and data anlysis
therefore, we did go for the following hardware:
software
right now i can't describe the code in detail. basically it consists of three components:
- code for the ESP8266
- a web application build in Elixir Phoenix
- a docker-compose stack for setting up the backend
all of the code can be found in our Gitlab Project.
analysis
for our analysis we had to test our device.
after gathering data for some nights, we tried to analyze the pulse, as it is the most reliable indicator of the sleep stages.
the first measurements looked promising. we detected the typical 5 sleep cycles at each nights.
more details to follow if we find some spare time