Inspiration

We were inspired to build SleepTight after realizing that sleep deprivation is a common problem that virtually everyone faces. The traditional apps that wake you up at the lightest point of your sleep cycle lack accuracy, so we decided to build our own program that takes in real time EEG data.

What it does

SleepTight is designed to be a program that can take in EEG data and make sleep recommendations based on brain wave analysis. It also functions as an alarm. The idea is to wake the subject up when they are expressing theta waves the most, which is when they are at the lightest point of their sleep.

How I built it

Jeff assembled a circuit and attached an AUX cord to the EEG to accept electrical signals and send them through to the computer. The computer would then take in all this data and process it using a program coded in Processing. Statistics would then be loaded and appropriate sleep recommendations would be displayed on the computer. Sam (Chung Hin) and Norman handled this part.

All the EEG data would also be uploaded to a server where iPhone and Android apps can fetch information from so users can use SleepTight on their phones as well. Winson focused on iPhone mobile development while Sam worked on Android mobile development.

Challenges I ran into

Building the EEG was the greatest challenge that the group ran into. We did not have all the materials required according to a setup guide, so Jeff had to think of substitute parts on the spot. We also had difficulty sending and receiving data through the server we set up, and processing and visualizing the data was challenging as well.

Accomplishments that I'm proud of and lessons learned

We were almost able to build a fully functional EEG, and we learned about network programming and how to visualize data. These are very helpful skills that can come in handy in the future.

What's next for SleepTight

The group may decide to finish building the EEG and conduct some experiments to test out the accuracy of SleepTight.

Built With

Share this project:

Updates