OpenSeizureDetector - Pebble Version
This seizure detector uses a (Pebble)[http://getpebble.com] 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)[http://developer.getpebble.com].
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).
Licence
My code is licenced under the GNU Public Licence - for associated libraries please see Credits below.
Credits
The following libraries are used:
- (SYLT-FFT)[https://github.com/stg/SYLT-FFT] by D. Taylor.
- (NanoHTTPD)[https://github.com/NanoHttpd/nanohttpd]
- (jQuery)[http://jquery.org]
- (jBeep)[http://www.ultraduz.com.br]
- (Chartjs)[http://www.chartjs.org]
- (MPAndroidChart)[https://github.com/PhilJay/MPAndroidChart]
Logo based on "Star of life2" by Verdy p - Own work. Licensed under Public Domain via Wikimedia Commons.
Other icons crated using http://romannurik.github.io/AndroidAssetStudio.
Audio Alarm sounds from freesound https://freesound.org/people/coltonmanz/sounds/381382/, https://freesound.org/people/NoiseCollector/sounds/4270/, https://freesound.org/people/pistak23/sounds/271632/
Graham Jones, 03 December 2017. (grahamjones139+sd@gmail.com)