Inspiration
Did you know that 1 out of 3 Americans suffer from poor quality of sleep? Well, with SweetDreams, you can finally get proper sleep.
What it does
Sweet Dreams is a sleeping eye mask that tracks sound and motion disturbances when you sleep, as well as waking you up in the morning at a specific range.
How we built it
Using the Arduino Uno, nodeMCU, GY-521 module (gyroscope and accelerometer), sound sensor module, and temple buzzers. In our code, we took the vector sum of all of the positions given by the gyroscope and accelerometer. Then, an alarm function was implemented that allowed the buzzers to delay. This delay thus became equivalent to the alarm time the user sets.
Challenges we ran into
Getting the nodeMCU to connect was a big hassle. We also spent considerable time on the communication between the node and the Arduino via their serial communication.
Accomplishments that we're proud of
Getting the hardware to actually be wearable.
What we learned
How to troubleshoot when there isn't just one issue.
What's next for Sweet Dreams
We're going to incorporate a timer module for more accurate alarms, as well as work with higher quality sensors for more accurate sleep readings. Furthermore, we will upgrade the code to train the alarm to activate when motion peaks during a wake-up range set by the user.
Log in or sign up for Devpost to join the conversation.