Hi
I see the TO DO list mentions.. "HeartRate => Heart rate calculation with ECG."
I can contribute on this .
let me know if this is fine with you.
thanks
PS: In case you already have sample dump files/dataset for Heart rate data.. that should be helpful. Otherwise..
we build our own data using the EXG pill.
Many of the samples are using a 128 sample buffer at 500sps. This does not equate to an exact number of mains electricity cycles. A small alteration to 150 equates to 15 cycles at 60Hz or 18 cycles at 50Hz. Empirically this reduces oscillations from the IIR filtering.
I am currently looking into building a few boards using the latest design in the repository but noticed that no wattage was specified for the resistors, alongside a lack of voltage ratings for the capacitors. Do these matter for signal accuracy or can any components (regardless of their capacitor voltage rating or resistor tolerance/wattage) be used?
I took up the task of simulating the EXG pill in LTspice, and this issue thread will be updated as I make progress.
For now, I have tested the low-pass filter section, albeit with ideal components, with the following results.
The -3dB points are at 0.25Hz and 50Hz.
Further simulation will focus on using the correct part model, and simulating the instrumentation amplifier part of the circuit. One important thing to note is that the selected part, the TL074, has an input common mode limitation, the inputs must be at least 2V (or ideally 4V) above the negative rail.
For any device with LEDs that can show a bar graph it could be useful to provide a crude interference meter to indicate the suitability of that location for ExG measurement.
Hi
First of all., please accept my compliments for this excellent project.
I ran a few simulations for EXG pill schematic. I discovered that the output ranges from 2v to 3v. .. yeah it's not rail to rail..
Feeding this output directly to Arduino (10 bit ADC) , can lead to quite a few bits going unused .
As a solution, may be .., we can add a differential ADC directly onto EXG Pill board.
I have MCP3301 and ATtuy85 in mind.
Cost wise both look similar., though I would personally prefer MCP3301 over ATTiny , because it offer extra 12bit accuracy.
your thoughts?