Re: Detecting Horizontal Movement

Originally Posted by
Ioannis
Darrel, i was thinking about the integration of accelerometer and humbly appologize for my doubts. The spikes in the oscilloscope snapshot clicked me.
Ioannis
Well, I had my doubts too, but not anymore after studying Darrel's program
.
There are a couple of things that I wanted to mention. First, for this program to work properly it is assumed that the initial speed of the integration is zero. In other words, it is assumed that when the program is started the speed that we want to measure is zero. Second, referring to Alain's comment
Try this into an elevator ( or an automated train ) and I promise you will stay a moment in it calling for help ... !!!
Alain
You have a point there. So, it is necessary to obtain all the 3-axis acceleration components (X, Y, and Z) and calculate the resultant acceleration vector to obtain a valid result for the speed. There shouldn't be any problems with this program.
Robert
"No one is completely worthless. They can always serve as a bad example."
Anonymous
Bookmarks