FORUMS
Remove All Ads from XDA

[APP]Water-level/spirit-level

14 posts
Thanks Meter: 0
 
By fxxxxxx, Junior Member on 11th July 2008, 09:21 AM
Post Reply Email Thread
Current version is SpiritLevel_0.9.1.zip http://forum.xda-developers.com/atta...chmentid=98776

Now I re-engineered the spirit level app a little bit.
It can now also show the raw X, Y and Z tilt data. Thus, you can easily see how much the g-sensor might need to be calibrated. Just check the option "Show Raw Sensor Data" from the menu.

Calibrating for this app ONLY available in SpiritLevel_SVC0.9.zip
Attached Files
File Type: zip SpiritLevel_SVC.zip - [Click for QR Code] (8.9 KB, 2659 views)
File Type: zip SpiritLevel_SVC0.9.zip - [Click for QR Code] (8.9 KB, 4212 views)
File Type: zip SpiritLevel_0.9.1.zip - [Click for QR Code] (9.1 KB, 28894 views)
 
 
11th July 2008, 09:39 AM |#2  
TML1504's Avatar
Senior Member
Flag Vienna
Thanks Meter: 352
 
More
works very well, thx!
11th July 2008, 09:40 AM |#3  
Senior Member
Thanks Meter: 0
 
More
Great little App, nice one! The trick is using it on a surface that is flat and level to get an accurate reading.

Putting it on my desk at work:

x: 1 degree
y: 7 degree

x Tilt: -19
y Tilt: 117
z Tilt: -879

This keeps changing tho, which would indicate that the surface isnt very level.

Also looking at where the indicators are, it looks slightly off, but not enough to worry me thinks.

Congrats on the useful little app. Cheers!
11th July 2008, 10:38 AM |#4  
timn2087's Avatar
Senior Member
Flag Melbourne
Thanks Meter: 0
 
More
Great app, but what if the g-sensor is not completely accurate?

as in this thread
http://forum.xda-developers.com/show...ghlight=sensor
11th July 2008, 11:14 AM |#5  
OP Junior Member
Thanks Meter: 0
 
More
Well, I could add an option that (somehow) calibrates the g-sensor, but only for this app. E.g. a menu entry "Calibrate" which, then asks you to put it on a perfect spot with 0° on X and Y axis and then maybe to 90 ° on X and Y axis. Maybe it will come - depends on my time. Maybe there is also a registry entry for this for the g-sensor.
11th July 2008, 11:29 AM |#6  
Member
Flag Drensteinfurt
Thanks Meter: 0
 
More
Quote:
Originally Posted by fxxxxxx

Well, I could add an option that (somehow) calibrates the g-sensor, but only for this app. E.g. a menu entry "Calibrate" which, then asks you to put it on a perfect spot with 0° on X and Y axis and then maybe to 90 ° on X and Y axis. Maybe it will come - depends on my time. Maybe there is also a registry entry for this for the g-sensor.


thanks ;)

Menkul
11th July 2008, 12:00 PM |#7  
teddyen66's Avatar
Senior Member
Thanks Meter: 1
 
More
GREAT app ;)
And even better if a calibration option is added.
This would help alot of people :)
11th July 2008, 12:13 PM |#8  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by fxxxxxx

Well, I could add an option that (somehow) calibrates the g-sensor, but only for this app. E.g. a menu entry "Calibrate" which, then asks you to put it on a perfect spot with 0° on X and Y axis and then maybe to 90 ° on X and Y axis. Maybe it will come - depends on my time. Maybe there is also a registry entry for this for the g-sensor.


this would be a great option. Currently the app displays x tilt: 270 when my phone is laying down on my desk. and it would be great if i could calibrate it from this position so that X an Y are back to 0
11th July 2008, 12:25 PM |#9  
OP Junior Member
Thanks Meter: 0
 
More
Ok, there is a new version in post #1. With that version you can calibrate the g-sensor, but ONLY for the spirit-level/water-level application. Currently it has no other effect. I am not sure if there is a way to "calibrate" the g-sensor globally.
11th July 2008, 12:33 PM |#10  
TML1504's Avatar
Senior Member
Flag Vienna
Thanks Meter: 352
 
More
On the table in my office I get:

X: 3-4°
Y: 355-357°
X Tilt: -59
Y Tilt: -59
Z Tilt: 820

But the values are not steady, even if I do not move the device the numbers
are changing about twice a second.

Do others have the same behavior?
11th July 2008, 12:37 PM |#11  
OP Junior Member
Thanks Meter: 0
 
More
Yes, it is the same behavior here.
X: 2-3°
Y: 357-359°
X Tilt: ~ -39
Y Tilt: ~ -19
Z Tilt: ~ -938

Keep in mind, that 358 ° is only 2° from 0 ° away.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes