fg1 / BLEHeartRateLogger

Bluetooth Low-Energy Heart Rate Monitor data logging in Python
Other
127 stars 48 forks source link

How can this code be modified to collect speed and cadence from a foot pod? #16

Closed PeterGamma closed 3 years ago

PeterGamma commented 3 years ago

So that it can be used as the Matlab example «Collect Data from Fitness Monitoring Devices»:

https://ch.mathworks.com/help/matlab/import_export/collect-data-from-fitness-monitoring-devices.html

a BLE heart rate sensor combined with a BLE foot pod? Then whe would almost be there for a open source Linux sports watch:

https://petergamma.org/page-2/

I am searching since a long time for these components:

https://github.com/PeterGamma/Live-stream-of-ANT-plus-and-BLE-sensor-data

This approach here looks very promising.

fg1 commented 3 years ago

The code connects to a BLE device using gatttool and reads the heart-rate bluetooth characteristic. You can modify the characteristic in the code to collect other information (such as speed or cadence) if necessary.