I am in need of help with an Mobile ECG project that I am working on for my senior project in college. I am fairly new to the Arduino world, however, I have taken programming classes (C++ & Java), so I have a fairly decent understanding of programming (not an expert my any means). My school recently switched to the Arduino platform for our microcontroller courses (previously taught using the Freescale Tower (Assembly and C languages)), so I have a intermediate level understanding of Arduino programming as well.
Here's what I'm looking to accomplish with the Arduino:
- I will be using an Arduino Due to read an analog voltage from a pulse grip-based ECG circuit. I'm essentially taking the small voltage from the body and amplifying the signal so that it is large enough to be read by an analog input of the Arduino.
I am looking to do some signal processing via the Arduino for digital filtering. I recently installed the Arduino Filter Library from https://github.com/jeroendoggen/Arduino-signal-filtering-library but I don't know how to implement the filters I want to use.
I want to detect the peak voltages from the ECG signal, convert it to beats per minute, and also display that to an LCD
From the beats per minute information, I would like to see if that can be used to determine the # of calories burned?
I am also looking to use another analog input to read the speed of a bicycle using a sensor and output that to a LCD.
I am also wondering if there is a way for the Arduino Due to interface with a sensor that monitors battery charging/discharging?
Lastly, I need to know what the sampling rate of the analog input is and if there is a way to modify it. I've seen the clock speed can be modified in order to adjust the sampling rate, and I've also been told that I can use a timer interrupt to modify the sampling rate also, but I am not sure how to implement these.
I know this is quite a lot of information and coding that is needed however, if there is a certain area listed here that you can provide insight into, I would greatly appreciate it.