Oleh
Oleh

Reputation: 71

Accelerometer and sensorevent

I seem to be really bad at physics ( I don't understand how do an Accelerometer work...

How Sensor Event

The documantation says

When the device lies flat on a table, the acceleration value is +9.81, which correspond to the acceleration of the device (0 m/s^2) minus the force of gravity (-9.81 m/s^2).

But its velocity is stable and equals 0...Then the acceleration is zero.

Upvotes: 0

Views: 59

Answers (1)

Gabe Sechan
Gabe Sechan

Reputation: 93708

First off, 0 velocity doesn't mean 0 acceleration. Acceleration is the first derivative of velocity- its the change in velocity. So an item that hits a wall has 0 velocity (the wall stops it) but can have a large acceleration (from its speed to 0).

9.8m/s^2 of acceleration (approxiamtely, depending on elevation and sensor noise) is correct- 9.8 is the force of gravity pulling you to the center of the earth. Everything on this planet experiences 9.8m/s^2 constantly downwards to the center of the earth. But we have 0 velocity downwards because the planet is solid and stops us.

Upvotes: 1

Related Questions