Can I use smartphone accelerometer data as a weigh

2019-12-16 20:57发布

Is it possible to use the raw accelerometer data from a smartphone as a weighing scale? So, by placing an object on the screen, the app would weigh the object and the weight displayed on the screen.

If it is not possible, could some other function of the smartphone estimate the weight of an object?

3条回答
ら.Afraid
2楼-- · 2019-12-16 21:07

On phones with styluses such as the Galaxy Note 2, you could use the so called S-pen's pressure sensitivity to measure weight. But this would require creating some kind of mini tripod or some such device to house the stylus. Theoretically you could measure to within 1024 levels of precision since they say they have 1024 levels of pressure sensitivity on the S-Pen (as opposed to 256 on the Note 1's S-Pen).

查看更多
我只想做你的唯一
3楼-- · 2019-12-16 21:19

No. Acceleration can be used to deduce the mass of an object, but it requires a special setup such as the Atwood Machine. The Atwood machine traditionally relies on timing to work out the relative mass of the two objects, but you could do it with just the accelerometer instead.

查看更多
趁早两清
4楼-- · 2019-12-16 21:26

It can be derived from the physics formula for mass, m = F/a, (mass = force / acceleration). So you can get acceleration from a smartphone, but you'd have to have a constant F, which would require you to do some engineering to provide a constant amount of force. If you're relying on users to provide this force, you'll run into issues of the force applied not being consistent (without the aid of some standardized hardware).

Don't forget mass and weight are different, but once you have the mass you can easily get the weight.

查看更多
登录 后发表回答