I’m hoping someone has an idea to help me out. This has been wrecking my head for a while now, and I can’t seem to get it right. Keep in mind I have been teaching myself how to use VVVV over the past few month, so I still don’t know that a lot of the nodes even exist yet and could be using things in the wrong way or missing something obvious.
I’m using an ECG sensor (built by bitalino) to get my heart rate. I’m trying to filter out the noise and get a normal looking heartbeat, in a graph for the moment, but I am also using it to control inputs of textures.
I’ve included a screen grab of what the graphs look like when I’m running the bitalino too.
The data coming in from the sensor has a range of 0 - 1023 but it sits around 470 - 530 (or there abouts)
I have mapped for all of these graphs. There is also a conversion to change it into voltage.
Which I have tried to use as well.
ECG [-1.5 mV : 1.5 mV](-1.5 mV : 1.5 mV)
ECGV = (ECGB * Vcc / (2^n - 1) - Vcc / 2) / GECG
ECGmV = ECGV * 1000
If anyone has any ideas at all it would be great. I’m hoping I don’t know about a nice simple way to do get a clean signal and the bpm. At a loss with this one.
heartbeatexample.v4p (69.8 kB)