gyroscope counter image

  Gyroscope Counter
      from KEUWLSOFT

Google Play Link Amazon Link
gyroscope counter image

Gyroscope Counter

In this app, the gyroscope sensor in your device is continually monitored and when the detection level is crossed, the counter is increased by one.

The Gyroscope measures the rate of rotation about the devices X,Y and Z directions. Detect counts from either of the axis or from the magnitude.

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

• Detect on rising or falling past the detection level.

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

• Graph to show angular velocity values.

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

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

User Guide

Detect counts from the angular velocity about the X, Y or Z directions, or from their magnitude, |ω|.

The x-Axis is along the width of the counter in the direction from left to right. Rotating clockwise about the axis (assuming eye at origin and looking along positive axis direction) results in a positive angular velocity. For example rotating the device from face up flat on the table to upright will result in a positive angular velocity about the x axis whilst its moving.

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 gyroscope sensor is located inside your device.

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 gyroscope 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).


Select between AC and DC coupling. AC coupling applies a high pass filter to the raw XYZ data, thus removing its DC component. If there is significant drift or you are in a rotating frame of reference, AC coupling might be useful, otherwise DC coupling is probably the better choice.

Count Detection

ωx, ωy, ωz, |ω| - Choose which parameter to trigger counts from.

Level – To detect a count event, the measured angular velocity 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 gyroscope readings 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 4 traces shown on the graph corresponding to ωxy, ωz and |ω|. They can be turned on of off at the top of the graph by tapping on the corresponding characters. 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:

Angular Velocity Units – The angular velocity can be shown in either radians per second, degrees per second, revolutions per second (RPS) or revolutions per minute (RPM).

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 angular velocity values above graph – The latest angular velocity values can be shown above the graph if this option is checked.

Smooth sensor data - Smooths the 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.