Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4047620
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T13:42:48+00:00 2026-05-20T13:42:48+00:00

I have a simple app that just implements the accelerometer stuff and the NSLogs

  • 0

I have a simple app that just implements the accelerometer stuff and the NSLogs the results to the console.

2011-03-11 00:35:38.248 Accel[1070:307] ************
2011-03-11 00:35:38.737 Accel[1070:307] x: -0.0362244
2011-03-11 00:35:38.743 Accel[1070:307] y: -0.0181122
2011-03-11 00:35:38.747 Accel[1070:307] z: -1.03239
2011-03-11 00:35:38.750 Accel[1070:307] ************
2011-03-11 00:35:39.238 Accel[1070:307] x: -0.0181122
2011-03-11 00:35:39.243 Accel[1070:307] y: -0.0181122
2011-03-11 00:35:39.248 Accel[1070:307] z: -1.03239
2011-03-11 00:35:39.250 Accel[1070:307] ************
2011-03-11 00:35:39.739 Accel[1070:307] x: -0.0181122
2011-03-11 00:35:39.744 Accel[1070:307] y: -0.0181122
2011-03-11 00:35:39.749 Accel[1070:307] z: -1.03239
2011-03-11 00:35:39.751 Accel[1070:307] ************
2011-03-11 00:35:40.240 Accel[1070:307] x: -0.0362244
2011-03-11 00:35:40.245 Accel[1070:307] y: -0.0362244
2011-03-11 00:35:40.249 Accel[1070:307] z: -1.05051
2011-03-11 00:35:40.252 Accel[1070:307] ************
2011-03-11 00:35:40.741 Accel[1070:307] x: -0.0362244
2011-03-11 00:35:40.746 Accel[1070:307] y: -0.0362244
2011-03-11 00:35:40.750 Accel[1070:307] z: -1.05051
2011-03-11 00:35:40.752 Accel[1070:307] ************
2011-03-11 00:35:41.241 Accel[1070:307] x: -0.0362244
2011-03-11 00:35:41.247 Accel[1070:307] y: -0.0181122
2011-03-11 00:35:41.251 Accel[1070:307] z: -1.03239
2011-03-11 00:35:41.253 Accel[1070:307] ************

I would have expected 0 for x,y & z, as the phone is resting on the table and not being moved.

So from research i find that accelerometers always read the a resting phone always read that the +1g on the z-axis unless the phone is in free fall.
So that explains some of the z-axis reading.

But the .03 to .01 extra on the x,y,z(after adjusting the z-axis for the +1g) is some kind of margin for error ?

Should i be doing something to all these values to get a more true reading?

As i would like to graph the results.

Many Thanks,
-Code

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T13:42:48+00:00Added an answer on May 20, 2026 at 1:42 pm

    This just means that your table isn’t perfectly level and gravity is above average in your area. There is probably a little error, but it should be accurate to a few decimal places at least.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm now testing GKPeerPickerController. I have a simple app that just have a button
I have a very simple Mac Cocoa app that just has a Web View
I have a fairly simple console app that monitors an exchange mailbox, picks particular
This is a real newbie question. I have simple app that selects a picture
I have a simple app that uses an SQL Express 2005 database. When the
Right so I have a simple app that consists of a calendar a Set
I have a simple iphone app that's based on the CrashLanding sample app. So
I have a simple PHP app that prints 'hello world'. When I run it
I have a simple GAE app that includes a login/logout link. This app is
Let's say I have a fairly simple app that lets users store information on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.