FeedYourHead

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

12/19/2014

Control a PC from Android Wear

So I'm now the proud owner of an LG G Watch.  After reading all the flame wars on whether Android Wear was the greatest thing since sliced bread or the worst thing since un-sliced bread I decided to be conservative and opted for a first gen watch before dropping too much cash on the "newest-greatest".  I'm not going to add to the already gigantic pile of Wear reviews, suffice to say I'm satisfied with it for what it is and what I paid for it.

But that's not the point of this post.  90% of the reason I bought the watch wasn't for what it did, but rather what can I make it do???  So I got it, rooted it, and started sideloading apps (xda).  What I ended up with was an android smartwatch that could:
  • Play a movie (QQPlayer + ES File Explorer + Bluetooth Headset)
  • Run an NES Emulator (NES-FC Lite + Bluetooth controller)
  • Open my garage door (V1_Bluetooth_Arduino app + my bluetooth/arduino garage door setup)
None of these were really way out there as far as plausibility so I continued my hunt to push the limits of what this thing can do.

The one place I feel Android Wear falls short is the 'control' aspect of things.  It is a fantastic little devices for providing you with information, but at the end of the day I should be able to tap the thing on my wrist to control my every day life.......

The closest thing I could find right now is the IFTTT integration.  Bravo in general to this website and moreso for making it compatible with wear.  They get it.  Tap a button to cause an action somewhere in the real or digital world.  

So after playing around with existing recipes (https://ifttt.com/android_wear) I remembered a post I saw a while ago about controlling your computer with IFTTT and Dropbox vis SMS.

http://www.makeuseof.com/tag/how-to-issue-a-command-to-your-computer-with-a-text-message/
Read more »
Posted by wolfebaine at 4:05 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

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)
      • Control a PC from Android Wear
    • ►  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.