The iPhone’s Amazing Accelerometer
The iPhone’s Amazing Accelerometer

3 axes iPhoneSo you might be thinking that measuring tiny changes in acceleration could not be really useful. However this is not the case. This information has many uses.

We all know gravity is constantly pulling all objects to the ground. Even when a object is at rest it has a measurable amount of force pulling it toward the ground.

The iPhone and iPod touch have accelerometers on 3 primary axes. An accelerometer measures changes in velocity along a single linear axis. An accelerometer simply measures changes in velocity along a single linear axis to provide data on its position in 3D space.

Then by tracking which accelerometers are registering this acceleration, and the extent of that acceleration, you can then apply this orientation as input to your application.

The most basic use of this information is to monitor the current orientation and to notify your application when that orientation changes. If your application’s interface can be displayed in both landscape and portrait mode, you should incorporate view controllers into your basic programming.

You can also the data to detect the device’s orientation or to detect other types of instantaneous motion, such as the user shaking the device back and forth. You can then use this information as input to a game or other application.

This is part of the technology at use in the Nintendo Wii. The popular gaming console from Nintendo. I think it also has many applications outside the gaming industry. Those are discussions for another time and another forum.

Did you like this? Share it:
TAGS:  ,


1 Comment
  1. “If you have done everything the right way (in WordPress admin go to Manage/Import and there is an option to import posts from Blogger – follow further instruction there ) and something goes wrong just be persistent and contact administration again….

    “This is currently possible under Manage-Imports”…

Leave a Reply
You must be logged in to post a comment.