accelerometer counter image

  Accelerometer Counter
      from KEUWLSOFT

Google Play Link Amazon Link
accelerometer counter image

Accelerometer Counter

Count accelerometer events with this app by shaking or rotating your device. The accelerometer sensor is continually monitored and when the detection level is crossed, the counter is increased by one.

• Detect from acceleration in either of the X,Y Z axis, the magnitude of the acceleration, or the angles about the device's Z axis or XY plane.

• Detect on rising or falling past the detection level.

• AC or DC coupling option.

• Adjust measurement speed to one of 12 frequencies between 0.5 Hz and 2 kHz.

• Reduce double counts with optional no-count wait after detection.

• Graph to show accelerometer input in Cartesian and/or spherical coordinates.

• Counts indicated on graph and with optional 'click' sound.

Accelerometer sensors will vary in sampling speed, resolution and accuracy from one device to the next. For indication only.

User Guide

Either the Accelerometer Sensor or Linear Acceleration Sensor can be used to obtain acceleration values as selected in the settings.

Detect from either of the X,Y,Z axis, the magnitude of the acceleration (R), or the angles of the acceleration about the device's Z axis (φ) or XY plane (θ).

The x-Axis is along the width of the counter in the direction from left to right.

The y-Axis is along the height of the counter in the direction from bottom to top.

The z-Axis is out of the plane of the device towards the viewer.

The origin will be where the accelerometer sensor is located inside your device.

When the Accelerometer Sensor is selected, θ gives an indication of the inclination of the device, going from 0 degrees when flat, 90 degrees when vertical, and 180 degrees when upside down flat on the table. If the device is held vertical in front of you and rotated whilst keeping the screen in full view, φ will show the rotation (0 to 360°). When the Linear Acceleration Sensor is selected, θ and φ are less usefull.

R is the magnitude of the measured acceleration. The effect of gravity on R is the same in all directions such that using R will be better for detecting acceleration independent of device rotation when using the Accelerometer sensor.

The zero button resets the counter and clears the graph.

The pause button pauses measurement until it is pressed again.

Long tapping on the counter value allows its value to be copied to the clipboard.

Note that accelerometer sensors will vary in sampling speed, resolution and accuracy from one device to the next. Therefore this app is for indication only.


The speed arrows allow the measurement frequency to be changed between 12 preset values (0.5 Hz, 1 Hz, 2 Hz, 5 Hz, 10 Hz, 20 Hz, 50 Hz, 100 Hz, 200 Hz, 500 Hz, 1 kHz and 2 kHz).


AC coupling applies a high pass filter to the raw XYZ data, thus removing its DC component, which in the case of the accelerometer, will mostly be the influence of gravity.

Accelerometer and Linear Acceleration Sensors

The Accelerometer Sensor generally returns the raw measured acceleration values from the hardware accelerometer sensor in your device. These values will include the effect of gravity.

The Linear Acceleration Sensor is usually software based, removing the effect of gravity using a combination of software algorithms and data from other sensors in the device.

Count Detection

X, Y, Z, R, θ, φ - Choose which parameter to trigger counts from.

Level – To detect a count event, the measured acceleration/angle must cross the count detection level given in this section and shown on the graph with an orange line. Use the arrows to adjust the level or enter a value by tapping the edit button.

No re-count distance – To avoid signals being detected to close together, a wait can be added so that another count will not be registered until after the wait period has passed.

Direction - Select whether to detect counts either when the signal rises from below to above the detection level, or falls from above to below the the detection level.

count detection settings
Count Detection Settings


The graph shows the change in acceleration/angle versus time. It is auto scaling by default and scrolls once filled. If auto scale is turned off in the settings, then the scale can be manually set by panning or pinching on the graph. If the count detection level is within the auto scaled range, it is shown by an orange line. When the signal crosses this line in the right direction, a count is registered and a red circle appears. A subsequent darker line follows where another count event cannot be registered as determined by the detection settings. After which the trace returns to the brighter colour indicating that another count will be registered once the input level once again crosses the count detection level.

There are up to 6 traces shown on the graph corresponding to the 6 coordinates (X,Y, Z, R, θ, φ), and they can be turned on of off at the top of the graph by tapping on the corresponding character. If the detection unit is changed, its trace automatically becomes visible on the graph and cannot be turned off until the detection unit is again changed.

When auto scale is off, or the detection is paused, the graph can be manually scaled. A single touch allows the graph y axis scale to be moved up or down, or in the case of the x-axis, pan back to see more recent data. A double touch, i.e. pinching on the graph can change the scales of either axis. Since, the graph is small, using fingers on opposite hands can make this task much easier.


Clicking the cogs button at the top left of the screen brings up a settings menu:

Sensor – Select whether to use the Accelerometer Sensor, or the Linear Acceleration Sensor. Sensor will be grayed out if it is not detected on the device.

Acceleration Units – Acceleration can be show in either in SI units of m/s2, or units of g.

Auto scale graph Y-Axis - The Y-Axis of the graph will be auto scaled when not paused. Otherwise panning or pinching on the graph can change the axis scales.

Show acceleration values above graph – The latest accelerometer values are shown above the graph. Uncheck this option to hide them and make more space for the graph.

Smooth Accelerometer data - Smooths the accelerometer input a little so that it will be a little less noisy.

Stay awake – Check this option to stop the device from sleeping.

Sound On – Button presses and counts will make a click sound if this is enabled.

Beep when count detected – If both the sound and this option are on, then a 'click' sound will be played every time a new count is detected.

Reset to defaults – Resets all preferences back to their default values and zeros the counter.

Edit counter value – Use this if you need to adjust the counter value.

Edit detection values – You can also edit the detection values here, typing in the values rather than using the arrow buttons.