This video demonstrates a full use case cycle, from setting the device up for a night's sleep, up until the 'wake-up stage'.
- Alarm time is inputted
- A 'wake window' is inputted - a duration of time up until the alarm time that the user is happy to be woken up during. The device will wake up the user at the optimal point during this part of the user's sleep cycle. (The 'wake window' is hard coded to 40 secs for the purpose of the demo.)
- Sensitivity (for the microphone) is inputted
- The program is then started: the algorithm executes as normal, interpreting background noise as movement, and eventually performing the 'wake-up stage'.
- Once the device decides to wake the user up, a light gradually brightens, imitating a sunrise.
- An alarm is eventually played to wake up the user, if the light did not succeed.
- Sleep data is then processed and stored on the device.