Click here to Skip to main content
15,867,141 members
Articles / Desktop Programming / WPF

Motion adjuster application – using Ultrabook Sensors

Rate me:
Please Sign up or sign in to vote.
4.82/5 (11 votes)
26 May 2013CPOL2 min read 26.9K   262   7   9
Using sensors, we can get the change in X and Y direction (i.e. movement), using which we can adjust laptop screen to make it very stable although having jerking motion.

Introduction 

On launch of the 3rd Generation Intel Core Processor, Intel has introduced collection of sensors in Ultrabook. Collection of sensors includes Global Positioning System (GPS) sensor, Gyroscope, Accelerometer, Ambient Light Sensor, Compass, etc. There are many sources which helps developer community to make usage of these sensors. These sensors are presenting various useful input values, based on which creative applications may add changes in our life style. Using that we can find some solution for traditional issues. Here, I am trying to show possible solution for following problem.

Problem: 

Laptop users are facing problem to use it while traveling in Car, Train, Bus, etc. because of jerking motion. To read the content on screen our eyes need to set the focus frequently. Frequently changing the focus is making our eyes tired. Sometimes it causes motion sickness, too. And hence it is sensible to not to read anything while traveling.

Background

Before some days I have seen one person playing game on phone which is having sensors to detect the motion. That fellow in that game, was controlling the car by moving phone in X and Y directions. Here, our solution may be available, using sensors if we can get the change in X and Y direction then we can adjust our screen to make it very stable although having jerking motion. I have created one demo application in Visual Studio 2012 on Windows 8 OS, and tried to generate same situation with solution. Right now I have used Storyboard based animation in XAML to show moving object in X and Y direction.

Following animation shows that while having motion we could not read text properly.

 Image 1

Following animation shows stable text content also having motion of its container.

Image 2

Here, in example what I have done is, if container moves in -ve X direction then text content moves with same value in +ve X direction. Similar to that, if container moves –ve in Y direction then text content moves with same value in +ve Y direction, and vice versa. So that user feels stable text content in front of his/her eyes. This should resolve our problem. 

Image 3

Points of Interest 

Using sensors, we can get the change in X and Y direction (i.e. movement), using which we can adjust laptop screen to make it very stable although having jerking motion.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) iGATE Computer Systems Ltd.
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
GeneralMy vote of 5 Pin
User 1106097925-Jan-16 8:15
User 1106097925-Jan-16 8:15 
QuestionGreat idea! Does it work? Pin
dojohansen27-May-13 2:04
dojohansen27-May-13 2:04 
AnswerRe: Great idea! Does it work? Pin
Pratik_Thakkar30-May-13 18:34
Pratik_Thakkar30-May-13 18:34 
GeneralMy vote of 5 Pin
JWhattam26-May-13 17:28
JWhattam26-May-13 17:28 
GeneralRe: My vote of 5 Pin
Pratik_Thakkar30-May-13 18:35
Pratik_Thakkar30-May-13 18:35 
Thanks JWhattam!!
GeneralMy vote of 5 Pin
BhavinThakkar20-Oct-12 20:33
BhavinThakkar20-Oct-12 20:33 
GeneralMy vote of 5 Pin
Milan Raval14-Oct-12 21:17
Milan Raval14-Oct-12 21:17 
QuestionWhich flavour? Pin
Chris Maunder12-Oct-12 10:55
cofounderChris Maunder12-Oct-12 10:55 
AnswerRe: Which flavour? Pin
Pratik_Thakkar13-Oct-12 19:04
Pratik_Thakkar13-Oct-12 19:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.