How to gather data from the heart rate pulse sensor?
Hi,
I'm a newbie to the android and sensor programming. I just get a MetaMotionR board and a Heart Rate Pulse sensor and soldered them together with the following setup:
signal : pin 8 (AIO0)
+ : pin 11 (+3v)
- : pin 9 (AIO1)
Is this setup correct? I've seen the previous tutorials (404 now, and I saw them of the prior web cache) saying that the "negative" of the heart rate pulse sensor should be connected to pin 4 (GND).
Also, is there any sample code or mature project that I can use to log or stream the heart rate pulse sensor? I'm new to android, and it's complicated for me to code it from scratch. I found the Arduino code for the heart rate sensor here:
But I have no idea how to port it into a MetaMotion sample project. Can anyone help?
Thanks,
Carlos
This discussion has been closed.
Comments
May I ask which pin is ANO (AIO 0) and which is ANI (AIO 1)? I assumed that AIO 0 is pin 8 and AIO 1 is pin 9, but when I run a loop like this: