I have an accelerometer sensor, which obviously measures acceleration along the $x$, $y,$ and $z$ axes.What I would like to do is to obtain the velocity along these axes by using the accelerometer readings. I have thought the following procedure:
Get the accelerometer readings
Filter the data by some kind of filter (Lowpass, moving average etc)
Select a small time interval of the order $\text{Δt} = 0.01\text{sec}$
Use the velocity formula $v = v_0 + a\cdot\Delta t$
Update $v_0$ at each time step by using the previous calculated value $v$
I would really appreciate any thought on how precise this procedure would be or even any suggestion that would improve it. The goal is to obtain the velocity along the $x$, $y$, and $z$ by using the accelerometer data.