PDA

View Full Version : [APP]Water-level/spirit-level


fxxxxxx
11th July 2008, 10:21 AM
Current version is SpiritLevel_0.9.1.zip http://forum.xda-developers.com/attachment.php?attachmentid=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

TML1504
11th July 2008, 10:39 AM
works very well, thx!

tomchap
11th July 2008, 10:40 AM
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!

timn2087
11th July 2008, 11:38 AM
Great app, but what if the g-sensor is not completely accurate?

as in this thread
http://forum.xda-developers.com/showthread.php?t=405691&highlight=sensor

fxxxxxx
11th July 2008, 12:14 PM
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.

menkul
11th July 2008, 12:29 PM
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

teddyen66
11th July 2008, 01:00 PM
GREAT app ;-)
And even better if a calibration option is added.
This would help alot of people :-)

foegie
11th July 2008, 01:13 PM
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

fxxxxxx
11th July 2008, 01:25 PM
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.

TML1504
11th July 2008, 01:33 PM
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?

fxxxxxx
11th July 2008, 01:37 PM
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.

ykat
11th July 2008, 01:48 PM
cool app :-)

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?

I have the same experience regarding the switching values.

TML1504
11th July 2008, 01:51 PM
Keep in mind, that 358 ° is only 2° from 0 ° away.
yop, thats clear!
at least i hope so...:D

if not i would have to return my degree in mechanical engineering ;)

horstborsch
11th July 2008, 02:09 PM
if not i would have to return my degree in mechanical engineering ;)

me too ;)

sorry for OT

kangyit
11th July 2008, 02:18 PM
nice software:)

teddyen66
11th July 2008, 02:21 PM
cool app :-)



I have the same experience regarding the switching values.

Me 2.............

fuorionda
11th July 2008, 02:34 PM
X: 353
Y: 8
X Tilt:96
Y Tilt: 136
Z Tilt: -899

:(

R. DevilR
11th July 2008, 03:10 PM
X: 0
Y: 2
X Tilt: 0 (+/- 5)
Y Tilt: 37 (+/-2)
Z Tilt: -770 (+/-15)

Not so bad ^_^

And, as Diamond back cover isn't really flat, I tried watch results when the face of the Diamond was on my desk... hum... not transparent huhu. So I launched Resco Screen Capture (comes with Resco Photo Viewer) and take the screen after 10sec (I made 5 test)

Results :
X: 180 (only 1 time with 179)
Y: 179 (1° better :D)... and one time : 180°
X Tilt:0 (each time)
Y Tilt : ~8 (different values : 18, 18, 8, 8, 3)
Z Value : ~1200 (different values : 1206, 1206, 1201, 1190, 1172)

fxxxxxx
11th July 2008, 04:41 PM
Calibration bug fixed, new version in post #1

dejant_9
11th July 2008, 09:46 PM
yess! very good, now it's a real tool for my job. But i've question : the calibrating function is very important for the diamonds missaligned. But can you add an option for saving data after calibrating? it isn't possible to calibrate in any situation and it can be fun to have a single calibration a the first start of spirit-level... thanks by advance and sorry for my bad english :D

Blob8me
11th July 2008, 11:40 PM
X: 352
Y: 8
X Tilt:97
Y Tilt: 134
Z Tilt: -850

Cool App. :)

akito
11th July 2008, 11:42 PM
uncalibrated on the flat back (cover taken off)

x=0 / 1
y=0 / 1 changes between 0 / 1 about every second
x tilt = -39
y tilt = 10
z tilt = -908

not too bad neither i think

2395
12th July 2008, 03:38 AM
Brilliant, thank you for you fantastic and hard work...very much appreciated.

Regards

fxxxxxx
12th July 2008, 10:03 AM
The possibility to save the calibration for this app only will come soon. I will just save the data in a file, so that the registry wont get filled with this.

heartwork
12th July 2008, 10:44 AM
x: 0°
y: 4°
x tilt: 0
y tilt: 76
z tilt: -908

confirming my teeter-experiences of a not quite even sensor. a global calibration-tool would be sooooo awesome!

timn2087
12th July 2008, 12:58 PM
The possibility to save the calibration for this app only will come soon. I will just save the data in a file, so that the registry wont get filled with this.

great work! can we donate??

plasticplanet
12th July 2008, 01:18 PM
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

hey..tried to load the program..soon as i tried opening it..im told it has encountered a problem and needs to close...wont go any further

fxxxxxx
12th July 2008, 01:40 PM
But you are using a touch diamond? Do you have any problems playing teeter?

Changed the app, so that it should not crash anymore, but give a message, if there is a problem with reading the g-sensor data.

Download SpiritLevel_0.9.1.zip form post #1 and please post the values which should occur in a popup if an error occurs.

fxxxxxx
12th July 2008, 01:43 PM
great work! can we donate??

You are welcome to, well, but I don't use paypal... any other options...?

dejant_9
12th July 2008, 01:47 PM
I think you should create a paypal account. It's free and many users like me are interested for making a donation ;)

fxxxxxx
12th July 2008, 08:50 PM
hey..tried to load the program..soon as i tried opening it..im told it has encountered a problem and needs to close...wont go any further

Did the new version work for you? If not, what numbers were shown in teh message box before closing the app?

fxxxxxx
12th July 2008, 08:57 PM
I think you should create a paypal account. It's free and many users like me are interested for making a donation ;)

I would be happy if you donate money here instead of donating to me http://www.unicefusa.org/donate/other-ways-to-give/paypal.html

bairas
13th July 2008, 08:52 AM
Excellent program , no need to install anything , very light.
Now, if we could save the calibration it would be above excellent!!!
Many thanks and very nice of you the UNISEF donation

Netsnoop
14th July 2008, 01:18 PM
Look at this... http://www.pocketkai.net/asp/details.aspx?434 but it´s no Freeware.

kultus
29th July 2008, 08:28 PM
x: 0°- 359°
y: 0°- 359°
x tilt: 1- -15
y tilt: 2- -6
z tilt: -1000- -1019

ewx
30th July 2008, 06:33 PM
very nice app! but why didn't you use a pic of a water level like this:
http://www.feinewerkzeuge.de/L309618a.jpg
or this http://www.feinewerkzeuge.de/w312130.jpg
??

at least it must be only a pic of a bubble with its center in the intersection of the existing mesures...

maybe in further versions??

Thanks and greetings,
enno
/edit: sorry, just saw bubblelevel... :-)

fxxxxxx
6th August 2008, 04:48 PM
very nice app! but why didn't you use a pic of a water level like this:
http://www.feinewerkzeuge.de/L309618a.jpg
or this http://www.feinewerkzeuge.de/w312130.jpg
??

at least it must be only a pic of a bubble with its center in the intersection of the existing mesures...

maybe in further versions??

Thanks and greetings,
enno
/edit: sorry, just saw bubblelevel... :-)


well, I stick to the 'keep it simple' principle and do not want to add any other graphics to it.

mommono
14th August 2008, 08:40 PM
Work very well, thank You!!

maximo_lider
23rd August 2008, 02:25 PM
thanks :D:D

DarkRay_
7th September 2008, 05:41 PM
the screenshot

pranavd1980
12th September 2008, 03:28 PM
Current version is SpiritLevel_0.9.1.zip http://forum.xda-developers.com/attachment.php?attachmentid=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

Stupid Question...But how to Install this to My Diamond???

Bicalho
22nd September 2008, 03:14 AM
It's only an exe file. Extract it and transfer to you device. Vavigate to it with file explorer and click on it to run. If you want, you can use Resco file explorer or Total Commander to dreate a shortcut for the exe file in programs (start menu).

IzzNoGood
6th December 2008, 11:19 PM
I would be happy if you donate money here instead of donating to me http://www.unicefusa.org/donate/other-ways-to-give/paypal.html

Very nice app. And the donation for unicef is on itīs way.

sjoerd1985
5th April 2009, 05:56 PM
Everytime I try to download a .exe file, it doesn't rum on my HTC Diamond Touch... does anyone else have this problem or can anyone help me? Also I can't run Gmote because the phone says I have an older version of the .net compact framework, but I have the newest version...

mahender
24th April 2009, 12:45 AM
hi there i have jusr downloaded this and moved the exe file with total commander.
is there an icon for this please?

mahender
8th May 2009, 01:36 PM
bump. please.

trix.1210
24th July 2009, 12:25 PM
I coped the .exe to my htc phone but it does not appear on the phone and wont run on my pc either.. Any help appreciated thanks!