| "Danger, Will Robinson!" |
|---|
|
Mobile sensor APIs (available in the Sensor plug-in for S60 SDK [1]) allow us to get the data from the embedded sensors.
That 3D accelerometer inside N95 , N93i or N82 is from STMicroelectronics (type LIS302DL). The European chip maker STMicroelectronics (STM)has also supplied the motion-control chip for the Nintendo Wii console's controller. This chip is built around a technology known as Micro Electro-Mechanical Systems (MEMS). Essentially chips with tiny moving parts like gears.
More information about it can be found in the public spec from ST web site http://www.st.com/stonline/products/families/sensors/accelerometers.htm
Contents |
S60 5th edition saw a introduction of new Sensor Framework which has new APIs that offer more versatility and extendability as well as new possibilities with sensor data formats and usage schenarios. This Framework has been backported to S60 3rd FP2 edition and also to E66 (S60 3rd FP1).
Sensor Framework Sensors can also be accessed via Platform Services in S60 5th Edition devices.
Sensor FW is not backwards compatible with Sensor API. Sensor API is not backwards compatible with R&D Plugin. Therefore you have to be careful to select correct sensor interface depending on your target hardware.
Sensor FW for S60 5th Ed and 3rd FP2 (and E66 3rd Ed FP1).
Sensor API for S60 3rd Ed and 3rd Ed FP1.
>Note that with N95 you can only get one sensor and it gives only 4 different values (0/90/180/270), whereas with 5500 you get lot more information as well as there is tap sensor included with 5500.
SensorAPI example used 'out-of the-box' give you the values on the 3 axis not limited to 4 values.
Note however the SensorAPI example used with N95 V 20.0.015 (13/11/07) and the UID 0x303E still give only one axis with 4 values.
| Device | Platform | Sensor API | R&D Plugin | Sensor FW | Platform Services |
|---|---|---|---|---|---|
| N95 firmware < 20.0.015 | 3rd Ed FP1 | Tilt only | v | ||
| N95 firmware >= 20.0.015 [0x303E] | 3rd Ed FP1 | Tilt only | v | ||
| N95 firmware >= 20.0.015 [0x10273024] | 3rd Ed FP1 | v | v | ||
| N95 8GB | 3rd Ed FP1 | v | v | ||
| N93i firmware < 20.0.084 | 3rd Ed | ? | v | ||
| N93i firmware >= 20.0.084 | 3rd Ed | v | v | ||
| N82 | 3rd Ed FP1 | v | v | ||
| 6210 Navigator | 3rd Ed FP2 | acc+ magnetometer. | |||
| N79 | 3rd Ed FP2 | ? | |||
| N85 | 3rd Ed FP2 | ? | |||
| N96 | 3rd Ed FP2 | ? | |||
| E66 | 3rd Ed FP1 | acc. | |||
| 5800 ExpressMusic | 5th Ed | acc. | acc. | ||
| N97 | 5th Ed | acc. | acc. | ||
| 5500 | 3rd Ed | v | |
Several developers have announced applications that make use of 5500 , N95,N93i or N82's sensors using either the Sensor API (previouly used with only 5500) or the middleware released by the Nokia Research Center (NRC). Here are the ones known at this time: