Click here to Skip to main content
12,630,940 members (31,669 online)
Click here to Skip to main content
Add your own
alternative version


7 bookmarked

Motion adjuster application – using Ultrabook Sensors

, 26 May 2013 CPOL
Rate this:
Please Sign up or sign in to vote.
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.


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.


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.


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.


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

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. 

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.


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


About the Author

Software Developer (Senior) iGATE Computer Systems Ltd.
India India
No Biography provided

You may also be interested in...


Comments and Discussions

GeneralMy vote of 5 Pin
0x01AA25-Jan-16 9:15
member0x01AA25-Jan-16 9:15 
QuestionGreat idea! Does it work? Pin
dojohansen27-May-13 3:04
memberdojohansen27-May-13 3:04 
Love the idea, but haven't got compliant hardware to run the demo and see how well or not it actually works in practice.

Could you perhaps include a little of your own findings in this respect? Does it work really well on various hardware without calibration? Is there anything more to gain from calibrating? (I imagine it might be difficult to accurately predict the *displacement* of the screen, which after all is something you have to infer, presumably from accellerometer data, and that any "adjustment factors" you may use in calculating this may be typical for a particular laptop.)
AnswerRe: Great idea! Does it work? Pin
Pratik_Thakkar30-May-13 19:34
memberPratik_Thakkar30-May-13 19:34 
GeneralMy vote of 5 Pin
JWhattam26-May-13 18:28
memberJWhattam26-May-13 18:28 
GeneralRe: My vote of 5 Pin
Pratik_Thakkar30-May-13 19:35
memberPratik_Thakkar30-May-13 19:35 
GeneralMy vote of 5 Pin
BhavinThakkar20-Oct-12 21:33
memberBhavinThakkar20-Oct-12 21:33 
GeneralMy vote of 5 Pin
Milan Raval14-Oct-12 22:17
memberMilan Raval14-Oct-12 22:17 
QuestionWhich flavour? Pin
Chris Maunder12-Oct-12 11:55
adminChris Maunder12-Oct-12 11:55 
AnswerRe: Which flavour? Pin
ThakkarPratik13-Oct-12 20:04
memberThakkarPratik13-Oct-12 20: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.

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.161205.3 | Last Updated 26 May 2013
Article Copyright 2013 by Pratik_Thakkar
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid