Coder Social home page Coder Social logo

heartrate's People

Contributors

danislav avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

saurabh2885

heartrate's Issues

Broken link to USB heart rate monitor

This is not related to the code, but I've been trying to find an appropriate heart rate monitor with a usb interface with no luck. Is there any chance you can find the one you used initially and provide a link? would be greatly appreciated.

Porting to Pydroid

Congratulations. This code works for Windows.
I'm wondering, how hard it would be to port it to Pydroid (for Android)?
What could be used in place of calls to msvcrt and pywinusb.hid?

HRM2101

Dear Danishlav,

I know this is not the right forum. However, I have bought the HRM USB device and did not got the CD with the software. If you still have HRM2101.exe can you please send me the same. Because that device is of no use for me without the software.

Thanks

Columns 5 and 6 theory

What about a 24 bit ADC inside the box?

Maybe the 24 bits of the output corresponds to the 3 bytes of the columns:

MSB | | LSB
byte 2 | byte 1 | byte 0
column 4 | column 5 | column 6

This could explain why the values of columns 5 and 6 are changing faster.

You can try the hypothesis using the struct library.
https://docs.python.org/2/library/struct.html

Something like this:

from struct import *
#reorder the bytes in little endian
buffer=struct.pack ('BBBB',data[5], data[4], data[3], 0x00)
#convert 3 bytes to unsigned int
ADCvalue=struct.unpack ('I', buffer)

Then graph all the values.
http://i01.i.aliimg.com/img/pb/681/397/670/670397681_909.jpg

Traceback (most recent call last)

Hi,

i get this error when i run the script:

Traceback (most recent call last): File "hrm.py", line 178, in <module> raw_test() File "hrm.py", line 141, in raw_test if found_option: UnboundLocalError: local variable 'found_option' referenced before assignment

Any ideas what might be wrong?

Running Python 6.3.4 and installed pywinusb with pip.

Regards.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.