Followers

Sunday, September 5, 2010

Lolo's Alarm Clock -- The omniscient alarm clock...

A fancy alarm clock built with the Arduino platform and hardware. It keeps track of time and can measure temperature, humidity, dew point, light level, air quality, and sleep patterns. It's designed as a wooden box with touch sensing for control.

It monitors the quality of air, and general comfort in the room during sleep and wakes you up at the best possible time by sensing your sleep state with an accelerometer sensor under the bed. All data is logged wirelessly to a base station connected to the computer for latter analysis.

Right now I am providing all source code (Arduino) and videos for the project. Details on the electronics will be provided at some later time.
Theory.

The more you move during your sleep the easier it is to wake you up. 'Deep sleep' is the worst time to wake up and is characterized by very few body movements. Any other time is better: in particular just after moving substantially. For example turning from belly to back side, moving arms, legs, head... This sometimes corresponds (at least for me) to a short moment of consciousness while dreaming or close to waking up. The alarm clock monitors a time window defined by a wake-up deadline and a preceding monitoring period (configurable). For example you can tell it to wake you up no later than 8h00 but up to one hour before (between 7h00 and 8h00). It will wake you up just after a body movement that exceeded a given intensity threshold.

Below is an example 'Sleepogram':

Also interesting is the possibility to monitor the general comfort of the room while sleeping. I usually get fued in the morning if there was not enough air circulation. The alarm clock can warn me if there is a problem with the air quality. Air contaminants detectable by the Figaro gas sensor (TGS2602) accumulate and are a good indicator of overall air freshness...

The alarm clock makes 'bird-like' sounds although right now the birds sound very wrong... A nice idea would be to have bird-like sound that slightly vary randomly thus avoiding the usual repetitive and boring alarm clock buzz.
Hardware.

What I have used:

    * Arduino Dueminalove (alarm-clock)
    * Seeduino Mega (Base-station)
    * Real-time clock
    * LCD screen
    * Temperature and humidity sensor
    * Gas sensor: detection of air contaminants (TGS2602 or TGS2600)


Click to see the video

4 comments:

  1. and here is me just getting a standard radio alarm!

    ReplyDelete
  2. hahaha at least you didn't spend like 300 dollars worth on something built to wake you up lol. i usually do that for free minus the awesome features and plus the annoyance

    ReplyDelete