FeedYourHead

My personal hacks, tweaks, and ideas concerning just about anything that can be plugged in a wall, taken apart, or put back together

8/07/2014

LighTouch - Phase II

DESCRIPTION
LighTouch is the second iteration of a prototype I 'completed' about a year ago - LighTouch - Phase I . The premise is simple: a fully functional streaming radio/alarm clock that uses hand gestures as the sole interface and no physical contact with the device. 

Playback, volume, and track changing are controlled by waving your hand above the device. 

The two primary components to accomplish this are simply a raspberry pi and an ultrasonic sensor. Everything else is just for flair! 

Full how-to and code is available at: Hackaday.io - LighTouch





More after the break

Description

LighTouch is meant to be a general control interface for non-visual medium (music in this case, but there are many other applications).  The idea behind the project is to make playing and controlling your music as simple as waving your hand.  The code is designed to interpret input from the ultrasonic sensor and use that information to control music playback.  
One of the first applications for this project is as a bed-side alarm clock.  The idea of which being rather than trying to fumble for a 'snooze' button, turning off your alarm is as simple as waving your hand over the clock.  
The controls are highly configurable, but in it's current state it's configured using MPD (pianobar is also working).  
To control the unit there are set distance criterias.  For instance there is a "ceiling" (the maximum distance the sensor will read input) set to 80cm.
Other such criterias are as follows:
0-10cm - Pause (LED off)
10-45cm - Volume control 0%-100% (LED brightens/dims)
46-69cm - DEAD ZONE (to prevent accidentally skipping to the next track when raising the volume....LED fully on)
70cm-80cm - Next Track (led will blink 3 times)
>80cm - Ceiling (no action taken)
In addition, I've also added an LCD screen to show current "Now Playing" information as well as volume level and an Ultrabright LED that fades depending on the volume level.

COMPONENTS
  • QUANTITY COMPONENT NAME
    1×Raspberry Pi (final and tutorial build)
    1×16x2 LCD Display (final build)http://osepp.com/products/shield-arduino-compatible/16x2-lcd-display-keypad-shield/
    1×Pi Alamode (final build)http://www.makershed.com/products/alamode-for-raspberry-pi
    1×HC-SR04 Ultrasonic Sencor (final build)https://www.bananarobotics.com/shop/HC-SR04-Ultrasonic-Distance-Sensor?gclid=Cj0KEQjw6deeBRCswoauquC8haUBEiQAdq5zh-lW78tsyO0Vw-OGO0Tpa8D2Kt0VO37wZwWF8RpF3DYaAk0R8P8HAQ
    1×10mm Ultra-High Brightness Blue LED (final build)http://www.radioshack.com/product/index.jsp?productId=3111495
    1×Case (final build)
    1×Arduino Menta (tutorial build)
    1×Parallax Ping))) (tutorial build)
    1×Any, old LED (tutorial build)
    1×Breadboard (tutorial build)
    1×FTDI cable (tutorial build)

Posted by wolfebaine at 8:27 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Back In Time

  • ▼  2014 (2)
    • ►  December 2014 (1)
    • ▼  August 2014 (1)
      • LighTouch - Phase II
  • ►  2013 (1)
    • ►  March 2013 (1)
  • ►  2012 (1)
    • ►  September 2012 (1)
  • ►  2011 (7)
    • ►  December 2011 (1)
    • ►  August 2011 (3)
    • ►  July 2011 (1)
    • ►  February 2011 (1)
    • ►  January 2011 (1)
  • ►  2010 (6)
    • ►  November 2010 (1)
    • ►  October 2010 (1)
    • ►  July 2010 (1)
    • ►  June 2010 (3)

Popular Posts

  • $15 (easy) Water Detector
    Premise After the slew of hurricanes and tropical storms that plagued the east coast this year, I think just about everyone became aware of...
  • Google Street View + Treadmill (made easy)
    Premise  I've seen quite a few posts lately around hooking Google Street View up to exercise equipment of some sort.  Most tend to use ...
  • Project Gemini - Phase 1 - XBMC (complete)
    Backstory   If you're reading this post than you are probably where I was a couple of months ago.  You wanted to jump on the bandwagon...

Subscribe To

Posts
Atom
Posts
All Comments
Atom
All Comments
Picture Window theme. Theme images by enot-poloskun. Powered by Blogger.