Hi,
i need a Tool to calculate the distance of two devices with an accuracy of about 1 meter by a distance of 0-3 meter.
GPS doesn't suite this needs, but i guess bluetooth signal-strength does.
I was looking up the android bluetooth api but can't find anything to read signal strength. Anyone any tips how to get on the strength of the bluetooth signal?
thanks, exec
Cool idea
That is a pretty cool idea. I'm not a developer but I like it.
Another way is to use sound along with a tcp/ip or bluetooth connection
1) keep track of each phone's clock (or difference between)
2) make the second phone chirp/beep and record
a)the time the second phone started the beep
b)the time the first phone heard the beep.
3) calculate the distance using the amount of time it took to hear the beep.
note: the speed of sound may differ slightly but should be within your accuracy range
see http://www.sengpielaudio.com/calculator-soundpath.htm for an example.
nice idea, i'll keep this in mind. But for the moment it doens't fit my needs, cause it can be a loud enviorment with a lot of phones where i have to find the nearest one
exec87 said:
nice idea, i'll keep this in mind. But for the moment it doens't fit my needs, cause it can be a loud enviorment with a lot of phones where i have to find the nearest one
Click to expand...
Click to collapse
A pure tone at an agreed upon frequency will be hard to miss. If you have the service installed on all the phones you can query each one in turn and then figure out which one is nearest.
do you know any example how to analyse the frequenze of the current recorded tone?
exec87 said:
do you know any example how to analyse the frequenze of the current recorded tone?
Click to expand...
Click to collapse
This looks promising
http://code.google.com/p/moonblink/wiki/Audalyzer
sry but if you want to measure distances of up to 3 metres with the help of sound speed, that wont work
sonic speed is 343m/s, that means it takes 0,002.9sec for one meter to pass.
or otherwise, it would pass the 3 meters in 0,008.7 sec for 3m
to compare it, a nexus one would do a clock cycle every 0,000.000.01 seconds, and in that time, the sound weave moves 0,000.000.343 metres.
So if you're optimistic and it takes "only" 100.000 to 500.000 cycles to sample the sound AND compare it to the clock, your diffrence of that two cases would be 3cm to 15cm, so you got a standard "uncorrectness" of about 12cm.
but thats if it takes 100.000 to 500.000 cyles, and it would be worse if it takes more time or if the clock is not 100% correct (this example is with a 100% exact clock)
if the clock is only correct for 1ms, you must add another 30cm of "uncorrectness"
arthofer said:
So if you're optimistic and it takes "only" 100.000 to 500.000 cycles to sample the sound AND compare it to the clock, your diffrence of that two cases would be 3cm to 15cm, so you got a standard "uncorrectness" of about 12cm.
but thats if it takes 100.000 to 500.000 cyles, and it would be worse if it takes more time or if the clock is not 100% correct (this example is with a 100% exact clock)
if the clock is only correct for 1ms, you must add another 30cm of "uncorrectness"
Click to expand...
Click to collapse
Dont think sampling and processing cpu-time matters so much as to make this method unusable.
a)The sample time does not matter. It will be:
system time when the recording started + time within the sample where the frequency is found (comparison is part of post-processing). The sample window can be fixed at 0.5 seconds (or less) as 343/2= 171.5m is huge.
The phone emitting the frequency can be triggered over wifi/radio and that will be very very quick (speed of light+message processing time)
b)the time taken for the comparison will not matter as its done after the event has occurred. (post-processing)
The 1ms clock problem can possibly be overcome by using System.nanoTime()
exec87 said:
Hi,
i need a Tool to calculate the distance of two devices with an accuracy of about 1 meter by a distance of 0-3 meter.
GPS doesn't suite this needs, but i guess bluetooth signal-strength does.
I was looking up the android bluetooth api but can't find anything to read signal strength. Anyone any tips how to get on the strength of the bluetooth signal?
thanks, exec
Click to expand...
Click to collapse
Maybe use a ruler?
Sorry that I can't stop myself doing this after reading your question
ok, to a more serious side, if bluetooth don't work, then maybe use wi-fi. don't know if they have the api for wi-fi to measure signal strength neither.
What if you had one phone act as a Wi-fi hot spot, then the other connect to it. Then someone write an app that will use GPS to determine the distance between the two. IDK, just a shot in the dark. I really dont have a lot of knowledge about that stuff.
You could use a PRF (pulse repitition frequency) but I have no idea what these would be for bluetooth or even the radios. Honestly I think using the GPS coordinates and distance equation would be the easiest.
Unfortunately our consumer gps's rarely go down to 1m, and that the max... And it will likely not work indoors
britoso is right... i'll keep the hint with wlan strength in mind, but atm i'm working at the audio idea... it's a little bit hard, and first tests show that an accuracy of 1-2 meters is possible... i'll reply if i'm done.
however i'm thankful for EVERY input
edit: i think i will give up... the delay of analyzing the sound is between 150ms and 250ms... and i can't see in code where this 100ms difference come from... i think i need a kind of realtime system to build this...
exec87 said:
britoso is right... i'll keep the hint with wlan strength in mind, but atm i'm working at the audio idea... it's a little bit hard, and first tests show that an accuracy of 1-2 meters is possible... i'll reply if i'm done.
Click to expand...
Click to collapse
however i'm thankful for EVERY input
exec87 said:
edit: i think i will give up... the delay of analyzing the sound is between 150ms and 250ms... and i can't see in code where this 100ms difference come from... i think i need a kind of realtime system to build this...
Click to expand...
Click to collapse
If you can PM me the code I can take a look.
I didn't want to start coding this because
a) I only have one phone
b) havent used the bluetooth API.
I'm comfortable using tcp/ip though
i don't know if this is impossible.. but i think its worth the try.. i'm horrible at development nor i have taken any advanced math courses... so heres the concept:
how about getting two people hold a phone facing each other.... they both have to hold the phone upright and straight...(using Spirit Leveler)
with one of the phones... the app takes a picture of the other phone... and asks you to point out the phone's height in the picture...
and given the real height of the phone (this should be a dropdown box for known phone types.. and custom if you want to use a credit card... or anything else u find) it should tell you the height..
possible?
oh and one more thing.. u can have the phone's screen facing the camera with white background and black DOT... if that helps to do live tracking of the phone's size...??
britoso said:
If you can PM me the code I can take a look.
I didn't want to start coding this because
a) I only have one phone
b) havent used the bluetooth API.
I'm comfortable using tcp/ip though
Click to expand...
Click to collapse
This is what i first thought of when i saw this thread. Why not establish an ad-hoc network and send over a series of pings, each one send over one packet of info from phone A to phone B. have phone B process the information and show its good then send it back to A and have it verify it also. Then based of this data(and experiments to see hwo long it takes to process the information. you the time from a-b-a to calculate the distance.
This is all hoping that the speed of travel of the packet is not to fast to calculate the distance lol.
Any results?
This is the exact answer I'm looking for, which method produce better accuracy, is it the sound (measuring time difference) or the signal strength test (measuring the RSSI)
Related
Could an app be developed to use the gsensor and measure distances. I was thinking you could press a button to start a measurement move your phone press another button and we could see the distance in feet meters etc. is this feasable
commodore65 said:
is this feasable
Click to expand...
Click to collapse
no.
go and get a tape measure and selotape it to the side of ur phone
It would get pretty complicated. Your phone would have to keep track of each and every different acceleration and the duration of that acceleration to then calculate out the distance traveled during each acceleration. Since we are human I highly doubt we can keep a constant enough acceleration to measure anything short. It does seem to me that the longer the distance being measured (maybe in a moving car as foot steps may throw the measurment off) the better chance there could be for accuracy as the small accelerations that would normally throw off the measurement would be less of a problem. (then again I am a physicist and not a phone programmer so I don't know how accurate the accelerometers in these phones are).
I bet something could be written to tell you how far the phone has been dropped... if you could keep the phone from rotating during the fall. The acceleration of gravity is constant and that would be an easy calculation that could just cut off as soon as the acceleration changes drastically (when it stops falling suddenly). Then again I am physicist not a programmer.
If someone wants to try feel free to ask me for a set of fairly simple equations or help with the math. I doubt most people that program will need that help though.
i think the G sensor in the phone is a bit too "hit-and-miss" for this application, it would require a very fine tuned, high contrast sensor (most likely costing more than the phone!)
it you want to do a large distance, then u could use the GPS positioning, but yet again, wont be very accurate.
+ 1
i subscribe to this program but I don't believe is posible. I'm an architect so I'd strongly need it. you can youse GPS for outside mesurements and you can use SuperRuler for smole mesurements or distance mesurements.
http://www.pocketdevelop.com/index.aspx
I dont think its that much of a stretch. Using tweeter i find the sensor is extremely accurate and sensitive. While i dont need the app, basically as he said press start and then start moving the phone left or right up or down and press stop.
However since the sensor is not made to do that, i could be totally wrong it it is not possible at all. Basically because the sensor is made to track tilt movements and not distances. Lol im basically debating with myself
xboxhaxorz said:
I dont think its that much of a stretch. Using tweeter i find the sensor is extremely accurate and sensitive. While i dont need the app, basically as he said press start and then start moving the phone left or right up or down and press stop.
However since the sensor is not made to do that, i could be totally wrong it it is not possible at all. Basically because the sensor is made to track tilt movements and not distances. Lol im basically debating with myself
Click to expand...
Click to collapse
it might work
It's all relative, I can play teeter on a train!
uniqueboy said:
It's all relative, I can play teeter on a train!
Click to expand...
Click to collapse
If you're playing tweeter on a train traveling near the speed of light and I am at the train station watching you play teeter as you pass by, is the ball falling in the whole or the whole falling around the ball? Where was I going with this? Oh yeah would this tape measure have to account for time dilation? I mean the Lorentz equations are the most accurate set of linear coordinate transformations we have, right? As you move the phone time will dilate, lengths will contract and let's not even mention the rotation of objects from the phone's perspective... wait did I just mention it by stating that I wasn't going to mention it?
Like I stated before... it is completly possible to measure distance using nothing but acceleration information... beyond that the accuracy in your measurement will depend on the accuracy of the device measuring the acceleration(s). Of course you may have to get into the rate of change of you acceleration (the rate of change of the rate of change of the rate of change of your position) which is called jerk.
Beherrschen said:
it is completly possible to measure distance using nothing but acceleration information...
Click to expand...
Click to collapse
Erm guys, this is only a lil bit right ;D You can't measure a distance with an accelerometer... very well. As the word says, it measures accelerations... so if you walk 10 Meters to check the distance, your Device only accelerates the first meter when you start walking... when you walk with the same speed the accelerometer shows:
0
(at this moment it has to know how fast your speed has to be when you accelerated in the first x seconds with x G's to calculate how many meters you walked within the x seconds till the -G starts when you stop ... almost impossible ;D )
Absolutely 100% not possible, for any kind of practical purpose.
If the device could be held exactly flat, it would be just about possible to use acceleration data to make a guess at speed and therefore at distance... but it would be such a wild guess it would not be useful.
A visual estimate will always be better!
Phexi said:
Erm guys, this is only a lil bit right ;D You can't measure a distance with an accelerometer... very well. As the word says, it measures accelerations... so if you walk 10 Meters to check the distance, your Device only accelerates the first meter when you start walking... when you walk with the same speed the accelerometer shows:
0
(at this moment it has to know how fast your speed has to be when you accelerated in the first x seconds with x G's to calculate how many meters you walked within the x seconds till the -G starts when you stop ... almost impossible ;D )
Click to expand...
Click to collapse
Seems like you told me I was only partially correct but then the second part of what you wrote seemed to agree that it possible (maybe not practical) to calculate distance traveled from nothing but acceleration information. It is possible to calculate distance traveled from nothing but acceleration (and the duration of each acceleration but that goes without saying since you must always know the duration of a motion to determine distance) information.
For example: If you have a situation where there is an initial acceleration A1 for t1 seconds, followed by a contstant speed S for t2 seconds, and finished off with another negative acceleration A2 for t3, then you have all the information needed to determine the overall distance traveled. During the first section of our travel the acceleration, A1, and the duration of that acceleration, t1 are can be used to calculate your total distance during that acceleration. A1 and t1 can also be used to calculate the speed you are traveling at the end of the initial acceleration, S. Use S and t2 to calculate the distance traveled during the constant speed portion. Then use S, A2 and t3 to calculate the distance traveled during the final accleration (even if your final speed isn't zero). Equations below:
Set 1: acceleration = A, velocity (speed) = V, distance = X, time = T, initial = i and final = f
starting with the assumption of constant acceleration then each successive equation can be derived by integrating the previous equation with respect to time.
A = A
Vf = At + Vi
Xf = (1/2) A (T^2) + Vi T + Xi
Set 2: also at constant acceleration with the same key as above.
A = (Vf - Vi)/T
V(average) = (Vf + Vi)/2 = (Xf - Xi)/T
Either set of equations can be used. They are basically the same set of equations. One derived using calculus (Set 1) and the other using conceptual ideas of motion (Set 2). With a little algebra both sets can be derived from eachother. If you add in an inconstant acceleration (jerk) then the equations become more complicated and I am not gonna derive them out here.
I am sticking to my is it possible but most likely not practical. Unless you came up with a way to maybe statistically ignore any little outlyer type accelerations... anyway, I am rambling. Feel free to let me know if you can't solve a problem like the one I stated above using those equations and I wll be glad to help.
Beherrschen said:
Seems like you told me I was only partially correct but then the second part of what you wrote seemed to agree that it possible (maybe not practical) to calculate distance traveled from nothing but acceleration information. It is possible to calculate distance traveled from nothing but acceleration (and the duration of each acceleration but that goes without saying since you must always know the duration of a motion to determine distance) information.
For example: If you have a situation where there is an initial acceleration A1 for t1 seconds, followed by a contstant speed S for t2 seconds, and finished off with another negative acceleration A2 for t3, then you have all the information needed to determine the overall distance traveled. During the first section of our travel the acceleration, A1, and the duration of that acceleration, t1 are can be used to calculate your total distance during that acceleration. A1 and t1 can also be used to calculate the speed you are traveling at the end of the initial acceleration, S. Use S and t2 to calculate the distance traveled during the constant speed portion. Then use S, A2 and t3 to calculate the distance traveled during the final accleration (even if your final speed isn't zero). Equations below:
Set 1: acceleration = A, velocity (speed) = V, distance = X, time = T, initial = i and final = f
starting with the assumption of constant acceleration then each successive equation can be derived by integrating the previous equation with respect to time.
A = A
Vf = At + Vi
Xf = (1/2) A (T^2) + Vi T + Xi
Set 2: also at constant acceleration with the same key as above.
A = (Vf - Vi)/T
V(average) = (Vf + Vi)/2 = (Xf - Xi)/T
Either set of equations can be used. They are basically the same set of equations. One derived using calculus (Set 1) and the other using conceptual ideas of motion (Set 2). With a little algebra both sets can be derived from eachother. If you add in an inconstant acceleration (jerk) then the equations become more complicated and I am not gonna derive them out here.
I am sticking to my is it possible but most likely not practical. Unless you came up with a way to maybe statistically ignore any little outlyer type accelerations... anyway, I am rambling. Feel free to let me know if you can't solve a problem like the one I stated above using those equations and I wll be glad to help.
Click to expand...
Click to collapse
For this to work we would have to stop the rotation of the Earth, but then there is not a stationary point anywhere in the universe, so I will never be able to measure the train I was on playing teeter. I always loved Newtons equations of motion especially the one A=A
uniqueboy said:
For this to work we would have to stop the rotation of the Earth, but then there is not a stationary point anywhere in the universe, so I will never be able to measure the train I was on playing teeter. I always loved Newtons equations of motion especially the one A=A
Click to expand...
Click to collapse
Actually if we are going special relativity on this problem then we also need to eliminate any form of gravity since special relativity only applies to inertial frames of reference. And since I am not about to break out the tensor mathematics of general relativity, then it would seem we are SOL in finding out what really did happen with your teeter game. :-(
Just remember: Things are the way they are because if things weren't they way they are we wouldn't be here asking why are things the way they are.
Anyone else having as much fun as I am with this thread?
IDEA:
I have thought of a way to at least get a close approximation to this. I am not a programmer but it seems to me this should be possible. The area under the graph of acceleration vs time is velocity. Make a program that would plot the information acceleration vs time information on a graph in excel. Then, after the recording is finished, the program could go in at fixed intervals, turn the smoth graph into a point to point graph with straight lines from point to point (using the line of best fit feature in excel... assuming it is also in excel mobile...) and calculate out areas under the curve. Then you would have all the information needed, velocity and duration of each velocity, to easily calculate out distance. Now this would be an approximation and never be exact. But even calculators only give you Tailor Series approximations. The smaller the interval taken on the graph the more accurate the final distance would be. You could even make it work with an adjustable interval so the sensitivity could be adjusted.
To better explain my idea for manipulating the graph then picture a sine graph. On it's own it is a nice smooth wave looking graph that repeats every 2pi (don't want to look up the symbol for pi to type. just take 3.14159 = pi). Now imagine you marked a point every 0.5pi on that curve and then connected the points together with a straight line. You would end up with a saw tooth graph. Now what if you did that at every 0.2pi, or .1pi, or... you get my drift. The smaller the interval that you make a point and connect it the closer and closer you get to a good approximation of the original sine graph (much the way Archamedes used ever increasing numbers of triangles inside a circle to approximate its circumference and calculate pi). The advantage of doing this is to eliminate calculus and use nothing but algebra.
This could all be done without graphing and just having the program do the math tiself but why not let excel do the work? I could be way off and using excel this way may suck from a programming point of view, but this is how I would handle a lot of data if I were given a bunch of acceleration and time information. Making the sensitivity and accuracy changable by allowing the user to define how far apart to set the points could allow for some decent measurements. I think if done right even outlying movements (slight tilting of the phone or taking a step or two) could be negated by the approximation.
Let me know what people think. Even if this doesn't work maybe it will inspire a better idea!!
i just downloaded HTC smart mobility v1.1.1 and i was wondering if anyone could explain what all the settings and things mean like what is a baud rate? i understand its best on our phones (verizon xv6800) to be set at 4800. what does the hot start, warm start, cold start, clear memory setting do? what is developement data?what does mode 2 3D mean? PDOP, HDOP VDOP? also this tool shows the locations of all the satellites and connectivity, but what do the numbers mean under the bars and what do the numbers inside the colored bars mean? any other info about how to tweak and get GPS working better would be cool too, or any cool programs. i have the GPS today screen toggle btw, and i usually get a lock in about 10 seconds and even inside buildings i get 2 satellites, outside 7-10 usually. thanks guys.
I hope bumping a thread isnt against the rules; but im interested in this too
One quick google search on PDOP yielded this wikipedia article...
http://en.wikipedia.org/wiki/Dilution_of_precision_(GPS)
It will explain the dilution of precision variables.
Baud rate is also known as bps (bits per second). It is the number of 1's and 0's a communication link can transmit in 1 second. I am sure google would nail that one too. In this case the rate of data the GPS chip is sending to the microprocessor.
- turn off 3G
phone screen > ##778 > "000000" > modem settings >
preferred mode- should be on auto as default, switch it to cdma only
menu > commit settings > (auto reboots)
poof 1x only mode!!!
(much slower data speed but much smaller data authentaction overhead - hence less power usage, good for low signal or good signal with fringe 3g coverage)
also be careful what you change in the settings, one of the modes will give you data only and no voice call(+sms) ability
- also "rev A." enable/disable has no reason to be off unless your network engineer so leave it on, turning it off will just limit you to evdo(3g) rev.0 vs allow both rev.A and rev.0
- dont clear your MRU, if you do you will need to hit a native verizon tower to get data to work
- preferred serving system - home/auto A/auto B
B is default and works best in roughly 90% areas, auto A looks at same preferred list but starts in reverse order before goign to none preferred towers, sometimes phones gets confused between two preferred towers and grabs one with lower signal or just switched to much, occasional it might help to tell the phone to start searching for ID's in reverse order, this is little over simplified and prl's contain signal frequencies as well which is more of what a/b switch will look to, but thats the way i like to explain it so tough cookie
also if your ambitious and your phone keeps jumping between good 3g signal and tower with poor coverage or data, you could grab the sID's of the tower with good connection and put phone in home only mode and alter the nam settings home sid to match that, also your allowed to enter more than one sid in the settings if you wanted to build a mini prl list of sorts
warning:-altering home sid will give roam indicator false info and roaming will still be network side regardless of what miss programed phone shows
also if you put prl files on root of sd card you can also update prl from a file
Prove the lower power usage.
Lino. said:
Prove the lower power usage.
Click to expand...
Click to collapse
i'll skip how signal strength effects radios power output and B band penetrates buildings better in general and alot of boring electromagnetic theory
i'm guessing your referring to the 1x mode vs 3g/1x mode(3g/2g), if its not let me know
it was my assumption that it is general knowledge and accepted that evdo has alot higher power usage just maintaining network authentication with no data transfered for user purposes, it takes longer to acquire a 3g aka EV signal signal when booting phone or when its recovering from lost signal, the network packet overhead is larger between the phone and the cell tower, just like analog or cable modem has MTU that is basically the available space - used for network = info space, now imagine you had OCD and had to call your VM once ever min to make sure it didn't get deleted or someone change your password to check your messages, now say 1x would be listening just to make sure the greeting starts for maybe 10 seconds and your 3g would listen to say 30 seconds of the greeting before being satisfied the vm hasn't been lost or hacked, obviously the person broadcasting an open cell channel for less time will be able to use phone longer without charging, now these are made up numbers for illustration purposes and the authentication process takes fraction of a second, but it is done continuously over and over as long as the 3G icon is showing on the top of the phone
now actions speak louder than words and i would be more than happy to make some real world test to give you hard evidence and if this is what you want then you will have to wait because i'm changing alot of the apps on my phone and my usages is not consistent enough for test atm but i'll happily make one if you wait for my usage to settle down, now if someone wants to send me second htc incredible i'd happily make time dilated web video and post it to youtube so everyone can see first hand evidence of power difference
now if you are impatient and want proof right this second without a propper test conducted i can refer you to google but on more serious note the EVDO effect on moto razor is well know and modes have been done to edit, also the battery life of the v3a and v3m are very different, the largest difference in these two razors is one is evdo capable and the other is not, also cases have been documented of v3m users having less than half the battery life they had before after the EV icon starts showing up on the screen related directly to cell tower upgrade in the area they use the phone
now i know this is alot of nothing about the razor but it was very common phone, i have altered the data on lg wave, glimmer, htc touch diamond and few blackberrys and noticed power differences on all of them, its just the way modern cdma phones work and its effect is magnifed by lower signal levels, people that live few feet from cell towers will notice least difference while thous with 1 bar of coverage or around the -90 dbm or lower range will notice greatly magnified effects of this inefficient with data authentication process
seriously thou, anyone want to send me a second phone! lol
-----
couple googled links for you
http://www.hacktherazr.com/guides/verizon.disable.evdo.php
http://www.wikihow.com/Extend-the-Battery-Life-of-Your-Verizon-Wireless-RAZR
runkittyrun said:
seriously thou, anyone want to send me a second phone! lol
-----
couple googled links for you
http://www.hacktherazr.com/guides/verizon.disable.evdo.php
http://www.wikihow.com/Extend-the-Battery-Life-of-Your-Verizon-Wireless-RAZR
Click to expand...
Click to collapse
Thats pretty good, but good luck with this one.
Coming from a G1 I was not expecting anything better on the battery for this phone, we get a phone like this because of it's features and everyone should know that features like this phone has are going to consume more power.
If battery is a persons problem and they will always complain about it, then they should not have a smartphone.
Also chargers are cheap.
I wander with the same amount of use, 2 identical phones one running 3G the other running slower, what would be the difference and how could this be done, the phone with 3G would be waiting on the other to load a webpage 90% of the time.
Sorry I left T-Mobile because of their lack of 3G service, I'll be dammed if I put my phone back to Edge speeds.
Lino. said:
If battery is a persons problem and they will always complain about it, then they should not have a smartphone.
Also chargers are cheap.
I wander with the same amount of use, 2 identical phones one running 3G the other running slower, what would be the difference and how could this be done, the phone with 3G would be waiting on the other to load a webpage 90% of the time.
Sorry I left T-Mobile because of their lack of 3G service, I'll be dammed if I put my phone back to Edge speeds.
Click to expand...
Click to collapse
this definitely is not targeted for normal use
this is more for the person that cant make it threw 5 hours with the phone idle the whole time, if you want to start larger amount of data then switch it back and wait 40 seconds?? for reboot
2g will load web pages and email and all other data, except view vcast videos and thats blocked on network side, also voice chat programs like skype would take quality hit do to smaller bandwidth, if you used two phones in active data sessions the 3G would quickly become more efficient as session size and length increased, like you said it would finish loading larger websites and videos while 2g is still broadcasting an active session working on transferring the info, but if you set two phones with same apps on them in same place with one in 1x and other evdo and watched them in standby mode the 1x will have longer battery, now ideally if your going somewhere with low signal it is much easier to turn off all data threw normal menu and will give you even better battery but no emails updates or other data
I live in a poor Verizon signal area. Every phone I have ever had gets easy better batt life when set to 1x only so thanks for this tip.
Any easy to automate this with a macro or widget somehow?
lexluthor said:
I live in a poor Verizon signal area. Every phone I have ever had gets easy better batt life when set to 1x only so thanks for this tip.
Any easy to automate this with a macro or widget somehow?
Click to expand...
Click to collapse
thanks, makes my post all worth while
would be a sweet widget if you could change the phone mode on the fly dont know enough about the android system to know if its possible, but maybe someone can look at the phone settings and make customized epst program and make widget just for this setting without the programing forcing a reboot, have seen some phone that can change nam programing without reboot but most phone do it automatically so be interesting to see if changed without a reset if it takes effect or not, hmm or even epst mod at commmit to bring up reboot yes/no instead force reboot on commit would work then we know widget should be possible
What it the point in having a top of the line media phone if you are going to cramp it's style by limiting it's functions. If you "need" this top of the line phone you should be able to pony up for an extra batt. The Incredible is a COMPUTER you talk on. Can your laptop last all day with heavy use unplugged ? ? NO.
I plug my phone in at work and in the car. I also keep an extra batt in my briefcase for out of the office emergencies. These are not flip phones that last all day. I have been using media phones since they came out and they have yet to make one that will last all day using all the features like you want to.
Why restrict what the phone can do , when all you need is an extra batt.
jbh00jh said:
What it the point in having a top of the line media phone if you are going to cramp it's style by limiting it's functions. If you "need" this top of the line phone you should be able to pony up for an extra batt. The Incredible is a COMPUTER you talk on. Can your laptop last all day with heavy use unplugged ? ? NO.
I plug my phone in at work and in the car. I also keep an extra batt in my briefcase for out of the office emergencies. These are not flip phones that last all day. I have been using media phones since they came out and they have yet to make one that will last all day using all the features like you want to.
Why restrict what the phone can do , when all you need is an extra batt.
Click to expand...
Click to collapse
your right, why dont we all carry around backpacks or napsacks with batterys and portable charges and spare parts for our smartphone, batterys are cheap
and people should not be allowed to buy tv screens over 32" if they can't show proof of owning blu-ray player, i mean come on, no top line device unless your gonna use it to best potienal, and in reality they are just making large screens more expensive for thou that do have blu-ray, yep, no big screens for people with dvd's and stander cable
OMFG!
why are people so quick to force their frame of reality on to everyone, is their a Hitler award i dont know about?
i get that smartphones are computers first and phones second, but that doesn't mean everyone using one has the same needs, some people need the phone part of the smartphone to, well actually work, i know what a strang concept why dont they just get an old bag phone, better signal, better battery life, and you can get them with shoulder straps!
android is about ability to customize our phones, why? because we all use them differently so you can change your home screens, pick the apps you download, the experience is aimed at being user driven
your example laptop is way off base, what you should be saying is if your laptop is full charged and its completely off or in a hibernate mode for 2-5 hours can you even at that point turn it on? that is what this post is about, not the time your using the smartphone but the time that its self-destructing between uses
look, i admit this is not for everyone, infact for 90+% i would recommend not even trying this, but the point is some people are effected by this and shouldn't they at least have the option or ability for this? there was post requesting this before i even brought it up
do you know how many people i've talked to over 80 that have smartphones these days, now i'm not saying these should have them or that it wasn't incredibly frustrating talking to them and i didn't want to bang my head on wall saying why did someone sell this person a smartphone we should have test to who can buy smartphones, if you cant figure out how to turn it on by yourself you cant' buy one! but the reality is smartphones are becoming mainstream
- why would anyone need top line media phone and then cramp it?
> because they dont use their smartphone the same way you use smartphone
i.e. my father runs poker tournament for a large company and bigger events are normal held at casinos, i dont know if you been to poker tournament lately but they are long events, also most casinos are bad on cell signal, partly cause of the building and partly cause they have areas with signal equipment that interferes, he also needs to have his email on the device because he's general contractor and works with larger companies that demand a quick response, now one could suggest blackberry in this case as of smartphones they in most cases do better with battery life, but honestly at the rate android apps are growing and how much for fun and enjoyment i get from it i cant dream of not recommending a android phone to him, now their is one degree of separation that shows an example where this is useful, and i could go on all day long with completely different examples where this is helpful
can we all agree to disagree about how people are stupid people are to modify how their phone functions? and try to keep to subject of re-enforcing this works or providing examples that contradict this, or question to how it works or expands on its helpfulness
jbh00jh said:
What it the point in having a top of the line media phone if you are going to cramp it's style by limiting it's functions. If you "need" this top of the line phone you should be able to pony up for an extra batt. The Incredible is a COMPUTER you talk on. Can your laptop last all day with heavy use unplugged ? ? NO.
Why restrict what the phone can do , when all you need is an extra batt.
Click to expand...
Click to collapse
I hear you on all of that and I fully understand what I have. I just came from a Touch Pro and, I'll tell you, battery was probably good for 14-16 hours if set to 1x and 10 hours on 3G. That a huge difference.
I'm on Wifi both at home and work and use Opera Mini, which works very well on 1x, plus I had a pretty quick way to go from 3G to 1x and back. It didn't limit me *that* much, but sure, there were plenty of times I needed to check something fast, wasn't near wifi and didn't want to use my macro to change to 3G and back. Yes, it's a bit of a pain.
Plus, I barely get a 3G signal in my house anyhow. It's 1x 75% of the time.
Now that I have my incredible, which does even so much more than the Touch Pro, yes, I'd like to keep it to 3G and I have chargers everywhere and an extra battery and might get an external battery charger too.
Still, I'd love to see an app or widget that can quickly set the phone to 1x mode and back.
runkittyrun said:
your right, why dont we all carry around backpacks or napsacks with batterys and portable charges and spare parts for our smartphone, batterys are cheap
and people should not be allowed to buy tv screens over 32" if they can't show proof of owning blu-ray player, i mean come on, no top line device unless your gonna use it to best potienal, and in reality they are just making large screens more expensive for thou that do have blu-ray, yep, no big screens for people with dvd's and stander cable
OMFG!
why are people so quick to force their frame of reality on to everyone, is their a Hitler award i dont know about?
i get that smartphones are computers first and phones second, but that doesn't mean everyone using one has the same needs, some people need the phone part of the smartphone to, well actually work, i know what a strang concept why dont they just get an old bag phone, better signal, better battery life, and you can get them with shoulder straps!
android is about ability to customize our phones, why? because we all use them differently so you can change your home screens, pick the apps you download, the experience is aimed at being user driven
your example laptop is way off base, what you should be saying is if your laptop is full charged and its completely off or in a hibernate mode for 2-5 hours can you even at that point turn it on? that is what this post is about, not the time your using the smartphone but the time that its self-destructing between uses
look, i admit this is not for everyone, infact for 90+% i would recommend not even trying this, but the point is some people are effected by this and shouldn't they at least have the option or ability for this? there was post requesting this before i even brought it up
do you know how many people i've talked to over 80 that have smartphones these days, now i'm not saying these should have them or that it wasn't incredibly frustrating talking to them and i didn't want to bang my head on wall saying why did someone sell this person a smartphone we should have test to who can buy smartphones, if you cant figure out how to turn it on by yourself you cant' buy one! but the reality is smartphones are becoming mainstream
- why would anyone need top line media phone and then cramp it?
> because they dont use their smartphone the same way you use smartphone
i.e. my father runs poker tournament for a large company and bigger events are normal held at casinos, i dont know if you been to poker tournament lately but they are long events, also most casinos are bad on cell signal, partly cause of the building and partly cause they have areas with signal equipment that interferes, he also needs to have his email on the device because he's general contractor and works with larger companies that demand a quick response, now one could suggest blackberry in this case as of smartphones they in most cases do better with battery life, but honestly at the rate android apps are growing and how much for fun and enjoyment i get from it i cant dream of not recommending a android phone to him, now their is one degree of separation that shows an example where this is useful, and i could go on all day long with completely different examples where this is helpful
can we all agree to disagree about how people are stupid people are to modify how their phone functions? and try to keep to subject of re-enforcing this works or providing examples that contradict this, or question to how it works or expands on its helpfulness
Click to expand...
Click to collapse
Why would someone need a backpack to carry a 2oz, battery ?
The more I read on this tread the more I understand.
That was an option on my G1 to turn off 3G, I never did, I hardly had 3G with T-mobile.
Anyway you can turn off Mobile network on the fly, you can also put the phone in airplane mode, but both of these you will have to internet, also you could turn off Auto Sync, or turn the phone OFF for best battery life.
that doesn't make any sense at all, the phones screens are super strong and anti scratch out of the box from factory without any add-on.
if you cracked yours like you described, you must to have put it over a very hot surface, or with saline/acidic solution.
i've seen the video where the guy repeatedly intentionally drop the screen with no problem, until he tried to smash it over 1.5m high, anything less than 1.0 drop is safe for the screen.
i can see why samsung doesn't believe you, as it's physically imposible for it to break in the way you described it.
all that aside, if you can find a replacement screen, usually it is a plug and play piece.
i've done many of those on my old Treo and Blackberry phones, the SGS will be no different.
Replying to AllGamer's post. I had just taken my galaxy off my battery charger. So the phone was pretty hot. I believe that there was some defect or tension on the screen. The cracking started from the corner of home button.
AllGamer said:
that doesn't make any sense at all, the phones screens are super strong and anti scratch out of the box from factory without any add-on.
Click to expand...
Click to collapse
Im not sure about this.
My 2 weeks old phone dropped from the sofa and down at the floor today. About 50 cm and landed flat on the floor with the front first. Screen cracked all over, phone still usable though.
I´m ordering a replacement package. To much hassle trying to arguing against samsung or the shop i bought the phone in, stating the same as a bow.
But the lesson is, be careful people. The screen cracks surprisingly easy.
dangrayorg said:
Having studied the effects seen with the MS options over measured trials and based on my assertions in my previous post I believe that MS stands for ‘Multiple Sensors’ or ‘Motion Sensors’.
Click to expand...
Click to collapse
And here did I stop reading.
You don't even know what MS-Based and MS-Assisted stands for, and you think you can work out what the problem is?
Really. Thank you for trying, but changing the settings is no solution.
maesebit: Care to help then?
BS...
maesebit said:
And here did I stop reading.
You don't even know what MS-Based and MS-Assisted stands for, and you think you can work out what the problem is?
Really. Thank you for trying, but changing the settings is no solution.
Click to expand...
Click to collapse
Actually I can't find any decent quotable source. That said I may be slightly embarrassed as I come up with this:
What is MS-Assisted mode of operation?
In MS-Assisted mode, the network elements calculate the location of the device. This mode is suitable for one-shot fixes, wherein the location does not need to be updated frequently.
Back To Top
What is MS-Based mode of operation?
In MS-Based mode, the network provides the satellite information to the device, based on a rough estimate of where the device is located, and the device acquires the GPS signals from the satellites and calculates its location. After the initial fix, the device operates like an autonomous GPS receiver, until the satellite information must be refreshed, at which time the device goes back to the network to update the satellite information. MS-Based mode is appropriate for applications that require the device location to be updated rapidly, such as a navigation application.
Back to the OP again.....
Peer review, ain't it a *****.
Brownstone said:
maesebit: Care to help then?
BS...
Click to expand...
Click to collapse
I wish I could. But I can't provide you with a better antenna.
I'm just pointing out that this thread is not offering any solutions to the problem, and never will, unless it adds some sort of hardware modding tutorial.
maesebit said:
And here did I stop reading.
You don't even know what MS-Based and MS-Assisted stands for, and you think you can work out what the problem is?
Really. Thank you for trying, but changing the settings is no solution.
Click to expand...
Click to collapse
If you don't have corrective information, just P*SS OFF...
You've trolled every GPS related thread out there, with no information what so ever and only whinning about how your life sucks without GPS... I guess you must be hitting the walls in your place without a descent GPS eh?
It is specified by the OP that he "assumes" it stands for X and Y. This is speculative but still, this is at least someone trying to DO SOMETHING else than whine pointlessly and troll everything...
What did you do to make it right? Did you concact your reseller, did you contact samsung, did you tip any news site with the information?
As for the informations, this is what MS stands for:
MS = Mobile Station = your cell phone or handheld
MS-based = it gets GPS information assistance to find the satellites, then continues calculations on its own. Used for example with VZ Navigator.
MS-assisted = gets GPS assistance, and then sends raw GPS readings to another server to do the location calculations. Used a lot for E911 locating.
Click to expand...
Click to collapse
Yesterday my GPS started going totally berserk on me... I usually have a good track, better than I used to have with my HTC Vogue to track my workout but wierd thing appened yesterday, got me this track:
http://sportypal.com/Workouts/Details/776945?key=121d6fcdae3e1f2a69d349083a6f18affae9cd0a&ms=0
So I've disabled WiFi, rebooted the thing and it was still inacurate...
http://sportypal.com/Workouts/Details/776280?key=f7ae25b101afde4752bfd15d940e289ef8c4b8c4&ms=0
Better still, but unusable to track jogs
So I went ahead and strted GPS Status to clear and redownload A-GPS data and did a small test
http://www.google.com/maps/ms?ie=UT....436748,-71.004682&spn=0.005479,0.013894&z=17
I've played around in here and crossed the street a couples of times... I would say it's within 2 meter accurate of my real position and no weird jumps...
Still, this was a small 5 min. test. I'll check it out when I get another jog but it seems like the fix was more stable.
I know AGps is only used for the first fix, and shouldn't affect the accuracy once fixed, but what if (this is speculation, it should need further investigation) the GPS status accuracy issue was more likely caused by a lost and retreival of a fix? In this case, the fact that the fix was lost/regain would mean that the aGPS would affect the accuracy as it is constatly regained.
Any way to force disable the AGps overall?
It wouldn't be folish to belive that Samsungs engineers used MS for another meaning, they're often not very good in English.
I'm curious of the possible effects of moving the internal GPS antenna. Aka opening the phone, moving the antenna far away from other components and testing the GPS with default settings. Sometimes does wonder.
maesebit said:
And here did I stop reading.
You don't even know what MS-Based and MS-Assisted stands for, and you think you can work out what the problem is?
Really. Thank you for trying, but changing the settings is no solution.
Click to expand...
Click to collapse
That doesn't mean that the OP settings don't work best on our phones in real world testing. Has anyone proved which setting is best?
MS-Based = Mobile Station Based.
MS-Assisted = Mobile Station Assisted.
Standalone = no A-GPS used at all?
From this page, we can see that "Mobile Station" (MS), refers to the GPS receiver, ie the phone itself in this case. Therefore MS-Based means the phone itself computes the location with a combination of data from the GPS signals and the A-GPS server. MS-Assisted, means the phone sends it's GPS data to the server for the server to calculate the location for it. Standalone presumably means that the phone doesn't ask the servers opinion (is that correct?)
The point is that the OP was running a series of guesses based upon their experience of testing the device in the real world and trying to make sense of the data they saw. Therefore unencumbered by ideas of which should be "better" they have gone purely on test data. This might go against knowledgeable instincts, but doesn't mean it is wrong... even if the explanations of "why" are miles off!
If you have something to offer, then please DO carry on reading past the bit that was wrong, and see the bigger picture. Do the settings mentioned help or not?
I seem to remember that my phone was set to standalone when I got it, and someone trying to help suggested I switch to MS-Based, which I did, but I've had problems since then. I'll try it back on Standalone for a while and see if it helps! Maybe the A-GPS stuff is still part of the problem on this unit, and it performs better in standard GPS mode? Or maybe we can find a better server to use for the assistance?
Mike
t1mman said:
You've trolled every GPS related thread out there, with no information what so ever and only whinning about how your life sucks without GPS... I guess you must be hitting the walls in your place without a descent GPS eh?
Click to expand...
Click to collapse
Hey, I actually published a track showing how the GPS performs well when used in open spaces, and awfully when it's sorrounded by stuff like buildings.
I guess that's more helpful for investigation pourposes than blaming the world for not being alligned with the Galaxy S' GPS, as others do. XD
No offence, but all this thing about recording tracks and looking for miracolous configs is starting to be ridiculous. You might notice slight improvement by doing so. But it won't be enough.
So, sorry for bringing people's hopes down, but if the GPS could be fixed by simply changing some settings Samsung would have already done that. You know, even their useless engineers could be able to do that in 6 months time.
I'm going to come to maesebit's defence. I was talking arse about MS nav and he called me on it. The wandering behaviour which I had put down to INS could easily be caused by having a base-station try to DF you and pass that position back (doppler shift maybe? That would explain why it keeps you moving for a while until it decides that you have stopped.)
Actually it doesn't make any difference. The loudest cry in this forum seems to be for 'MS-Assisted' which is precisely the wrong mode.
They're not well named modes, given that MS-Based is actually assistive while MS-Assisted is actually based - quite counter intuitive!
I know it's cheeky but I'm going to keep ammending the OP because I think it's important that that paints a picture of what can be done. Simply put I'm under no illusions that Samsung will do anything about this because it needs a hardware fix so it's for us to look at the 'art of the possible'.
bilboa1 said:
It wouldn't be folish to belive that Samsungs engineers used MS for another meaning, they're often not very good in English.
I'm curious of the possible effects of moving the internal GPS antenna. Aka opening the phone, moving the antenna far away from other components and testing the GPS with default settings. Sometimes does wonder.
Click to expand...
Click to collapse
MS- Based and MS-Assisted is standard tech slang. But who know. They could be changing the achronyms meanings. Maybe they could be using "GPS" as "Great Piece of ****" instead of "Global Positioning System" too.
As of changing the antenna placement. That'd be interesting. Anyone dares to give it a try? We could also try to attach an external GPS antenna to the phone and see what happens.
maesebit said:
Hey, I actually published a track showing how the GPS performs well when used in open spaces, and awfully when it's sorrounded by stuff like buildings.
I guess that's more helpful for investigation pourposes than blaming the world for not being alligned with the Galaxy S' GPS, as others do. XD
No offence, but all this thing about recording tracks and looking for miracolous configs is starting to be ridiculous. You might notice slight improvement by doing so. But it won't be enough.
So, sorry for bringing people's hopes down, but if the GPS could be fixed by simply changing some settings Samsung would have already done that. You know, even their useless engineers could be able to do that in 6 months time.
Click to expand...
Click to collapse
I would agree with you, but considering some have good tracks, some have bad tracks; there must be something that affects the GPS usability.
And, as I replied, A-Gps will have an effect if the signal is constantly lost and regain, as it is most likely the case in urban area, where the signal is known to bounce off of buildings or be disrupted by radio signals in the surroundings. I don't know how much you've tested any settings at all, but considering most of your answers consist in discrediting the whole A-Gps theories, I would assume “none”. So, your “theory” that it doesn’t affect anything at all is still a theory, just as OP’s or any of us.
maesebit said:
So, sorry for bringing people's hopes down, but if the GPS could be fixed by simply changing some settings Samsung would have already done that. You know, even their useless engineers could be able to do that in 6 months time.
Click to expand...
Click to collapse
I don't think so. We all would like to believe that the Samsung engineers are as involved as the XDA crowd is. Forget it. Why did it took months for Samsung to come up with their Froyo version? Look at it, what's are the extras that Samsung puts in Froyo that legitimate months of delay?
Samsung just sees this as a calculated risk:
- only 25% of the customers will use the GPS
- 25% of those will have used a GPS phone before and are able to compare
- 25% of those will bother
- 25% of those will look at forums like XDA
- 25% of those will rant on forums like XDA
So, 0,098 % of customers will have a problem, big deal. Samsung just doesn't bother. Maybe a few engineers do, but they are already working on the Galaxy S2, and we are blessed with people like the OP to help us out.
I have a Samsung Blue Ray Player also. The thing has a RJ-45 network socket. To this day, it's unable to find Windows Network shares in the network (you know those shares invented in the Windows For Workgroups era). So you can type in the IP adress, username and password manually (painstakingly with the remote) so it finds your shared media. But.., the engineers didn't bother to make the player SAVE that IP, username, passwords when you power off the Blue Ray Player.... That's the level of engineering at Samsung.
PS: my GPS works fine from the start. Fix in a few seconds, and just an occasional hop on a nearby road.
FadeFx said:
Sorry for proving you wrong, but i can tell you one thing
our GPS actually works well
The problem we do have is not really GPS, the root of the problem actually is the shaky compass sensor. With not knowing where exactly north is, the best navigator can't tell you where exactly you are. .
Click to expand...
Click to collapse
Are you serious? North and South, East and West have never been relevant in determining your GPS position....
Direction is based on the followed track between two or more determined GPS locations, not the poles.
Only a Compass can indicate North when stationary, a GPS device has to be moving (been moving) to indicate North, which it doesn't do based on poles but on the GPS locations it determined in the previous seconds.
pwhooftman said:
Are you serious? North and South, East and West have never been relevant in determining your GPS position....
Direction is based on the followed track between two or more determined GPS locations, not the poles.
Only a Compass can indicate North when stationary, a GPS device has to be moving (been moving) to indicate North, which it doesn't do based on poles but on the GPS locations it determined in the previous seconds.
Click to expand...
Click to collapse
A compass isn't involved in traditional plain GPS. Correct.
However, is it definitively proved that the compass doesn't interfere with GPS tracking on our phones, by adding another sensor feed in to the mix?
It probably doesn't have an affect, but are we absolutely sure?
Have people tried re-calibrating their compass and accelerometer, even just so we can dismiss them completely as being not part of the problem?
Mike
xpcomputers said:
A compass isn't involved in traditional plain GPS. Correct.
However, is it definitively proved that the compass doesn't interfere with GPS tracking on our phones, by adding another sensor feed in to the mix?
It probably doesn't have an affect, but are we absolutely sure?
Have people tried re-calibrating their compass and accelerometer, even just so we can dismiss them completely as being not part of the problem?
Mike
Click to expand...
Click to collapse
if by recalibrating you mean running the sensorcalibutil_yamaha, then yes, i recalibrate it all the time, since the bloody thing gets screwed up so often.
I just wondering why people keep asking question here rather than using discussion thread... Also people keep reporting bug here rather than using issue tracker...
@codeworkx: I think you should ignore any question here and push them to discuss there... at the link that you have post... BTW... thanks for your great works...
+100000000000
People, if you have questions, need any kind of help or need to discuss something not relevant for the devs: use the f*cking user thread!!! And do not report any bug here, do it through the issues list!!!
I wonder how can exist so many people that know how to write but not to understand what they read!!!
Sent from my GT-I9000 using Tapatalk
We all know that the GPS unit on our beloved SGS sucks badly. Firstly it takes ages and ages to find a good signal, and secondly it chews up bucketloads of battery to get there.
The other day I was talking to someone about GPS units within some handheld devices at work, and he told me something that completely blew me away - how GPS units ACTUALLY work as opposed to how most people think they work.
Firstly let me preface this by saying that he used (and I will use) the "Lies to Children" method of technical communication. If you are not a Terry Pratchett fan, it basically means that instead of explaining a subject to the Nth degree and getting the full detail across, you sum it up with what is essentially and technically a lie - but one that's a half-truth that will pave the way for future understanding.
Example? "The sun rises in the east and sets in the west". Comparatively speaking against the Earth, the Sun does NOT move. The actual truth is the sun moves within the galaxy and within the galaxy cluster and within the universe. The earth also moves in a similar manner and also rotates on its axis with a slight wobble that technically provide seasons. How does that relate to a 5 year old? "Yeah, uh, kid. The sun, you see, it rises in the east". A "lie" but one that works for everyone, and when their brain absorbs enough other information you can explain it properly (with another "lie", but one that's more truthful than the previous one)
Back to the topic:
I thought, like most of you probably think, that a phone's GPS works by having some kind of 2-way method of communication. When you enable the GPS unit and go into maps, the device starts broadcasting to the satellites to say "I'm here, now where is 'here'?" That's not the case.
It works a bit like this (and pardon the analogies)
Let's say there are 3 satellites are in geosynchronous orbit at fixed locations. For the sake of the description we'll call them FRED, GEORGE, and BILL. A lot of time and money was spent to make sure that they don't vary that location by a factor of a few cm before they re-correct their location. A bunch more time and money went into their internal time-keeping mechanisms so that they are also VERY accurate.
From their location they broadcast a signal outward. Fred says "HI I'M FRED LOCATED AT POSITION X AND THE TIME IS SUNDAY 18TH MARCH 2012 7:15PM AND 38.123456789 SECONDS"..."HI I'M FRED LOCATED AT POSITION X AND THE TIME IS SUNDAY 18TH MARCH 2012 7:15PM AND 38.123456790 SECONDS" and so on.
George says "HI I'M GEORGE LOCATED AT POSITION Y AND THE TIME IS SUNDAY 18TH MARCH 2012 7:15PM AND 38.123456789 SECONDS"..."HI I'M GEORGE LOCATED AT POSITION Y AND THE TIME IS SUNDAY 18TH MARCH 2012 7:15PM AND 38.123456790 SECONDS" and so on.
And Bill...I can't be stuffed writing it, let's just say Bill screams out his location and the current time, multiple times a second.
Now, while some satellites broadcast in higher or lower timings, the basics are the same: Current position, plus the current (accurate) time. (Some also send information regarding the other satellites it "knows" around it. Eg, "HI I'M BILL AT POSITION Z AND THE TIME IS BLAH AND I CAN SEE GEORGE AND FRED. THEY DON'T SAY MUCH, SO IT SURE IS LONELY UP HERE").
My point here is that the satellite neither knows nor cares who you are or where you are, it just pumps out that racket like a noisy teenager with a new stereo and what they THINK is the coolest music ever.
When the 3 signals are received on the ground by the GPS unit, it works out: "Bill thinks it's THIS TIME....George thinks it's THAT TIME...and Fred thinks it's this OTHER TIME....that means my distance from each one is actually THIS FAR and the real time is NOW". From that you can bang your location in LATITUDE and LONGITUDE on a map.
Sure, there are complications due to altitude and speed and direction, and you really need more than 3 satellites to work out where you are. But the reality is that, based on the lag in the signal from transmission to receiving (able to be calculated due to the speed of light), we can work out how long each signal took to get to the unit and therefore how far from the satellites we are. If you know where the satellite is supposed to be, you can work out where you are on the globe.
It really is that simple.
So when I found all of that out, I asked the question: If the satellite is really all that counts in this case, why does our GPS blow? In fact, why does any GPS work better than others?
Well, there are multiple factors:
Firstly, just like a good barman or psychologist, some "listen" better than others. The PASSIVE radio signal needs to be received by a unit that has a decent antenna and doesn't have other electrical crap affecting it. Anyone look inside their phone and see the antenna (and it's location)? Yup, it's in a pretty bad position and it's a pretty bad antenna.
Even if we were somehow to isolate the GPS unit and bring it out away from the interference, it's a pretty bad receiver. If you've ever listened to a transistor radio and compared it to a $4000 stereo unit, you know what I mean. Noise = bad data = bad location finding.
Secondly, the signal needs to be interpreted. When each broadcast hits the phone, the receiver accepts it and shunts it to the processor to work out. Slower phones can process less signals, especially when the OS may put a limit on how much processor time should be dedicated into working out the signals (there's no point using 100% of your processor when that means you can't display it properly on the map or let the user actually interact with the maps app)
Thirdly, we don't know all the positions of the satellites. When the signals first start getting processed, your phone communicates with the NTP servers it has located in your GPS.CONF. It asks which satellites are where and where that actually may be on the globe. Remember how I said each satellite tells you it's position? That was a "lie to children" moment. The damned thing is in the SKY after all. So, while we technically know where it is, the information means jack and sh*t to the GPS unit unless it has more information available.
What I mean here is: What part of the world can that satellite see/broadcast to? The satellite doesn't know or care, and it's not broadcasting that information at any case. There's more than a couple of satellites up there, so the phone needs to check back the NTP.ORG to work out some basics. As your phone uses the GPS function more and more, it stores up the addresses of the satellites that you know and love in your neck of the woods (including ones that are not geostationary) and will need to rely less on a data connection.
That's why when you use GPS the first time after a fresh flash it is just plain crap, but after a few more tries it works better. And that's why it's important to use FasterFix or a like app to nominate the closest/best NTP server for you - the closer servers respond quicker over the 'net and also have the list of "closest" stationary satellites stored at the front of the file. If you're in Australia you don't care about the 'merican or European sats, but they come afterward "in case you're overseas"
Lastly, when you take it all into account, if you have bad weather or tall buildings around you, then the signals blasted down from on high either get muted, muddled, or bounced around. The error correction in our phones is non-existent - it doesn't actually need to be due to the fact it's a PHONE and not a GPS unit, but some devices can and do filter out the known "dodgy" signals before processing. I'm pretty sure that when the techies run out of toys to add to or fix in our phones, they'll add altimeters and thermometers and they'll fix the GPS post-processing to get the signal down pat.
In case you're wondering, the whiz-bang GPS units that can get extra awesome resolution (down to beyond cm) have the list of every single satellite location up there stored internally, the on-board processor is dedicated to working out what the signals mean, and the GPS chip itself normally has a great big honking antenna on it and is extra receptive. Ours is a 2 dollar job from some bulk offload sale.
There you have it. Thanks for letting me brain dump. Hope this helps some people's understanding!
Interesting. I had always thought it was a simple two-way communication between the phone and a geostationary satellite. But in retrospect, that would be extremely inaccurate seeing as how the attenuation over such a long distance, as well as the interference with other phones (which might be using the same frequency because GPS is not network controlled, unlike calls) would make it difficult for the satellite to tell where the signal came from. This explanation makes much more sense. Thanks!
So, its still better to use an app like GPS Aids so the GPS would be "up" faster... Thanks for explanation, you sir, get a thanks.
Wow! Nice post, well written and very informative!
But I don't understand, how the help is GPS free when all this technology is so expensive!?
Sent from my GT-I9000 using XDA
Yes. Good post. Except the GPS satellites aren't geostationary. They orbit the earth twice a day at an altitude of approximately 20.000km. There are 6 different orbit planes and 4 satellites per orbit.
A geostationary satellite sits directly above the equator at an altitude of about 36.000km. One orbit lasts excactly one day and thus the satellite appears as if it's standing still in the sky.
You can google all that if you like.
GPS would be simple if all the satellites were geostationary, but that would make triangulation very difficult. Especially around the polar areas. Therefore they must be orbiting crisscross all over the globe. But that also makes geostationary orbits impossible (it is only possible directly above the equator).
Thanks given simply for the Terry Pratchett reference (I'm addicted to Discworld novels)
Here are my 2 cents about this whole "closer NTP server = better results"
1) NTP server is just a time server. It doesn't store any info regarding any satellite in your neighborhood. That's the role of A-GPS server - in our case it's supl.google.com that you see in every gps.conf.
2) We all get our current time from our mobile provider or manually setting it in settings. So we don't sync our clock to NTP server time. Our phone will just use NTP to figure out the offset - i.e. how accurate our clock really is. It can also take into account the delay factor caused by network latency since it's something relatively easy to measure. So in the end of the day it won't really matter what NTP server you use as long as it works and you don't have any network issues with it.
From my experience all these NTP games are one big placebo effect.
The only tips I got for better GPS are:
A) Clear GPS cache after not using it for a long period of time (or let android do that for you eventually).
B) Use mobile network data for faster fix (A-GPS).
C) Keep the antena free from any obstacles - In car place the phone directly under the front glass, don't expect it to work under the roof.
While running if you use armband, place the phone with its screen toward your arm since if placed otherwise your arm will blocks the gps signal completely.
Any one know why mine is fine and grabs lock within 10 seconds indoor with iGO and GPS test?
I didn't f*)Kin camp outside a electronic store JUST to get one on release date I got one from later batch which fixes hardware GPS reception issue
All GPS use one-way communication.. it would become too expensive n complicated to have two-way communication
1) The GPS receivers here on earth would require complicated and high power circuitry to send signals to satellites miles above the earth. It would suck a battery dry in minutes
2) The GPS satellites would require to handle communication with an exponentially increasing number of GPS units on the ground. That would require huge processing power, multiple channel support and communication management to avoid clashes between communicating units. Satellites are situated so high up that signals to and from satellites accrue a lot of noise n distortion.. For proper signals, satellites can only transmit data at very low data rates and have low bandwidth..
GPS requires exact timing, and I mean atomic clock exact. Its impossible to have atomic clocks in today's small devices. So satellites have a very accurate atomic clock on board.. Heck, some satellites have 3 on board to correct clock drift and error!! Even then, GPS devices were very expensive.
Then, some scientist found a way to find the exact location and time by using the really small timing variations in satellite signals. Coz of that, we can now afford GPS chips at $50..
Our phones don't have space for large ceramic antennas (one GPS unit I have has a 25x25x4 mm antenna on top!!) And the timing variation trick helps even low power units pick up satellite signals, but they are slightly less sensitive.. They won't be able to pick up weak signals, which your car nav unit will..
Also, processing GPS data doesn't take that much processing.. Almost all GPS units output their data in a standard format called NMEA format and the location data looks something like:
$GPGGA,<time>,<latitude>,<longitude>,<fix quality>,<no. of satellites>,<altitude>......
All the processor has to do is use this data.. A processor doesn't have to calculate anything at all with regards to actually locating the device. The GPS chip does it all..
Sorry for the really long post.. I hope it makes sense.. I'm doing a project which uses a GPS unit, so I've been studying on it..
First let me start by saying that I have a habit of drunk posting. So I logged into XDA today at work and went "huh? An extra bunch of 'Thanks'? What the hell have I done now?"
Which means that while the information in the OP does a decent job of summing up what I was told, some was a little off. Cheers for pointing out where I got things wrong.
Remember, last week "my mind = blown" by the fact that GPS isn't 2-way...which makes sense but is one of those things that I never considered...
Don MC said:
Yes. Good post. Except the GPS satellites aren't geostationary. They orbit the earth twice a day at an altitude of approximately 20.000km. There are 6 different orbit planes and 4 satellites per orbit.
Click to expand...
Click to collapse
You are quite right, there are a whole bunch of sats whizzing around up there in set orbits. Some of them "talk" to ground stations to get updates about the world in general, but a bunch just go screaming past blaring out their message.
I asked my mate at work who told me about how GPS works....his response? "Yeah, Lies to Children works like that." Apparently a combination of his half-explanation and my beer meant I got something wrong there. Sorry.
To give the full information about the different sats flying about, and how they get send the information....well, apparently it was easier to say "geostationary" !!
mike.sw said:
Here are my 2 cents about this whole "closer NTP server = better results"
1) NTP server is just a time server. It doesn't store any info regarding any satellite in your neighborhood. That's the role of A-GPS server - in our case it's supl.google.com that you see in every gps.conf.
2) We all get our current time from our mobile provider or manually setting it in settings. So we don't sync our clock to NTP server time. Our phone will just use NTP to figure out the offset - i.e. how accurate our clock really is. It can also take into account the delay factor caused by network latency since it's something relatively easy to measure. So in the end of the day it won't really matter what NTP server you use as long as it works and you don't have any network issues with it.
From my experience all these NTP games are one big placebo effect.
Click to expand...
Click to collapse
Again, you're right. But in the GPS.conf file there are both NTP and A-GPS servers. I was of the understanding the NTP address information also gave ...wait, disregard - just Googled that.
NTP only gives you time. And it won't matter which NTP server you get unless you have networking issues. I suppose the answer there lies in the fact that a "closer" NTP server will get you a quicker response to begin with, so your phone can start the process of working out the offset quicker....
Good tips, though I'm too much of a beer drinker to go running. Screen in or out.
ilabs said:
All GPS use one-way communication.. it would become too expensive n complicated to have two-way communication
1) The GPS receivers here on earth would require complicated and high power circuitry to send signals to satellites miles above the earth. It would suck a battery dry in minutes
2) The GPS satellites would require to handle communication with an exponentially increasing number of GPS units on the ground. That would require huge processing power, multiple channel support and communication management to avoid clashes between communicating units. Satellites are situated so high up that signals to and from satellites accrue a lot of noise n distortion.. For proper signals, satellites can only transmit data at very low data rates and have low bandwidth..
Click to expand...
Click to collapse
Correct...but kids these days also assume that steak literally grows on trees. Assumptions are the mother of all....
ilabs said:
Our phones don't have space for large ceramic antennas (one GPS unit I have has a 25x25x4 mm antenna on top!!) And the timing variation trick helps even low power units pick up satellite signals, but they are slightly less sensitive.. They won't be able to pick up weak signals, which your car nav unit will..
Click to expand...
Click to collapse
Correct, that was my point about the crappy GPS chip being like a crappy transistor radio. The combination of the quality of the chip plus the really really bad antenna (and it's position) means that people will not get car-gps like quality from their phone....and they shouldn't !!!
ilabs said:
Also, processing GPS data doesn't take that much processing.. Almost all GPS units output their data in a standard format called NMEA format and the location data looks something like:
$GPGGA,<time>,<latitude>,<longitude>,<fix quality>,<no. of satellites>,<altitude>......
All the processor has to do is use this data.. A processor doesn't have to calculate anything at all with regards to actually locating the device. The GPS chip does it all..
Click to expand...
Click to collapse
You're talking about the "final" output, but when I mentioned processing I meant the processing of the signal received.
I asked again about this. It was explained thusly: If you have interference in the form of tall buildings (for example) then the signal will actually bounce around a bit before being picked up. That "echo" can sometimes give a false reading if you took that one bit of information as a whole, as it's not a true representation of the time it took for the signal to get down from the sat.
So the device collects constantly and shunts that information to the processor to determine the length of time between when the sat spat it out and when the unit received it.
Now say every 10th "message" is a bounced/echo one. If the device is only able to process every 5th message, then it's potentially going to have up to half the messages be a dodgy echo job = bad location. It will catch up, eventually, but will take longer to know something weird is going on.
If, on the other hand, the more powerful processor was able to work out every 3rd message or more, then a more accurate fix comes quicker.
ilabs said:
Sorry for the really long post.. I hope it makes sense.. I'm doing a project which uses a GPS unit, so I've been studying on it..
Click to expand...
Click to collapse
Dude, the more people who post (sober) the better the information we have!!! Post away and make it long! Mine was!!
MrAndroid12 said:
Any one know why mine is fine and grabs lock within 10 seconds indoor with iGO and GPS test?
I didn't f*)Kin camp outside a electronic store JUST to get one on release date I got one from later batch which fixes hardware GPS reception issue
Click to expand...
Click to collapse
Luck....pure kiwi luck? lol.
I know my hardware blows. Takes anything from 30 seconds to 1 minute to get a dodgy half-lock.
I was thinking about packing it in for a new phone but a) still got a plan to pay off and b) ICS made the device more than useable in every other aspect.
wogfella said:
You're talking about the "final" output, but when I mentioned processing I meant the processing of the signal received.
I asked again about this. It was explained thusly: If you have interference in the form of tall buildings (for example) then the signal will actually bounce around a bit before being picked up. That "echo" can sometimes give a false reading if you took that one bit of information as a whole, as it's not a true representation of the time it took for the signal to get down from the sat.
So the device collects constantly and shunts that information to the processor to determine the length of time between when the sat spat it out and when the unit received it.
Now say every 10th "message" is a bounced/echo one. If the device is only able to process every 5th message, then it's potentially going to have up to half the messages be a dodgy echo job = bad location. It will catch up, eventually, but will take longer to know something weird is going on.
If, on the other hand, the more powerful processor was able to work out every 3rd message or more, then a more accurate fix comes quicker.
Dude, the more people who post (sober) the better the information we have!!! Post away and make it long! Mine was!!
Click to expand...
Click to collapse
Haha.. Yeah, the assumptions that you hear from time to time!! Makes even standard fiction seem possible!!
When I was talking about the processing, yeah, it was the final processing. But the processing of the GPS signal is only done by the GPS chip, not the processor to which the data is output. Generally GPS satellite signal frequencies are such that they die out very quickly when reflected off or passing through objects and buildings. That's why you get the best signal out under the open sky. The processing of the final received signals is done completely by the GPS chip. A standard GPS chip has only TX/RX serial pins apart from power pins. As soon as you power it up, it starts spitting out GPS data. Externally interfaced processors don't have to calculate anything at all.
Apart from this, everything is spot on!!
---------- Post added at 04:34 PM ---------- Previous post was at 04:27 PM ----------
MrAndroid12 said:
Any one know why mine is fine and grabs lock within 10 seconds indoor with iGO and GPS test?
I didn't f*)Kin camp outside a electronic store JUST to get one on release date I got one from later batch which fixes hardware GPS reception issue
Click to expand...
Click to collapse
Generally, when you first start up a GPS unit, its called a cold start coz it takes time. It will take time to scan for satellites and make a database of satellites around. Once it has at least 3 satellites in view, it has enough data to perform a proper triangulation to give your location. As the antennas on a phone are weaker, there's a certain error in a signal, which is why Google maps first shows your estimated location in a blue circle. As you begin to move, more data like heading and stuff is known and your position becomes accurate.
Sometimes even I get a lock in 10 seconds, sometimes not even in half an hour. That happens when there are no strong satellites above. If you always get a lock, I guess you're lucky to have a good number of satellites hovering over your phone like guiding angels..
wogfella said:
NTP only gives you time. And it won't matter which NTP server you get unless you have networking issues. I suppose the answer there lies in the fact that a "closer" NTP server will get you a quicker response to begin with, so your phone can start the process of working out the offset quicker....
Click to expand...
Click to collapse
The "quicker" result may be important if you query ntp servers every second (the default rate for GPS sample I think), however ntp is being queried once in a while - not sure the exact interval maybe one of the developers here can help with that.
If everyone of us would query the ntp servers every second they would be hammered to horrible death.
In "normal" NTP setups, client systems, like your desktop, query a small number (perhaps between 1--10) NTP servers every so often, e.g. once per minute (or 64 seconds in a common UNIX implementation). This can vary depending on response.
NTP is designed to get microsecond wall-clock time accuracy despite round-trips to NTP servers often taking tens, or even hundreds of milliseconds.
I believe most Android phone GPS chips update position once per second. There are apps that will confirm this.
I don't believe there's any need to repeatedly query NTP servers every second.
However, the hardware clocks in phones are terrible. Mine drifts up to one second per day, until the clocksync app uses an NTP query to drag it back to reality. Note this is different to how it's normally done on a PC: there, the OS clock is sped up or slowed, so that the time can gradually skew towards reality. For a large difference, the time has to be stepped, all in one go, which isn't ideal from an OS perspective (e.g. timed callbacks, etc).
So I can see that more frequent NTP checks might help a little, for GPS, but not a lot.
Note that consumer GPS units (e.g. automotive, handheld) do not use NTP at all, nor do they have expensive hardware clocks. So I'm not at all convinced why NTP is "required" on Android GPS, unless it's because most phones default to getting the time from the mobile network, which can be *minutes* off.
Finally, sadly, none of the above even remotely explains why our SGS phones have a reputation for (or in fact "are") worse at GPS than other similar phones...
Edit: meant to add: the latter is perhaps mostly likely explained by a combination of poor antenna design, and sub-optimal GPS implementation in the Broadcom chip (which I believe is the one involved).
I wanna kno why the x10 has such a bad camera
OMG. Counter Strike On Android! http://cs-portable.net/
I wanna kno why the sgs has such a bad camera
Very interesting
ilabs said:
Haha.. Yeah, the assumptions that you hear from time to time!! Makes even standard fiction seem possible!!
When I was talking about the processing, yeah, it was the final processing. But the processing of the GPS signal is only done by the GPS chip, not the processor to which the data is output. Generally GPS satellite signal frequencies are such that they die out very quickly when reflected off or passing through objects and buildings. That's why you get the best signal out under the open sky. The processing of the final received signals is done completely by the GPS chip. A standard GPS chip has only TX/RX serial pins apart from power pins. As soon as you power it up, it starts spitting out GPS data. Externally interfaced processors don't have to calculate anything at all.
Apart from this, everything is spot on!!
---------- Post added at 04:34 PM ---------- Previous post was at 04:27 PM ----------
Generally, when you first start up a GPS unit, its called a cold start coz it takes time. It will take time to scan for satellites and make a database of satellites around. Once it has at least 3 satellites in view, it has enough data to perform a proper triangulation to give your location. As the antennas on a phone are weaker, there's a certain error in a signal, which is why Google maps first shows your estimated location in a blue circle. As you begin to move, more data like heading and stuff is known and your position becomes accurate.
Sometimes even I get a lock in 10 seconds, sometimes not even in half an hour. That happens when there are no strong satellites above. If you always get a lock, I guess you're lucky to have a good number of satellites hovering over your phone like guiding angels..
Click to expand...
Click to collapse
My cold starts take no longer than 10 seconds for a 50-30 meter lock. After it is warmed up, GPS takes a matter of 2 seconds to grab lock @ 10 meters and 5 shortly after.
---------- Post added at 07:41 PM ---------- Previous post was at 07:40 PM ----------
MattyOnXperiaX10 said:
I wanna kno why the sgs has such a bad camera
Click to expand...
Click to collapse
It's not that bad, is it?
I wanted to shoot a video for my YouTube channel using my mums phone. Galaxy s and it wasn't focusing on the camera, video quality was bad (sorry for of topic)
Ask us any Android Related Question @FeraLabsDevs on Twitter or @HowToMen
MrAndroid12 said:
My cold starts take no longer than 10 seconds for a 50-30 meter lock. After it is warmed up, GPS takes a matter of 2 seconds to grab lock @ 10 meters and 5 shortly after.
---------- Post added at 07:41 PM ---------- Previous post was at 07:40 PM ----------
It's not that bad, is it?
Click to expand...
Click to collapse
I get the same start timings, provided there are satellites to lock onto.. Sometimes my cold start time is a little over a minute!! But with no satellite cover, I could be better guided by a rock than my phone..
Sent from my GT-I9000 using XDA