Skip to content

to MATLAB, Octave, Python, MQTT, InfluxDB, Grafana. Components which can be used for open source sports devices based on Rasperri Pi, Linux Phones & Linux Watches.

Notifications You must be signed in to change notification settings

PeterGamma/Live-stream-of-ANT-plus-and-BLE-sensor-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 

Repository files navigation

  1. Discussion in the MATLAB community (USB ANT+ stick solution):

https://www.mathworks.com/matlabcentral/answers/142677-capturing-heart-rate-from-usb-ant-dongle-and-chest-strap

  1. Raspberry Pi Ant+ to MQTT-Broker connection (Reto Rölli):

https://www.thisisant.com/forum/viewthread/7360/

Data protection of Reto Rölli Rasperri ANT+

https://infinityflow.ch/datenschutzerklaerung/

  1. Discussion about GARMIN watch - ConnectIQ-Watch-IoT - Microsoft Azure Platform (Dave Lusty):

https://www.eevblog.com/forum/cloud-computing/garmin-watch-connectiq-watch-iot-microsoft-azure-platform/msg2828468/

  1. Live-stream from Garmin watches via ANT+ stick & virtual box (Darren Hague) and other solutions

https://www.eevblog.com/forum/cloud-computing/live-stream-from-garmin-watches-via-ant-stick-virtual-box-(evtl-coud-iot)/

  1. Python script to Convert Garmin FIT Files to CSV (Max Candocia):

https://www.thisisant.com/forum/viewthread/7358/

  1. Linux Pinephone for ANT+ projects (Peter Gamma):

https://www.thisisant.com/forum/viewthread/7372/

  1. Android application A TRAINING TRACKER (open source project, Dr. Ing. Rainer Blind) stores data in .csv format

https://www.thisisant.com/forum/viewthread/7363/

  1. QBIKE ANT+ Cycling Training on Raspberry Pi (Jeffery Clive):

https://www.thisisant.com/forum/viewthread/7371/

  1. Discussion about sensor accuracy of the Polar OH1(5krunners blog)

https://the5krunner.com/2019/04/06/polar-oh1-review-2019/

  1. Matlab and BLE sensors instead of ANT+ sensors?

https://www.mathworks.com/matlabcentral/answers/533393-are-there-specific-ble-heart-rate-sensor-devices-available-which-are-compatible-to-the-example-model?s_tid=prof_contriblnk

  1. Pyloton Open Source Cycling Computer:

https://github.com/PeterGamma/Pyloton-CircuitPython-Cycling-Computer

  1. Alternatives to Pyloton

https://github.com/PeterGamma/Alternatives-to-Pyloton-

  1. BeagleBone Blue, Bitalino, Android for step counting:

https://github.com/PeterGamma/Live-stream-for-step-counting-

  1. Garmin watches can now Broadcast Garmin Optical HR to Apps Like Zwift // ANT & Bluetooth:

[url=https://www.youtube.com/watch?v=vuOcAP_7uec]https://www.youtube.com/watch?v=vuOcAP_7uec[/url]

Matlab supports BLE, but I could not find an example of someone confirming that BLE streaming to Matlab is working:

[url=https://www.mathworks.com/matlabcentral/answers/518074-is-there-an-example-how-to-connect-the-polar-oh1-bluetooth-low-energy-heart-rate-sensor-with-matlab?s_tid=prof_contriblnk]https://www.mathworks.com/matlabcentral/answers/518074-is-there-an-example-how-to-connect-the-polar-oh1-bluetooth-low-energy-heart-rate-sensor-with-matlab?s_tid=prof_contriblnk[/url]

  1. No agreement about a scientifically validated standard for sports watch sensor accuracy with DC Rainmaker and Stephen Thomas:

https://www.dcrainmaker.com/2019/03/polar-oh1-plus-optical-hr-sensor-in-depth-review.html

  1. There is finally a practical example code available in Matlab for BLE heart rate sensor and BLE foot pod:

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

Garmin watches can broadcast sensor data over ANT+, newer Garmin watches can also broadcast sensor data over BLE and should also work with the BLE Matlab example:

https://ch.mathworks.com/matlabcentral/answers/533393-are-there-specific-ble-heart-rate-sensor-devices-available-which-are-compatible-to-the-example-model?s_tid=mlc_ans_email_view#comment_990287

No additional toolboxes are necessary for Bluetooth low energy (ble supported in Matlab since 2019b version):

https://ch.mathworks.com/matlabcentral/answers/561773-how-can-i-communicate-with-a-ble-bluetooth-low-energy-device-in-matlab . .

  1. Ticwatch Pro running Linux for ANT+ and BLE sensors? . .

https://forum.xda-developers.com/smartwatch/other-smartwatches/linux-android-wear-ticwatch-pro-2020-t4166623 . .

22: Creating an ECG Data Stream with Polar device: . .

https://towardsdatascience.com/creating-a-data-stream-with-polar-device-a5c93c9ccc59 . .

This Python project is based on the Polar Android SDK.

. .

23: Polar Sensor Logger with MQTT support for a real-time stream to Matlab, Python, Influx Database, etc.:

. .

https://play.google.com/store/apps/details?id=com.j_ware.polarsensorlogger&gl=CH

. .

Jukka Happonen, Senior Specialist at Polar Electro Oy Research Center already made a very helpful contribution with his Polar Sensor Logger app, which can record many parameters from Polar sensors to .txt files, and can stream sensor data over MQTT to Influx Data Base. The Polar Sensor Logger app seems not to be an offical Polar app, but is really an easy and contemporary solution for sensor data streaming. Thank you very much for your great work, Jukka Happonen.

. .

  1. Garmin watch and sensor streaming?:

. .

Currently the easiest way to stream ANT+ sensor data from GARMIN watches to MATLAB and Python, is to use Polar sensors with the Polar Sensor Logger app, and then stream the sensor data over MQTT to the Influx Database, where it can be vizualized with Grafana. There is a Influx Database client for Matlab and Python for further data processing.

. .

  1. MQTT for Garmin watches ?

. .

Is a Rasperri PI ANT+ script which sends sensor data to an MQTT broker, or an EventHubApp which sends sensor data over the Azure Cloud to Microsoft Power PI the only option Garmin has to offer for live-streaming of sensor data?

. .

https://forums.garmin.com/developer/connect-iq/f/app-ideas/258254/mqtt-support-for-garmin-sensors

. .

Why is the MQTT, Grafana, InfluxDB, InfluxDB client for Matlab and Python not supported by Garmin?

. .

  1. ANT+ sensor logger app which sends sensor data to an MQTT broker?

. .

https://www.thisisant.com/forum/viewthread/7502/

. .

  1. Discussion in the TRAINERROAD forum: ANT+/BTLE to MQTT ?

. .

https://www.trainerroad.com/forum/t/ant-btle-to-mqtt/42937

. .

  1. How to Run MATLAB Code in Octave:

. .

https://itstillworks.com/12562105/how-to-run-matlab-code-in-octave

. .

  1. How to convert MATLAB code to python:

. .

https://www.youtube.com/watch?v=AxeJayy5oLA

. .

  1. Bluetooth Low-Energy Heart Rate Monitor data logging in Python:

. .

https://github.com/fg1/BLEHeartRateLogger

. .

  1. Porting the Adafruit Pyloton open source bike computer to a platform with more features:

. .

https://petergamma.org/read-out-sensor-data-from-the-adafruit-clue-pyloton/

. .

  1. Sensor streaming over IpBike and Livetracking.io

. .

https://petergamma.org/sensor-streaming-over-ipbike-and-livetracking-io/

. .

  1. Linux AsteroidOS sports watch

. .

https://petergamma.org/linux-asteroidos-sports-watch/

. .

  1. Darren Hague PhD, ANT+ Virtual Power Meter (runs on Rasperri PI, Ubuntu, Windows)

. .

Darren Hague developed a project over the holidays to use Python with a Raspberry Pi and ANT+ stick to read bicycle speed and write bicycle power. You should be able to use it as a template to read HR data by reading the ANT+ HR profile spec and adapting the SpeedCadenceSensorRx.py code to suit.

https://github.com/dhague/vpower

. .

  1. Rasperri Pi 400 & Ubuntu, ANT+ & MQTT

. .

https://petergamma.org/rasperri-pi-400-ubuntu-ant-mqtt/

. .

  1. PeloMon: broadcast sensor data to whatever devices you want (Imran S. Haque, PhD.)

. .

https://petergamma.org/pelomon-send-sensor-data-to-a-fitness-tracker-of-your-choice/

. .

  1. How to connect the Raspberry Pi to a Bluetooth heart rate monitor (Clinton Freeman, software engineer)

. .

https://reprage.com/post/how-to-connect-the-raspberry-pi-to-a-bluetooth-heart-rate-monitor

. .

  1. Johannes Bader, PhD. focused on getting the ANT+ stick to run on Raspberry Pi. What can we do with a Rasperri Pi with an ANT+ stick?

. .

https://petergamma.org/what-can-we-do-with-captured-ant-data/

. .

  1. John Park, Adafruit https://learn.adafruit.com/users/johnpark sends BLE sensor data from the Adafruit Clue chip, which can run the Pyloton Open Source Bike computer https://petergamma.org/read-out-sensor-data-from-the-adafruit-clue-pyloton/ to Adafruit IO with a Raspberry Pi bridge:

. .

https://learn.adafruit.com/bluetooth-le-broadcastnet-sensor-node-raspberry-pi-wifi-bridge/overview

. .

  1. unfortunately, Adafruit IO HAS NO SUPPORT FOR BLE SPORTS SENSORS:

. .

https://petergamma.org/adafruit-io-has-no-support-for-sport-sensor-data/

. .

  1. This thread only contains readme files, and is discontinued. The rest regarding this topic can be found on my blog page Peter Gamma:

. .

https://petergamma.org/

About

to MATLAB, Octave, Python, MQTT, InfluxDB, Grafana. Components which can be used for open source sports devices based on Rasperri Pi, Linux Phones & Linux Watches.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages