[Q] Calibrating the tilt sensor - Android Q&A, Help & Troubleshooting

I just installed Ridiculous Fishing and noticed that my phones gyro is not working properly. When my phone is flat, the game thinks its tilted to the left. I have to tilt my phone to the right so much just to compensate and get the center point correct. Is there a fix for this?

Up. Anybody?

Update in case someone bumps into the same problem.
I was able to fix the issue by following the steps for sensor calibration here:
http://forum.xda-developers.com/showpost.php?p=32101271&postcount=1697

Related

Calibration of the compass

Is there any way to calibrate the compass ??
Mine seems to mostly point away from where I know north is.
The compass module works a specific way which renders calibration inapplicable.
It basically measures the field strength and direction of the local magnetic field and decides which way is north/south from that field. It's not like a magnet pointing north or south, it's aligning itself with the field direction. Yeh ok that's the same thing kinda, but it also isn't.
You can calibrate a compass by aligning the N and S with the needle when you're out in the open, where you know the compass is aligned with the earth's magnetic field. The compass in the Hero is showing you which way the local magnetic field is aligned, so it's always pointing magnetic north/south regardless of calibration.
I know that sounds vague, sorry. Basically a compass needle always points north/south, regardless of what value you put behind it to indicate north and south. The Hero compass module is the same. It aligns with field direction, and that IS north/south.
If you hold it near to a large metal object which changes the shape of the local magnetic field, you'll notice the Hero gets confused and asks you (in some applications) to wave the handset about until it re-calibrates itself ie. finds a consistent direction/intensity in field strength.
SO... if you are in an area which has a great magnetic variation (where the earth's magnetic field is not aligned with true north/south; here in Edinburgh I think it's about 4 degrees out) then your Hero will never point north. You're in shropshire so aside from local magnetic field anomalies, you may just have a wonky compass module.
Try a different compass apps, some of the others have calibration specific to themselves built in.
@switchbitch - many thanks for the detailed explanation makes sense.
Its does seem to vary a bit so I'll keep an eye on it.
@kiz - I already have a number of apps using the compass so will do a bit of experimenting.
cheers
I had a similar problem. Started looking for a calibration tool for the compass and came accross this video...
http://www.youtube.com/watch?v=sP3d00Hr14o
It shows the iPhone in the video but it worked for my hero. Now Google SkyMap is actually working, befor it kept getting stuck pointing in one direction and was all jacked up. Even compas programs wouldn't point to any N S orientation. So the figure 8 trick works, and it works every time.
P.s. Sorry for the necro, if this has been resolved already, but it was the first thread that came up with a good search HTC Hero Compass Calibration. Hope it helps.
I use the app "Analog Compass" and that one has a calibrate option. I never tried that though, so don't know exactly if it's accurate and actually gives a good callibration. But it's worth a try (free anyway).
But as said before, if you're in an area where there might be magnetic variations it's not gonna help you. The app will merely 'calibrate' the difference between the value it gets from the sensor and what you set as the new north. So let's say north is couple degrees off (or hell, maybe your north points to south) and you calibrate it's no problem. As long as the magnetic thing keeps pointing to the same point. As soon as it's all over the place and keeps changing, calibration obviously won't help you at all.
Switchbitch said:
The compass module works a specific way which renders calibration inapplicable.
Click to expand...
Click to collapse
Yeah, its always wrong. Even Googles skymap is pointing wrong.
Phone: "The moon is there!"
Me: "Eeh, no, the moon is there - 40 degrees to your right"
Since the output is wrong, there should be a way to calibrate it.
p0wd3r said:
I had a similar problem. Started looking for a calibration tool for the compass and came accross this video...
http://www.youtube.com/watch?v=sP3d00Hr14o
Click to expand...
Click to collapse
THANKS
this "8" really helped my hero pointing to north again (instead of east).
for whatever technical reason - it worked
p0wd3r said:
I had a similar problem. Started looking for a calibration tool for the compass and came accross this video...
http://www.youtube.com/watch?v=sP3d00Hr14o
It shows the iPhone in the video but it worked for my hero. Now Google SkyMap is actually working, befor it kept getting stuck pointing in one direction and was all jacked up. Even compas programs wouldn't point to any N S orientation. So the figure 8 trick works, and it works every time.
P.s. Sorry for the necro, if this has been resolved already, but it was the first thread that came up with a good search HTC Hero Compass Calibration. Hope it helps.
Click to expand...
Click to collapse
Thanks. This helped with my Desire. Downloaded analog compass app and calibrated compass this way. Problem solved.
very useful
I had been looking for a way to calibrate my htc desire compass for months now, even deleted all apps but did not help. tried the calibration method in your video and now it works absolutely fine .. thanks a million
thx
krazeeshan said:
I had been looking for a way to calibrate my htc desire compass for months now, even deleted all apps but did not help. tried the calibration method in your video and now it works absolutely fine .. thanks a million
Click to expand...
Click to collapse
thxxxxxxxx its working

Calibration Sensor G

hi, some have encountered problems in the calibration of sesnsor G of htc hero? When i put my device in a Flatbed the for calibration the sensor is not completely blown. i can see it when i play with Teester. Thank you.
Dude without being rude I didn't understand a work of that
thenewshaft said:
Dude without being rude I didn't understand a work of that
Click to expand...
Click to collapse
When I do the calibration of sensor G this is not accurate
I haven't found it pinpoint accurate but it does work for me. I use a program called bubble which acts as a spirit level & it seems fairly accurate to myself.
In what program are you finding your inaccuracies?
thenewshaft said:
I haven't found it pinpoint accurate but it does work for me. I use a program called bubble which acts as a spirit level & it seems fairly accurate to myself.
In what program are you finding your inaccuracies?
Click to expand...
Click to collapse
in the Teeter game. It comes with the phone as default. The "board" isn't leveled correctly. Just see for yourself; start the game and place the phone on the table and you will see the ball drifting by itself.
Hmmmm... even the game Labyrinth Lite (fråm the Market) the ball is drifting. I thought it was a software problem at first but when to programs behave the same way there is something going on.
Yeah, mines the same.
The bubbles appear to jump at the end of the calibration.
Whats more if I set the phone down on an angle deliberately, then the calibration doesn't correct it's almost as if its just a bit of animation and theres no actual calibration taking place.
On Teeter, the ball rolls towards the hTC logo and to the right hand side but more slowly.
One of the level apps I downloaded suggests it off by 2 degrees.
I'm running updated Orange firmware, but it was the same in the original.
Vince
yups, this is the same case for mine too. if i tilt it until the spirit level is "level", i can see the earpiece end of the phone will be higher than the speaker end.
The cool little app "Bubble" http://www.cyrket.com/package/bz.ktk.bubble has its own calibration. I think there's a fault in the underlying OS not reading the accelerometer correct or something... but it too isn't still when just having it on the table... the bubble is moving slightly...

[Q] Problems with Light/Proximity sensor?

Hello everyone, din anyone else experienced problems with the light and the proximity sensor? On my SGS2, after few minutes of intense usage (usually after surfing on net via Wi-Fi, when phone gets hotter) the above sensors get stuck.
More precise, using a Sensor Tester, the light sensor shows either 0, either 16000, whilst the proximity sensor doesn't update values at all (stays at 0) when putting the hand near (or on it) and taking it away.
Again, anyone else experienced? Might be a faulty unit or is it a general behaviour?
Thanks!
Bogdan M.
I have the same problem but with the proximity sensor only
I sent it to warranty, next week I will see the resolution. Hopefully they'll replace it as faulty.
cheers.
Same Here
Sames Here, went back to warranty still waiting the answer
Ya me also facing the same proximity sensor issue from the last few days. the sensor is not working during a call. It started after I updated a game (diversion) and the facebook app from the android market. god knows what is the reason. Tried DHD proximity Recalibration yesterday. it says Kernel not found "- ps_kadc not found.
I will try to reinstall all the firmwares using kies today and see if the problem get solved. will let you guys know

Help with accelerometer

My accelerometer hasn't been working correctly since after I flashed Descent 1.5 rom on my view. The accelerometer seem to be freezing a lot and never respond when i tilt my device.
I tried to flashed back to stock honeycomb, gingerbread and it still not working correctly. Does any1 have any idea how to fix this? I cannot play any game that involve with accelerometer.
Do you have a case with any type of magnetic closure? The magnet that hold my case cover closed affects the accelerometer.

Problem with accelerometer?

I noticed that while playing some games like doodle jump and temple run the character always tends to shift to the right. This would happen every even when keeping the base of the tablet on a flat surface.
So i did a test with androsensor and from the results i figure that there is a problem with the sensor since X axis shows a reading of -0.9 when i hold it vertically with the base of the tablet on a flat surface. Tilting it to about 10° to the left gets reading back to around 0
Is this a hardware issue or a setting problem? I got the tablet sometime in January but didn't notice the problem then.
I am running cm7 beta.
Attachment shows readings while holding tablet vertically and the charger side of the device on a table.
If it is a software issue can it be fixed? I could not find any calibration settings in the settings section
satan89 said:
I noticed that while playing some games like doodle jump and temple run the character always tends to shift to the right. This would happen every even when keeping the base of the tablet on a flat surface.
So i did a test with androsensor and from the results i figure that there is a problem with the sensor since X axis shows a reading of -0.9 when i hold it vertically with the base of the tablet on a flat surface. Tilting it to about 10° to the left gets reading back to around 0
Is this a hardware issue or a setting problem? I got the tablet sometime in January but didn't notice the problem then.
I am running cm7 beta.
Attachment shows readings while holding tablet vertically and the charger side of the device on a table.
If it is a software issue can it be fixed? I could not find any calibration settings in the settings section
Click to expand...
Click to collapse
probably needs a calibration for the accelerometer. i am not sure if there is an app for that though.

Categories

Resources