Information about the displayed Android accelerometer + gyroscopes

The goal of my project is to come up with a tool for measuring and counting when the device moves up and down along the Y axis. Say that the phone sits on a pulley system, and every time it rises a distance of, say, 1 foot, and back, I want count it as 1 repetition. Or even get to the point where the movement is displayed on the chart.

My research so far has pointed me to several conclusions: The accelerometer is noisy, and I need to filter out any data that I get from it. I need to use a gyroscope in combination with an accelerometer. An optional filter is an easier way to smooth data from sensors. I need to get the orientation of the sensor (based on gravity?), Before the sensor starts to “listen” for replays.

So, from my understanding, first I need to navigate. then so that the sensor listens for movement. Then save the data, filter it to get an oscillating pattern, apply it to the peak detection algorithm and save the results.

I refer to this link to get additional information that complements the additional filters: http://web.mit.edu/first/segway/#misc From this post: Combine gyro and accelerometer data

It was very useful in terms of getting an idea on how to assemble it.

Does anyone have code similar to my project? It's hard for me to even get started with code.

Thanks for reading

+3
source share
1 answer

Android API 2.3. Sensor.TYPE_LINEAR_ACCELERATION Sensor.TYPE_ACCELEROMETER:

Sensor.TYPE_ACCELEROMETER = Sensor.TYPE_LINEAR_ACCELERATION + Sensor.TYPE_GRAVITY

(Sensor.TYPE_LINEAR_ACCELERATION ), Android . http://www.youtube.com/watch?v=C7JQ7Rpwn2k&feature=results_main&playnext=1&list=PL29AD66D8C4372129

+3

All Articles