Fun software+hardware hack. Uses Shimmer sensor platform to measure activity of user's nervous system, extracts certain spectral features, and classifies the user as awake or sleep. Could be a fun use for late night studying in which you want your alarm to go off when unintentional sleep is detected. A fun application of machine learning algorithms, although Support Vector Machines was finally chosen to be implemented. (tested: adaboost, random forest).