Your can test sensors in your smartphone.
Supported sensors:
- Accelerometer
- Light sensor
- Proximity sensor
- Magnetometer
- Gyroscope
- Barometer (pressure sensor)
- Compass
If sensor registered in system, it will be have green indicator, otherwise it will be red.
If sensor not report any data, it will be with label "no data" on sensor test screen. Than most situations it means that devices doesn't have it type of sensor, for other case it not working.
Showed total available sensors count. When press to it opened list of the sensors. You can test all of them with graph view.
Also useful for developers, who build custom kernels.
Details:
---------------
Accelerometer
- measures acceleration along three axes x, y, z; units measurement: m/s^2
When oriented along the axis, the normal value is equal to the gravitational acceleration (g = ~ 9.8 m/s^2).
With the horizontal position of the device, the values along the axes: z = ~ 9.8 m/s^2, x = 0, y = 0).
Practice:
Used to automatically change the orientation of the screen when you rotate the device, in games, etc.
Description of test:
Test football. When the device is tilted, the ball should move in the direction of inclination. Try to score the ball into the goal.
---------------
Light sensor
- measures illumination; units measurements: lux.
Practice:
Used to automatically adjust the brightness (auto brightness)
Description of test:
Test with lamp. When increasing the illumination, the glow around the lamp changes from white to bright yellow.
Move device to the light or, on the contrary, go into a dark room.
Approximate typical values: room - 150 lux, office - 300 lux, sunny day - 10,000 lux and above.
---------------
Proximity sensor
- measures the distance between the device and the object; units measurement: cm.
On many devices, available only two values are available: “far” and “close”.
Practice:
Used to turn off the screen when you call by phone.
Description of test:
Test with lamp. Close the sensor by hand, the light goes out, open - light up.
---------------
Magnetometer
- measures the magnetic field readings in three axes. The resulting value is calculated based on them; units measure: mT
Practice:
For programs like compass.
Description of test:
Scale with level, which showing the current value. Move device close to a metal object, the value should increase.
---------------
Gyroscope
- measures the speed of rotation of the device around the three axes x, y, z; units measurement: rad/s
Practice:
Used in various multimedia programs. For example, in a camera app to create panoramas.
Description of test:
Shows a graph of the speed of rotation along the x, y, z axes. When stationary, values tend to 0.
---------------
Barometer (pressure sensor)
- measures atmospheric pressure; units measuring: mbar or mm Hg. (switch in settings)
Description of test:
Scale with level, which showing the current value of pressure.
Normal atmospheric pressure:
100 kPa = 1000 mbar = ~ 750 mm Hg.
您可以在智能手机中测试传感器。
支持传感器:
- 加速度计
- 光传感器
- 接近传感器
- 磁力计
- 陀螺仪
- 气压计(压力传感器)
- 指南针
如果传感器在系统中注册,则会有绿色指示灯,否则为红色。
如果传感器未报告任何数据,则传感器测试屏幕上将显示“无数据”标签。与大多数情况相比,它意味着设备没有传感器类型,对于其他情况它不起作用。
显示总可用传感器数。按下它打开传感器列表。您可以使用图表视图测试所有这些。
对于构建自定义内核的开发人员也很有用。
细节:
---------------
加速度计
- 测量沿三个轴x,y,z的加速度;单位测量:m / s ^ 2
当沿轴定向时,法线值等于重力加速度(g = ~9.8 m / s ^ 2)。
对于设备的水平位置,沿轴的值:z = ~9.8 m / s ^ 2,x = 0,y = 0)。
实践:
用于在旋转设备,游戏等时自动更改屏幕方向。
测试说明:
测试足球。当装置倾斜时,球应沿倾斜方向移动。尝试将球打进球门。
---------------
光传感器
- 测量照明;单位测量:勒克斯。
实践:
用于自动调节亮度(自动亮度)
测试说明:
用灯测试。当增加照明时,灯周围的发光从白色变为亮黄色。
将设备移到灯光下,或者相反,进入黑暗的房间。
近似典型值:房间 - 150勒克斯,办公室 - 300勒克斯,晴天 - 10,000勒克斯及以上。
---------------
接近传感器
- 测量设备和物体之间的距离;单位测量:厘米。
在许多设备上,只有两个值可用:“远”和“关闭”。
实践:
用于通过电话呼叫时关闭屏幕。
测试说明:
用灯测试。用手关闭传感器,灯熄灭,打开 - 亮起。
---------------
磁力仪
- 测量三个轴的磁场读数。结果值是根据它们计算的;单位测量:mT
实践:
对于指南针等程序。
测试说明:
用水平缩放,显示当前值。将设备移近金属物体,该值应该增加。
---------------
陀螺仪
- 测量设备围绕三个轴x,y,z的旋转速度;单位测量:rad / s
实践:
用于各种多媒体程序。例如,在相机应用中创建全景图。
测试说明:
显示沿x,y,z轴的旋转速度图。静止时,值趋于0。
---------------
晴雨表(压力传感器)
- 测量大气压力;单位测量:mbar或mm Hg。 (切换设置)
测试说明:
用水平比例,显示当前的压力值。
正常大气压力:
100kPa = 1000毫巴= ~750毫米汞柱。