-
-
-
Menu Option 1: Start sleep mode
-
Close up of movements per hour display
-
Users may set a length of time they wish to sleep, alarm rings at end of set sleep period
-
Menu Option 2: Analyze last sleep quality
-
Menu Option 3: Weekly overview of sleep quality
-
Menu Option 4: Receive tips on getting a better sleep
Inspiration
The inspiration for this projects comes from witnessing the lack of sleep a lot of college students have. Our projects gives a good way to monitor your sleep patterns including the number of hours of sleep per night and how restful the sleep is. This project will hopefully assist people in monitoring their sleep to make changes in their lives or daily routines where they need to in order to improve their sleep quality and overall health, in turn improving their lives as a whole.
What it does
Our project has several components to monitor and analyze your sleeping patterns over a week period. During the night, it is able to capture the number of movements per hour while your sleep and stores it along with the total number of hours slept for that night. You can analyze your last sleep which will display a chart showing your most restless points of the night. The number of movements per hour is shown on a led display graph and you will be given a rating on sleep depending on both the number of hours slept and how restless you were. You can then analyze your sleep patterns over the last week to see how your sleep patterns are improving or what days you need to focus on to fix. Finally, our project can provide sleep tips to help you have a restful night.
How we built it
We mainly used Arduino and corresponding modules to facilitate everything about the project. Two Arduino Uno microcontrollers were used, one to handle user input and analyze data, and one to handle output and display. The microcontrollers would then need to communicate to each other whenever an update occurs. Various Arduino modules were used including LCD display, motion sensor, RTC clock, LED 8x8 display, and a passive buzzer. The microcontrollers were programed using the Arduino IDE to handle user input, keep track of time, and manage the data of sleep patterns.
Challenges we ran into
One of the main challenges we ran into involved the real time communication of two Arduino Uno microcontrollers. We were severely constrained by the number of GPIO pins availiable on the Uno board which would not be enough to facilitate effective user input and ouput. So to solve this, two Uno boards would be used, but data would have to be transmitted from one to the other as one handles managing and analyzing the inputs and data, while the other is solely responsible for output to the LCD and LED 8x8 display. It took a good amount of research and testing, but we were able to develop a system with effective communication.
Accomplishments that we're proud of
We're very proud that we were able to get all of the main components complete and working together on the full system. The whole system is able to accomplish the main goal of reading in sleep movement inputs, store them, and analyze a weeks worth of sleep that can be communicated to the user.
What we learned
We learned a lot in not only how to combine multiple Arduino modules together effectively, but connect multiple microcontrollers together to send and recieve data in an efficient manner.
What's next for Bearly Asleep?
A couple more modules can be added such as a 7-segment display, or multiple, to have a working clock on the system as well as more customizable lights through LEDs for a night light.
Log in or sign up for Devpost to join the conversation.