MIGRATE THE PYLOTON TO ANOTHER PLATFORM?
Different BLE ATT client-server:
- GATT client-server BLE Matlab
https://www.mathworks.com/help/comm/examples/modeling-of-ble-devices-with-heart-rate-profile.html
- GATT client-server BLE Android
https://www.youtube.com/watch?v=2mePPqiocUE&t=286s
- GATT client-server BLE Clue
https://learn.adafruit.com/pyloton
Bluetooth GATT Wiki:
Gatt documentation Adafruit:
https://learn.adafruit.com/introduction-to-bluetooth-low-energy/gatt
Alternative device to install BLE GATT client-server BLE for mobile applications: Linux PINEPHONE
Alternative setup:
- Bitalino ECG has a Matlab Toobox
- BeagleBone Blue has a Matlab step counting example
- The Matlab BLE example makes reference to Bluetooth 5.0 and shows a figure of a wrist based heart rate sports watch. Amazfit has sports watches which supports Bluetooth 5.0, for instance the Amazfit Verge light
Example code to connect a Bluetooth smart (BLE) heart rate sensor to Matlab:
Running Arduino code on the Beaglebone (Linux system), does also the Pyloton CLUE code run on the Pinephone with this tutorial?
https://www.onlogic.com/company/io-hub/tutorial-running-arduino-ide-beaglebone-black/
BLE MQTT Gateway:
https://www.youtube.com/watch?v=PBYCG-ypvRY
https://github.com/shmuelzon/ble2mqtt/commits?author=shmuelzon
Pinephone BLE Bike Computer?
https://forum.pine64.org/showthread.php?tid=10172&pid=68026#pid68026
Maybe a Rasperri PI zero with a 4500 mAH battery with a working time of more than 20 hrs would be the better platform than a Pinephone, which only has a working time of 3 to 4 hours with a planned extended 5000 mAH battery:
But a Rasperri PI zero is very limited as far as connectivity is concerned. A pinephone (has usb c) with an additional external battery pack of 10 000 mAH, and the Pinephone is in the business again.
The android app a training tracker can record sensor data directly to .csv format: