The main OpenSeizureDetector Android App, that is published on the Android Play Store.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

OpenSeizureDetector - Pebble Version

This seizure detector uses a (Pebble)[] smart watch. The watch has an accelerometer and vibrator motor and a bluetooth radio to talk to another computer. Most importantly, it comes with instructions to write code for it on the manufacturers (web site)[].

So it sounds like an ideal platform for an accelerometer based seizure detector similar to the Arduino based one I made in 2013.

Principle of Operation

It is based on an accelerometer monitoring movement. It uses a fourier transform to extract the frequency spectrum of the movement, and monitors movements in a given frequency band. The idea is that it will detect the rhythmic movements associated with a seizure, but not normal day to day activities.

If the acceleration within the given frequency band is more than a threshod value, it starts a timer. If the acceleration remains above the threshold for a given period, it issues a warning beep. If it remains above the threshold for a longer specified period, the unit alarms (continuous tone rather than beep).


My code is licenced under the GNU Public Licence - for associated libraries please see Credits below.


The following libraries are used:

Logo based on "Star of life2" by Verdy p - Own work. Licensed under Public Domain via Wikimedia Commons.

Other icons crated using

Audio Alarm sounds from freesound,,

Graham Jones, 03 December 2017. (