Emg filter function script for a uni project. Made by Teun van der Molen

Dependencies:   HIDScope MODSERIAL mbed

Fork of frdm_EMG by Teun van der Molen

Changes

RevisionDateWhoCommit message
11:d8dd024f9784 2015-10-19 teunman latest version. Cleaned up some documentation not much else; default tip
10:b11eacb391ea 2015-09-25 teunman added a 50Hz notch filter and did a clean up. Also added more documentation and did some rubber ducking
9:2b9240084724 2015-09-23 teunman same as last but with working calibration (fully flex muscle for 2 seconds and press button)
8:54f0a76d35f4 2015-09-23 teunman 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.
7:43f2f7039841 2015-09-23 teunman two filters with two rectifiers. Works pretty good;
6:4cbf5c66e2fb 2015-09-23 teunman Two filters (variable Fc) and rectifier. EMG looks doable. Light wil turn on above a certain value (worked one time, but not after then);
5:56725d9362ee 2015-09-21 teunman double filter (many types possible). Sending three signals to HIDscope (original, one filter, two filter);
4:1baefd1397d6 2015-09-21 teunman low-pass (fc = 5hz) and high pass (fc = 1 hz) filter in cascade working. Using A0 to read signal and sending to HIDscopen;
3:499c71ca30a0 2015-09-21 teunman Working low-pass filter. only one filter in place. Takes A0 as input and sends a filterd signal to HIDscope; ;
2:ce5ead27b7cc 2015-09-21 teunman Testing filters with one wire (DAC0_OUT) is output and (A0) is input. 21 september;
1:75f61e111ed0 2015-09-18 teunman filter test;
0:674026fdd982 2015-09-18 teunman Working sin wave from analog output to analog input using cable;