PINE64
Bluetooth low energy & ANT+ sports sensors Pinephone distro? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+--- Thread: Bluetooth low energy & ANT+ sports sensors Pinephone distro? (/showthread.php?tid=10172)

Pages: 1 2 3 4


RE: Pinephone BLE bike Computer and sports watch? - Peter Gamma - 08-15-2020

The PMOS CE version that is available in the store right now, do have fixed the usb-c problem:

https://forum.pine64.org/showthread.php?tid=10429

All options are possible now, next to BLE also support for ANT+sensors with an ANT+ stick.

Migrating the Adafruit Peloton Open Source BIke Computer to the Pinephone and adding more features like ANT+ support, MQQT brocker, Open Source Infux Data Base for sensors from different devices, and Grafana for visualization, would make out of the Pinephone a multi purpose device for all kind of sports people:

https://forums.adafruit.com/viewtopic.php?f=65&t=166045&p=824388#p824388


RE: Pinephone BLE bike Computer and sports watch? - Peter Gamma - 09-03-2020

You can also discuss how to use the Pinephone to stream  BLE and ANT+ sensors in the Matlab over MQTT:

https://ch.mathworks.com/matlabcentral/answers/588601-can-the-linux-pinephone-with-software-for-ant-and-bluetooth-low-energy-sensors-be-used-to-stream-se


RE: Pinephone BLE bike Computer and sports watch? - Peter Gamma - 09-05-2020

Questions how to build a connection between Rasperri PI, Pinephone, MQTT, Matlab. All information are there. But for someone who is not familiar with Bluetooth low energy sensor streaming and MQTT this is a hard job. For others it's an easy one. An example would be very helpful, for instance for the Rasperri PI, which then can be developed further, run on the Linux Pinephone, etc.

https://ch.mathworks.com/matlabcentral/answers/589441-is-there-an-example-how-to-stream-ant-sensor-data-over-mqtt-to-matlab?s_tid=prof_contriblnk

https://ch.mathworks.com/matlabcentral/answers/589501-is-there-an-example-to-stream-bluetooth-low-energy-sensor-data-over-mqtt-to-matlab?s_tid=prof_contriblnk

https://ch.mathworks.com/matlabcentral/answers/588601-can-the-linux-pinephone-with-software-for-ant-and-bluetooth-low-energy-sensors-be-used-to-stream-se?s_tid=prof_contriblnk

There is an Android app IpBike which supports ANT+ sensors and BLE sensors. Unfortunately, IpBike does not offer Ip streaming. Is this not a shame?

https://ch.mathworks.com/matlabcentral/answers/588412-does-the-android-application-ipbike-support-mqtt-to-stream-ant-and-ble-sensor-data-to-matlab?s_tid=prof_contriblnk

I wrote a long thread in the support forum of IpBike about this subject. Unfortunately, the developer Ifor Powell did not react to my posts. It is difficult do depend on an Android app which is not open source for an Ip stream, and to depend on a developer which does not seem to be interested in new developements. Therefore I m promoting development of an Ip stream on the Pinephone.


RE: Pinephone BLE bike Computer and sports watch? - Peter Gamma - 09-09-2020

Daniel Thompson, PineTime developer stated on his youtube channel, that he had no plans to use external BLE sensor with PineTime, but connecting PineTime to BLE peripherals is certainly possible... though it would be a lot of work.

https://www.youtube.com/watch?v=lIo2-djNR48&t=118s

On a Linux platform, it is easier, either on the Pinephone or for instance on an Android watch running Linux.

Or on a real Linux watch from Pine64, which I miss.


RE: Pinephone BLE bike Computer and sports watch? - Peter Gamma - 09-12-2020

https://openbci.com/forum/index.php?p=/discussion/2693/can-gui-visualize-and-analyze-ant-and-ble-sensor-data-on-the-linux-pinephone#latest


RE: Pinephone BLE bike Computer and sports watch? - Peter Gamma - 09-12-2020

Here is a demo of the OpenBCI software with EEG sensors:

https://openbci.com/

can this OpenBCI GUI5 software run on the PinePhone and integrated with BLE and ANT+ sensors? This would be a revolutionary open source bike computer.


RE: Pinephone BLE bike Computer and sports watch? - Peter Gamma - 10-05-2020

Unfortunately, this project is still a theoretical thread, with no practical tests yet. But it looks promising. I became interested in Linux smartwatches, too.

https://forum.xda-developers.com/smartwatch/other-smartwatches/kw88-pro-asteroidos-linux-distribution-t4171413/page3

A reviewer stated, that an LG watch G with Linux AsteroidOS 1.0 runs for two days, whereas the PinePhone runs as far as I know only two hours with one battery pack. Good reason to develop this project also on a Linux smartwatch, and to write a Linux smartwatch on the wishlist of Pine64.


RE: Pinephone BLE bike Computer and sports watch? - KC9UDX - 10-05-2020

How many batteries do you want to use? Until nuclear power is common in small devices, do wireless sensors on a bicycle even make sense? What advantage is a cycle computer on your wrist? The only one I can think of is theft protection.


RE: Pinephone BLE bike Computer and sports watch? - Peter Gamma - 10-05-2020

The bike computer can be modified to become a pure sports watch with Bluetooth low energy support. I was successful in promoting sports watch sensors in the Matlab community. Matlab now supports Bluetooth low energy sports sensors. There is now an example which uses an Under Armour Bluetooth low energy chest strap and Under Amour Bluetooth low energy running shoes in Matlab. But instead of running shoes, also a foot pod like the Stryd foot pod can be used. Bluetooth low energy is very energy efficient:

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

I can recommend to use the Polar OH1 BLE heart rate sensor and the Stryd BLE foot pod for accuracy reasons. Could the Matlab example not be modified for the PinePhone or for a Linux smartwatch?


RE: Pinephone BLE bike Computer and sports watch? - wibble - 10-06-2020

Have you asked the Octave community about BLE sensor support? Even if they don't support that matlab method directly they may be able to suggest other options, such as a BLE to MQTT bridge or a bit of python code.