Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

Linux Pinephone for ANT+ projects

Avatar
RankRankRankRank

Total Posts: 243

Joined 2018-09-10

PM

The usb-c problem of the Pinephone is solved in the latest Postmarket OS version of the Pinephone:

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

wich is available in the Pinephone store right now:

https://store.pine64.org/

Peter Gamma

     

Signature

Peter Gamma

Avatar
RankRankRankRank

Total Posts: 243

Joined 2018-09-10

PM

Combining all available solutions for Rasperri Pi, QBike, Virtual Power, MQTT brocker (are there any others?) in one Pinephone project gives already a mature open source mobile solution with live streaming option.

Peter Gamma       [ Edited: 02 September 2020 09:30 AM by Yoyo2014 ]

Signature

Peter Gamma

Avatar
RankRankRankRank

Total Posts: 243

Joined 2018-09-10

PM

The Pinephone should work now as a Linux platform for ANT+ and BLE project:

https://forum.pine64.org/showthread.php?tid=10172&highlight=ble+bike+computer      

Signature

Peter Gamma

Avatar
RankRankRankRank

Total Posts: 243

Joined 2018-09-10

PM

Battery life of the Pinephone is quiet short, but it should be possible to add a connector to the usb-c port of the Pinephone to have more connectors to add for instance a power bank for extended battery life:

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

Signature

Peter Gamma

Avatar
RankRankRankRank

Total Posts: 243

Joined 2018-09-10

PM

There is now Matlab support for Bluetooth low energy sensors, currently for heart rate sensor and foot pods:

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

Unfortunately, there is no support for ANT+ sensors in Matlab. Livetrack.io from Nils Knieling with his brilliant ipbike, infux data base, Grafana solution would have filled the gap perfectly:

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

Unfortunately, Nils Knieling pulled back his open source software. Reason unknown. As far as I know one component was from the Influx Data Base client from Matlab, which should have been cited properly, it has an MIT license copyright, but all the components are free. This is really a pitty.

To find a replacement, there is a script in this thread which runs on the Linux Pinephone and can send ANT+ sensor data to an MQTT brocker in the web and from there to Matlab and other applications.

There is a Influx Database plugin for MQTT:

https://www.influxdata.com/integration/mqtt-monitoring/

MQTT Data with InfluxDB can be visualized in and Grafana:

https://diyi0t.com/visualize-mqtt-data-with-influxdb-and-grafana/

and InfluxDB can combine sensor data from different devices in one database and solve the problem to synchronize these data. There is a InfuxDB client for Matlab and Python to process InfluxDB in Matlab or Python.       [ Edited: 02 September 2020 09:31 AM by Yoyo2014 ]

Signature

Peter Gamma

Avatar
RankRankRankRank

Total Posts: 243

Joined 2018-09-10

PM

Here are the problems I had with livetracking.io:

https://github.com/PeterGamma/What-happened-to-livetrack.io-

I also discussed the subject with Ivor Powell, the developer of IpBike some time ago. He said he could restore his part of such a service, but he needs a clearly defined target. There where also some bikers who missed the service. It is a missing gap between an Android app and a web or PC application which should be restored.      

Signature

Peter Gamma

Avatar
RankRankRankRank

Total Posts: 243

Joined 2018-09-10

PM

Another option would be IpBike with MQTT. I wrote a feature request in the IpBike forum:

http://www.iforpowell.com/cms/index.php?mact=Forum,m862f6,topic,1&m862f6prev_link=default&m862f6fid=2&m862f6tid=653&m862f6post_pagenumber=1&m862f6returnid=73&page=73

Sooner or later Garmin user will ask "It is possible to have a live stream from Bluetooth low energy devices to Matlab. Why is it not possible to have a live stream from ANT+ devices to Matlab?"
      [ Edited: 02 September 2020 09:32 AM by Yoyo2014 ]

Signature

Peter Gamma

Avatar
RankRankRankRank

Total Posts: 243

Joined 2018-09-10

PM

A third option is integration of MQTT in the Android application a training tracker:

https://github.com/rainerblind/aTrainingTracker/issues/34

a training tracker is open source.
      [ Edited: 02 September 2020 09:20 AM by Yoyo2014 ]

Signature

Peter Gamma

Avatar
RankRankRankRank

Total Posts: 243

Joined 2018-09-10

PM

Avatar
RankRankRankRank

Total Posts: 243

Joined 2018-09-10

PM

The OpenBCI GUI v5 brain computer interface software can be used to visualize and analyze ANT+ and BLE sensor data on ARM based platforms like the Linux Pinephone:

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

Signature

Peter Gamma

Avatar
RankRankRankRank

Total Posts: 243

Joined 2018-09-10

PM

Thanks, knightshift. In my view, the PinePhone is one of the most promising projects to acquire sensor data from ANT+ and BLE sensors. It is open friendly and community driven. That is the future grin.      

Signature

Peter Gamma

Rank

Total Posts: 1

Joined 2020-12-22

PM

Hello...for ANT+ sensor data processing like processing of heart rate and speed from Garmin devices, there are serveral Linux projects. But I think the Pinephone would be the better platform for these project, because of the form factor, replaceable batteries and a big LCD screen:
     
Avatar
RankRankRankRank

Total Posts: 243

Joined 2018-09-10

PM

That is true. Rasperri Pi projects like Andreas Baaders “Track Your Heartrate on Raspberry Pi with Ant+” can run on Linux phones like the PinePhone. A phone is better than a Rasperri Pi for mobile use.

Finally, there are now also the Linux Asteroid OS watches, and software which runs on a Rasperri Pi or a Linux phone can also run on these open source Linux watches:

http://petergamma.org/

PinePhone shipping is not very efficient. Shipping time is up to a month or so, although it is shipped by DHL. The Pine64 community should work on this. You can also run Ubuntu Touch on a Xiaomi Redmi 7, there is a stable version available, which is an attractive PinePhone alternative. It can be found for less than 100 USD on ebay:

https://forums.ubports.com/topic/5155/xiaomi-redmi-7-review-and-beginner-questions
     

Signature

Peter Gamma