heart rate monitor code

edited August 2017 in Android Mode

Hello everyone, I want to develop this code

https://github.com/Crespo911/android-heart-rate-monitor-1/tree/master/Processing

but this code was developed for Processing 2.0 and is therefore not compatible with Processing 3.0.

Does anyone have a version of this code for Processin 3.0? Or are there codes to read the heartbeat with Android?

Thanks

Tagged:

Answers

  • edited August 2017

    Have you tested it? The Processing part itself looks like an extremely simple sketch with a dependency on the UDP library. The sketch probably doesn't need to be changed at all -- or very little.

    Is the problem that the UDP library isn't working? What error messages are you getting? If it has been updated for Processing 3.0, you could try dropping the library from the sketch folder and instead loading it from PDE Contributions Manager.

  • @gius===

    i see nothing in your link to get the heart rate: it is only for sending results with udp connection. Normally this kind of app uses a camera for getting and analyzing your finger image (red color is supposed to mean more heart rate) but this class is not present on github, or i have not seen it.

  • Maybe that's why it does not work!

    Thank you jeremydouglass and akenaton!

    there are code in Processing for Android for heart rate?

  • edited August 2017

    If you look outside the Processing sketch in the same repo you will see the Android code for the heart monitor, using the phone camera / flash.

    https://github.com/Crespo911/android-heart-rate-monitor-1

    I believe that the Processing part is receiving udp data from the Android part for display, as explained here:

    https://github.com/Crespo911/android-heart-rate-monitor-1/blob/master/README.md

  • @gius===

    code for that kind of work must be written with android; could be done with processing (and ketai) of course but as for me it is more complicated.

  • edited August 2017

    So the question is, does @gius actually want to port the Android phone monitor-code to Processing -- or just leave the Android phone monitor-code as-is, and just update the Processing PC display code ( if it needs to be updated ).

Sign In or Register to comment.