Emg filter function script for a uni project. Made by Teun van der Molen
Dependencies: HIDScope MODSERIAL mbed
Fork of frdm_EMG by
History
latest version. Cleaned up some documentation not much else;
2015-10-19, by teunman [Mon, 19 Oct 2015 09:58:49 +0000] rev 11
latest version. Cleaned up some documentation not much else;
added a 50Hz notch filter and did a clean up. Also added more documentation and did some rubber ducking
2015-09-25, by teunman [Fri, 25 Sep 2015 08:53:19 +0000] rev 10
added a 50Hz notch filter and did a clean up. Also added more documentation and did some rubber ducking
same as last but with working calibration (fully flex muscle for 2 seconds and press button)
2015-09-23, by teunman [Wed, 23 Sep 2015 15:53:10 +0000] rev 9
same as last but with working calibration (fully flex muscle for 2 seconds and press button)
signal filter working, included calibration function. which sets a value by taking average over some time and dividing by a counter. The light blinks if the measured value is above the calibartion value.
2015-09-23, by teunman [Wed, 23 Sep 2015 14:51:13 +0000] rev 8
signal filter working, included calibration function. which sets a value by taking average over some time and dividing by a counter. The light blinks if the measured value is above the calibartion value.
two filters with two rectifiers. Works pretty good;
2015-09-23, by teunman [Wed, 23 Sep 2015 13:05:49 +0000] rev 7
two filters with two rectifiers. Works pretty good;
Two filters (variable Fc) and rectifier. EMG looks doable. Light wil turn on above a certain value (worked one time, but not after then);
2015-09-23, by teunman [Wed, 23 Sep 2015 12:17:14 +0000] rev 6
Two filters (variable Fc) and rectifier. EMG looks doable. Light wil turn on above a certain value (worked one time, but not after then);
double filter (many types possible). Sending three signals to HIDscope (original, one filter, two filter);
2015-09-21, by teunman [Mon, 21 Sep 2015 13:38:06 +0000] rev 5
double filter (many types possible). Sending three signals to HIDscope (original, one filter, two filter);
low-pass (fc = 5hz) and high pass (fc = 1 hz) filter in cascade working. Using A0 to read signal and sending to HIDscopen;
2015-09-21, by teunman [Mon, 21 Sep 2015 09:57:12 +0000] rev 4
low-pass (fc = 5hz) and high pass (fc = 1 hz) filter in cascade working. Using A0 to read signal and sending to HIDscopen;
Working low-pass filter. only one filter in place. Takes A0 as input and sends a filterd signal to HIDscope; ;
2015-09-21, by teunman [Mon, 21 Sep 2015 09:37:43 +0000] rev 3
Working low-pass filter. only one filter in place. Takes A0 as input and sends a filterd signal to HIDscope; ;
Testing filters with one wire (DAC0_OUT) is output and (A0) is input. 21 september;
2015-09-21, by teunman [Mon, 21 Sep 2015 08:23:37 +0000] rev 2
Testing filters with one wire (DAC0_OUT) is output and (A0) is input. 21 september;