Saturday, March 5, 2016

Fix Your Broken/Stuck Accelorometer

I've had a stuck accelerometer problem with phones, but also with my DJI Phantom drone. This problem manifests itself as:

- can't switch or rotate from portrait mode to landscape correctly
- camera won't rotate to landscape
- terrible VR performance, drifting
- bad gaming performance
- sensor readings way off

You're not going to believe the solution that has worked for me in both cases: you gotta bash it!!

Yep, your silicon-based accelerometers have fingers that can deflect with G forces, but when they get a big impact, they can get stuck at the extreme bent side. You probably dropped your phone recently, right?? Well, you can probably fix it by dropping it again in exactly the right way. It's like Fred Flintstone's amnesia.

You'll need to determine which side to drop it onto, and then drop it onto that side HARD onto a hard surface. You don't need to let it go, you kind of slam it with your hand. Do it at your own risk, of course, because you might break some other component!

Here's which side to whack it. For god sakes, don't just whack it randomly.

First, you'll need an accelerometer app. Install it and run it in metric mode. Set your phone on the table. Have a look at your values for X, Y, and Z. Two should be at near 0 and Z should be around 10 m/ss. The 10 reading is the table holding your phone against the force of gravity at 10 m/ss!

One or more of your numbers will NOT be as I stated, and that's the stuck accelerometer. It will be pretty much stuck and hardly changing at all, and it will be weirdly high, much greater than 10. ex: My X was at 167. (If you do not have one of your axis stuck on a very high number, you have a different problem, don't continue.)

If your X value is stuck sky high, hit the phone with the X+ (right) side onto the table
If your X value is a high number, but negative, hit the phone with the X- (left) side onto the table

If your Y value is stuck sky high, hit the phone with the Y+ (top) side onto the table
If your Y value is a high number, but negative, hit the phone with the Y- (bottom) side onto the table

If your Z value is stuck sky high, hit the phone with the Z+ (screen face) side onto the table (good luck to you)
If your Z value is a high number, but negative, hit the phone with the Z- (back) side onto the table

If you hit it sharply enough, you'll notice that the sensor is no longer stuck on the super high reading, and you're all fixed :)

Look on the bright side, it's not a drone. Since propellers etc get in the way of a table slam, I had to hit my $1200 drone - HARD - with a rubber mallet when it had the same problem. But it worked!


from xda-developers http://ift.tt/1X3xE3v
via IFTTT

No comments:

Post a Comment