Digital Compass tips - Atrix 4G General

I thought it's worthwhile to mention that a digital compass is built-in to the Atrix and it works fairly well -- if you calibrate it. There are plenty of free apps in the android market for compasses. The one I tried and stuck with is the free Compass app from catch.com (I'm not associated with them in any way). They have an analog interface, a digital interface and a combo compass/gps interface, all for free.
A tip for calibration -- search youtube for the videos on how to wave your phone in the figure eight pattern required for calibration AND make sure you tap the button that says "Calibrate" either in the Compass app or from the phone's settings menu, but do NOT tap the button that says okay/close in the calibration pop-up menu. INSTEAD make sure your start the calibration and then wave the phone in the figure-eight pattern AND then the phone will vibrate when it is calibrated and it will clear the pop-up calibration menu by itself.
I kept tapping the calibrate button and then pressing the Okay/Close button and then trying to wave the phone around and accomplished nothing. I was always wondering why the digital compass was off by sometime 30 degrees or more.
Oh and if you really need the Compass app to be very accurate, you will need to do the calibration process at least once per day before you use it. If you calibrate and then use the compass again a week later, it's probably worth the 10 seconds to run the calibration again before your intended usage.
After correctly understanding how to do the calibration and making it stick, the Atrix now seems just as accurate as my hiking magnetic compass with the signalling mirror.
About the figure-eight pattern, it's a 3-D figure eight, NOT a flat figure eight. Watch a youtube video and you'll get the idea right away. Ignore the iPhone 3GS videos about calibrating their digital compass and waving your phone like a steering wheel -- that may work for goofy iphones but I know that doesn't work for the Atrix nor I suspect any other Android phone.

Related

What is G-Sensor?

i couldnt find a thread that explains exactly what it was... is it hardware or software...
hardware. I think its a type of accelerometer.
my wife is also interested in this.
so my phone wouldnt have it then.. doesnt the camera have some kinda sensor like it in it?
your wife needs to get a diamond or touch pro...
andason said:
my wife is also interested in this.
Click to expand...
Click to collapse
gotvitamink said:
hardware. I think its a type of accelerometer.
Click to expand...
Click to collapse
As far as I know it IS an accelerometer. Same thing I would say. Don't have much knowledge, but it's basically the same technology the iPhone uses. It can detect how you're holding your phone. Yes, you could use your front camera on your phone as a accelerometer and it's been asked before, but no one attempted to do so since it would consume too much battery.
Kraize92 said:
As far as I know it IS an accelerometer. Same thing I would say. Don't have much knowledge, but it's basically the same technology the iPhone uses. It can detect how you're holding your phone. Yes, you could use your front camera on your phone as a accelerometer and it's been asked before, but no one attempted to do so since it would consume too much battery.
Click to expand...
Click to collapse
yea i wasn't really sure if it differed from an accelerometer. I used google and wikipedia and i couldn't find anything on G-sensor, and I didn't find G-sensor under the accelerometer wikipedia entry.
but yea, basically the technology that iPhone uses.
someone should do it...
its an accelerometer which is hardware to do what the iphone does where when u turn it to its side its screen also changes to the sideways orientation.
It detects which way the phone is facing and can detect acceleration in 3 axis.
petard said:
It detects which way the phone is facing and can detect acceleration in 3 axis.
Click to expand...
Click to collapse
Ah, there is the more technical answer. It can detect movement. Basically you use the 3 axis which detects movement in all directions. You tilt left and right and you tilt up and down. I knew that just didn't know the technical meaning lol.
In most cases the G-Sensor is simply a small metal ball laying in a tub with several contacts. When you turn or move your phone, the ball moves also, connecting some of these contacts to anothers. So the phone can figure out how you hold it (portrait or landscape, upside down etc.) and can switch the screen or perform different actions. Its called G-Sensor because the ball is driven by G-Force.
What is G-Sensor ?
A G sensor is usually an accelerometer. It measures the forces that act on it during changes in velocity. The wiki article below has more details.
Source(s):
http://en.wikipedia.org/wiki/Accelerometer
Dennis78 said:
In most cases the G-Sensor is simply a small metal ball laying in a tub with several contacts. When you turn or move your phone, the ball moves also, connecting some of these contacts to anothers. So the phone can figure out how you hold it (portrait or landscape, upside down etc.) and can switch the screen or perform different actions. Its called G-Sensor because the ball is driven by G-Force.
Click to expand...
Click to collapse
False. It's a three (and probably sometimes two) axis MEMS accelerometer - there are a few companies making those, but probably the most popular ones are analog devices' ADXL series. Similar device sits in wiimote (just as a secondary motion detection system, the more accurate one is camera+sensor bar).
Because these chips became really cheap recently, and are way more accurate, reliable, and robust than any mechanical sensors (in the same price ans size range), they're being shoved in every possible device You can find them in digital cameras (used to recognize if the photo is portrait or landscape and tag it accordingly), in hard drives (to detect mechanical shocks and protect the hdd by parking its head), in laptops (usually same as above plus to detect when the computer is falling down or other dangerous situations and protect the hard drives), in cell phones (you probably know this one's uses), in toys, portable media players, and lots of other stuff.
It detects which way the phone is facing and can detect acceleration in 3 axis.
Click to expand...
Click to collapse
A more precise answer is that it detects acceleration in three axes, and from these values phone's orientation can be calculated.
[MORE DETAILED EXPLANATION]
It's rather simple - when the phone is normally handled (it's not free falling and it's not being waved around), the dominant acceleration detected by the accelerometer is the gravitational acceleration (-9.81m/s^2 in vertical axis). So, if most of the time acceleration detected along the vertical axis of the phone is bigger than one detected along horizontal axis, the phone is being held in landscape position. If the situation is reversed, it's held in portrait orientation. If the acceleration is largest in the third axis (tangent to the screen), it means that the phone is being held nearly horizontally or it's lying on some surface - better not change screen orientation then
But as i said - it's only true when the dominant acceleration is the gravitational one - the sensor can't tell it from other sources of acceleration like waving the phone around. If you run one of the g-sensor games or demos and try quickly moving the phone around the desk (keeping it horizontal at all times), you'll see that the game will interpret this movement as tilting the phone.
[/MORE DETAILED EXPLANATION]
And by the way, why is this thread in development and hacking?
mr_deimos said:
False. It's a three (and probably sometimes two) axis MEMS accelerometer - there are a few companies making those, but probably the most popular ones are analog devices' ADXL series. Similar device sits in wiimote (just as a secondary motion detection system, the more accurate one is camera+sensor bar).
Because these chips became really cheap recently, and are way more accurate, reliable, and robust than any mechanical sensors (in the same price ans size range), they're being shoved in every possible device You can find them in digital cameras (used to recognize if the photo is portrait or landscape and tag it accordingly), in hard drives (to detect mechanical shocks and protect the hdd by parking its head), in laptops (usually same as above plus to detect when the computer is falling down or other dangerous situations and protect the hard drives), in cell phones (you probably know this one's uses), in toys, portable media players, and lots of other stuff.
A more precise answer is that it detects acceleration in three axes, and from these values phone's orientation can be calculated.
[MORE DETAILED EXPLANATION]
It's rather simple - when the phone is normally handled (it's not free falling and it's not being waved around), the dominant acceleration detected by the accelerometer is the gravitational acceleration (-9.81m/s^2 in vertical axis). So, if most of the time acceleration detected along the vertical axis of the phone is bigger than one detected along horizontal axis, the phone is being held in landscape position. If the situation is reversed, it's held in portrait orientation. If the acceleration is largest in the third axis (tangent to the screen), it means that the phone is being held nearly horizontally or it's lying on some surface - better not change screen orientation then
But as i said - it's only true when the dominant acceleration is the gravitational one - the sensor can't tell it from other sources of acceleration like waving the phone around. If you run one of the g-sensor games or demos and try quickly moving the phone around the desk (keeping it horizontal at all times), you'll see that the game will interpret this movement as tilting the phone.
[/MORE DETAILED EXPLANATION]
And by the way, why is this thread in development and hacking?
Click to expand...
Click to collapse
How do you know this surplus of information? Was it from an engineering school / article / books / or phone dissection? How do you know this?
None of these answers made much sense, so I did a google search, found the following:
http://www.dimensionengineering.com/accelerometers.htm
poetryrocksalot said:
How do you know this surplus of information? Was it from an engineering school / article / books / or phone dissection? How do you know this?
Click to expand...
Click to collapse
The theory of operation is actually pre-high school level stuff - basic physics (you know, Newton's laws, and theory of gravity)
And the details - caught some of these at the engineering university, some from accelerometer datasheets. I had to interface one of them to a programmable microcontroller a while ago so i needed to do some research on my own
I just got a TP2 and is a bit confused as to the working of the G-Sensor. I have calibrate it (and it is switched on), but nothing happens when I turn the phone sideways - ie turning to landscape mode. Am I missing something or need to activate it somewhere else?
Thanks
stoutseun said:
I just got a TP2 and is a bit confused as to the working of the G-Sensor. I have calibrate it (and it is switched on), but nothing happens when I turn the phone sideways - ie turning to landscape mode. Am I missing something or need to activate it somewhere else?
Thanks
Click to expand...
Click to collapse
Hello, try to search on your programs, you will have "G-Config", it allows you to define which applications rotate.
Thanks very much. I searched but couldn't find any G-Config anyware in All programs. Only reference is the G-Sensor in All settings\System.
EDIT: Google reveiled G-Config to be a self written app. (just downloaded) So it's not a HTC app included in the ROM?

Hardware issues

Hello,
apart from several software issues i have following hardware issues:
- vibration stops working from time to time, especially when not having used the device for a day or long. If you shaked the phone it would start working again.
- rotation sucks, as the proximity/acceleration sensor seems to be calibrated wrongly, as apps which need the sensor do not work properly (such as car racing --> car goes for one side though the phone is hold horizontally exactly) or display switches orientation too early/late
- If I used Google maps the blue thing points in a wrong direction (maybe 45°)!
Anyone same there?
stephan902 said:
Hello,
apart from several software issues i have following hardware issues:
- vibration stops working from time to time, especially when not having used the device for a day or long. If you shaked the phone it would start working again.
- rotation sucks, as the proximity/acceleration sensor seems to be calibrated wrongly, as apps which need the sensor do not work properly (such as car racing --> car goes for one side though the phone is hold horizontally exactly) or display switches orientation too early/late
- If I used Google maps the blue thing points in a wrong direction (maybe 45°)!
Anyone same there?
Click to expand...
Click to collapse
Do you still have the stock rom on it if so have you tried a restore to factory after its a call to dell
lufc said:
Do you still have the stock rom on it if so have you tried a restore to factory after its a call to dell
Click to expand...
Click to collapse
Yes and yes. Still the same. So i really got a lemon and the Streak usually is a good device?
The vibration issue certainly is a hardware issue that I would replace my phone over, it sounds like a physical problem with the motor, and bad motors only get worse with age.
Sent from my Dell Streak using XDA App
I have felt my vibration button fade or lag at times. Not sure if that was normal. I had it sometimes where it wouldn't work at all. I did a factory reset and all seems to work ok. I still get the laggy vibration when to many processes going on at the same time.
Sent from my Dell Streak using XDA App

[Q] Is bearing (Compass) controlled by the GPS module?

I have a few apps that rely on an accurate compass (Geocaching, etc.). Not only is my Epic clueless as to the true heading, but it doesn't rotate as I do. In other words, if I'm facing east and turn around, the phone still reads east.
I know there are issues with the GPS, but I wonder if I have something else going on.
There is a separate magnetometer sensor, so the main compass functions that way. And most apps that show compass bearing use that.
Some apps may not align automatically by the compass bearing.
Make sure your magnetic compass is calibrated.
"Wave your phone around in a figure 8 pattern 4-5 times"
Thanks. I'm a dummy. I've never did the figure eight dance long enough. I figured you did it for a while and then hit OK. I continued until the prompt disappeared and it appears to be better.

Gyroscope VR

Hey.
So for past couple of weeks Im playing with VR goggles, for now I have two of them, and they work perfectly with my xperia. Thx to few cool apps for streaming SBS video I can actually use my XZ as a real VR googles/mouse for my PC(controlling movement using phone attached to goggles.) And its REALLY cool.
But I have really small and annoying problem with gyro on my xperia. Its work good, its accurate and its not twitchy... but its very often lost levels, and reset starting point. So very often when Im, eg playing PC games and there is lots going on, and I need move my head often my Xperia lost levels and trying to calibrate it self, and its taking sooooo long, I need to remove it from goggles, put it in table and wait for calibration to stop rotating whole screen.
Also when I move from left to right, and up-down its work good, but when Im doing this with head a bit in angle, Its starting to move it self really slowly to one direction(left or right).
For example when I watch 360 videos in youtube, very often I move my head to right, and then I move my head lo left to starting position, Its not in the same place. Its moved whole movie to right.
So my question is is there a way to quicker way to calibrate gyro, and if there is way to fix this annoying "reseting starting position"?
Most of apps have calibrate options but it just center image to front not fix rotating bug.
I tested my gyro in service settings menu, and color box move good if ts slow movement, but its often lost starting point. SO when I star test, and I have Green box in front, after moving phone a bit, and go back to starting position, box is rotated and I see red or yellow part of box...
I know its just a phone, and its dont have oculus hardware to be that accurate, but its look more like software calibration problem :/
{tested in 4.3 and 5.0.1}
Gyro is also available in so many smartphones its usually work for motion, camera and vibration modes.
The effect you are talking about that is starts to move itself slowly to a side is a common gyroscope problem known as drift.

Compass is 99% of the time off.

Just like the title says literally 99% of the time i go into Google maps the little blue marker is pointed in the wrong direction and I have to do the compass calibration where you tilt it front back side side then twist it. About 50% of the time Google maps tells me to do that.
Is there anyway to have the compass calibration stick?
krolla03 said:
Just like the title says literally 99% of the time i go into Google maps the little blue marker is pointed in the wrong direction and I have to do the compass calibration where you tilt it front back side side then twist it. About 50% of the time Google maps tells me to do that.
Is there anyway to have the compass calibration stick?
Click to expand...
Click to collapse
not as far as i know this happens to me too it also happened on my nexus 6 to pretty sure this is a google problem it also happens on the 5x https://productforums.google.com/forum/#!topic/nexus/SK7gbrV5MhU so yeah best advice is to try moving phone quickly when calibrating if its off restart and try try again
My problem is the damn Gyroscope! (not the accelerometer nor the magnetometer)
the compass works perfectly fine but it rotates to the left constantly due to the gyro having the wrong calibration at 0.6, 0, 0.1 rads/sec(X Y Z, yaw roll pitch respectively)
which causes the phone to constantly think its rotating to the left(when on landscape) whenever i press the compass button in street view it shows the exact direction as reality but as soon as i stay static it rotates constantly. and whenever i press the compass button it shows the real direction.
This is a gyro problem in my case that renders google maps unusable for heading readings...
easily fixable by software but there is no recalibrate button(ota doesnt do the trick still like this in andorid 7)
I'll try a factory reset tomorrow.

Categories

Resources