I would like to use my Z1 Compact as acceleration sensor for some physics experiments.
To get some info about resolution etc, it would be nice to know which exact sensor is used.
Code:
adb dumpsys sensorservice
only told me it is a "BMA2X2 Accelerometer/Temperature/Double-tap| BOSCH".
The problem is BMA2x2 seems to be a generic driver for several different Bosch sensors.
Any further helpful commands / ideas?
I had some further hope finding something in "dmesg" which has not been the case.
Thanks in advance
Related
Hi,
where could i find the API/SDK for the accelerometer, because i would develope an an application (.net cf) which should use the g-sensor.
no ideas?
Take a look at this application, maybe you can contact the author. I don't know if any API/SDK is used, but it is the first program I have seen wich uses the accelerometer:
http://forum.xda-developers.com/showthread.php?t=403939
Thanks, but he don't want to tell us, how they did it.
The authors of GSen won't tell anybody how he did it.
It's a commercial software house... someday they will surely try to sell that utility or develope some commercial applications and games using Diamond's accellerometer.
I presume they reverse engineered Teeter or Opera to find out how it works.
At moment, we keep the infos for several reasons.
GSen is " freeware ", no need to change the status.
CharlyV said:
At moment, we keep the infos for several reasons.
GSen is " freeware ", no need to change the status.
Click to expand...
Click to collapse
Great software ya got there.
Just a feedback.. it's a real pain to edit the config file.
The save function on the device doesnt work. It's like the same function as "restore to default". I had a number of apps there and all gone when I clicked saved. Undo doesnt seem to work either.
Looks like I gotta do the hard way.. check for the window names and edit the config file on PC manually.
Checkout OnDeviceTilt...
After a lot of searching and disassembling manila.exe, etc. i figure out, that we have to use "HTCSensorSDK.dll" in Windows-Directory.
There are functions like "HTCSensorOpen", "HTCSensorClose", etc.
The problem is, that I don't know the parameters of these functions, and HTC won't answer on emails.
sushilange said:
After a lot of searching and disassembling manila.exe, etc. i figure out, that we have to use "HTCSensorSDK.dll" in Windows-Directory.
There are functions like "HTCSensorOpen", "HTCSensorClose", etc.
The problem is, that I don't know the parameters of these functions, and HTC won't answer on emails.
Click to expand...
Click to collapse
the HTCSensorSDK is the Light Sensor not the Accelerometer API, you should disasm the "Teeter" game on the Diamond to see what API's its using
HTCSensorSDK is the API for the accelerometer. I attached a debugger to the teeter app and verified it was one of the loaded modules. There were no other relevent DLLs loaded.
Walsheiu is definitely wrong:
http://scottandmichelle.net/scott/comments.html?entry=784
Scottandmichelle.com figured out the function paramters to the G-Sensor API and released the full source code. It is using HTCSensorSDK.dll.
Koush said:
Walsheiu is definitely wrong:
http://scottandmichelle.net/scott/comments.html?entry=784
Scottandmichelle.com figured out the function paramters to the G-Sensor API and released the full source code. It is using HTCSensorSDK.dll.
Click to expand...
Click to collapse
no worries, i stand corrected, i assumed that was only for the Sensor, so now we know.
I have written a managed wrapper that allows you to access the HTC Sensor SDK easily. More information here:
http://blog.enterprisemobile.com/2008/07/using-htc-diamonds-sensor-sdk-from-managed-code/
Koush said:
I have written a managed wrapper that allows you to access the HTC Sensor SDK easily. More information here:
http://blog.enterprisemobile.com/2008/07/using-htc-diamonds-sensor-sdk-from-managed-code/
Click to expand...
Click to collapse
very nice work mate....
Just out of curiosity, which kind of applications - games - tweaks or what so ever can we expect with this accelerometer?
Diamond WII bowling ?
Hi,
i want to use the P3300 for outdoor navigation, but the display is not readable even if it is cloudy! There are display types which are called transflective displays, that are still readable if the sun is shining and the background light is switched off (e.g. http://www.sharpsma.com/Page.aspx/americas/en/42fbcfb5-685b-4c5f-a40f-8b800b6a1124/).
Does anyone know such a display that is compatible with P3300? It has to use the same display controller. Does someone know which display controller is used in P3300?
I found a good disassembly instructions in the following forum:
http://www.modaco.com/content/artemis-love-artemis-modaco-com/260167/disassemble-xda-orbit/
because it seams slightly different for P3300 and XDA Orbit.
Kind regards,
hqqh
hi,
after some internet search I found a page (http://handyersatzteile-versand.de/index1.html) where the following displays are listed as compatible for the p3300:
- Toppoly TD028TTEB1
- Hitachi TX07D05VM0APA
- Sony ACX357AKN8
But in order to check which display controller and which logical/physical interface is used I need a datasheet. But I didn't found one!!!
From Hitachi there is a datasheet for TX07D09XXXX, but I'm not sure what the differences to TX07D05 are.
Any idea?
Regards,
hqqh
Hi
Anyone seen a simple digital compass that uses the GPS and G-Sensor?
I know there are loads of GPS apps that provide a compass and, of course, the HD will need some initial directional input to get a compass bearing. But, after that start-up would it not be possible to provide a compass movement based on the G-Sensor ?
Thanks, D.
You mean that the g-sensor could sense the magnetic field on earth? That would be great but a think its a bit optimistic.
I cant figure out why such advanced devices dont have a digital compass. A map+gps used for walking is almost useless when you dont have a compass, and the gps can only give you a bering at a sertain speed (usually faster than walking)
Noop - that was not what I meant - sorry if not clear.
What I mean is the G-Sensor is able to detect direction of the device. So, once the HD has got some compass bearing (using the GPS after travelling for a while) then the G-Sensor should be able to provide a compass bearing?
The main problem is getting that initial bearing. After than the G-Sensor should allow the HD to keep track of bearings?
my opinion : inside the HD, it's just G sensors (able to "feel" where is the weight of the device pointing, ie "where is the center of the earth").
What you describe could be achieved with (and i would say at least 2, 3 being even better) ACCELEROMETERS, devices able to MEASURE accelerations. THEN it would be able to follow a bearing after giving it an initial one. (what you describe looks actually like the basic function of how airplanes IRS, Inertial Reference Systems, works. Which is a major instrumentation for aircraft navigation, comprising 3 accelerometers ).
My suggestion on a compass was initiated by seeing the funny (but useless!) Diamond Saber - star wars laser sword.
Playing with that more carefully on a flat surface indicates that maybe you're right that the "G Sensor" is not a full 3D accelerometer implementation. Or, maybe the software for this silly but fun light saber is not accessing the rotation details ??
The alternative is just the old watch and sun trick !
Cheesy Dave said:
My suggestion on a compass was initiated by seeing the funny (but useless!) Diamond Saber - star wars laser sword.
Playing with that more carefully on a flat surface indicates that maybe you're right that the "G Sensor" is not a full 3D accelerometer implementation. Or, maybe the software for this silly but fun light saber is not accessing the rotation details ??
The alternative is just the old watch and sun trick !
Click to expand...
Click to collapse
Thinking about this today I realised that the idea is probably not sensible !!
Everytime you switch the phone off when using a "possible compass" then it will need a new bearing. So, best just to stick with the "normal" GPS applications.
I know that the TP2 come with different kind of sensors (ambient light, proximity, g-sensor) and wonder if we could make the most out of them.
There are lot of programs out there which make use of the g-sensor to rotate screen and so on.
What about the ambient light and proximity sensor? I have not come across any programs using them...
When I drive for example, I listen to music using my TP2. I can't really change the tracks since I am driving. I was thinking may be the proximity
sensor could help...
Eg. 1. Waving the hand in front of the sensor would move to the next track.
2. Leaving the hand in front of the sensor after few seconds would pause the music...
These are just simple ideas and I think many of you guys reading this will come with great ideas (even for the light sensor)....
My point for this post is that does anyone have/or can create API's for these sensors (It would be great if they were in .NET compact, would make life easier for developping apps.)
I am sorry for posting this in the ROM section but I think by posting it there, it will attract the attention of the ROM cooks, who I think would have come across these sensors and might have thought of doing something special with them
54 views no reply!?
TouchLockPro
Check out TouchLockPro by ZuinigeRijder - it uses all the sensors of the Touch Pro 1 and 2 and the source code is freely available
Except the proximity sensor - it didn't know it had one...
www.zuinigerijder.com
sensorapi for .net
Thanks for that but the sensor API for .net does not support proximity sensors. Anyone knows how to deal with proximity sensors?
Hi guys I bought my desire z recently, I was wondering if anyone knew which wifi chipset it uses? I did some Googling but couldn't find out.
I wanted to check out if monitor mode is supported or possible for our dz
any ideas?
Thnx
Broadcom bcm4329
Hi,
simple lsmod reveals the chipset is Broadcom bcm4329,
champs from bcmon have some success in the matter of putting it into monitor mode AND injection.
For more info visit:
Code:
bcmon.blogspot.com
or
Code:
code.google.com/p/bcmon/
vhladimir said:
Hi,
simple lsmod reveals the chipset is Broadcom bcm4329,
champs from bcmon have some success in the matter of putting it into monitor mode AND injection.
For more info visit:
Code:
bcmon.blogspot.com
or
Code:
code.google.com/p/bcmon/
Click to expand...
Click to collapse
thanks I'll definitely check that out