Does software code which was written for the Rasperri Pi run on also the Pinephone?
#1
I m interested in this Raspberry Pi Ant+ script which sends sensor data to a MQTT-Broker:

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

You certainly need an Ant+ stick for this. But except from that. Are there any modifications necessary to run Rasperri PI code on a Pinephone. And if so, which ones?
  Reply
#2
It depends whether the distribution you're running has the required software packaged and available. I'd guess if you're running debian you should be able to follow the raspbian instructions and have a good change of it just working. It doesn't look like there's anything in there that's specific to either the Pi or Pinephone hardware to trip you up.
  Reply
#3
(06-09-2020, 10:59 AM)wibble Wrote: It depends whether the distribution you're running has the required software packaged and available. I'd guess if you're running debian you should be able to follow the raspbian instructions and have a good change of it just working. It doesn't look like there's anything in there that's specific to either the Pi or Pinephone hardware to trip you up.

Thank you for your answer, Ripple. For ANT+ sensor data processing like processing of heart rate and speed from Garmin devices, there are serveral Rasperri PI 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:

https://www.thisisant.com/forum/viewthread/7372/
  Reply
#4
If I got it right, this Qbike ANT+ bike computer should run also on the Pinephone with an ANT+ stick:

https://www.youtube.com/watch?v=lVoNQ8jt...e=youtu.be

But an ANT+ stick needs driver. There are driver available for Android. But do they also work for Linux?

Darren Hague has a project with an ANT+ stick:

https://github.com/dhague/vpower

and the instruction says it should also run unter Linux.
  Reply
#5
That vpower project is runnning on a Pi Zero, so it's on linux. It uses a cheap generic ANT+ USB dongle, and this ANT library:
https://github.com/baderj/python-ant

I haven't tried any USB devices with the PinePhone - it _should_ work, but at least one hardware issue has been found affecting aspects of USB functionality.

Unless you've already got ANT devices you'd probably be better sticking to BLE as that's built into the PinePhone.
  Reply
#6
I agree completely.

Other arguments are, that open source developement is easier with BLE and .csv than with ANT+ and .fit file format. I bit my teeth out with THIS IS ANT and Garmin.


The only thing I experienced where offers from product seller which where not attractive to me personally,actions to make me stop posting, threaten to delete or delete my posts arguing with the terms and condition when I was writing about an non Garmin or non Matlab product in the Matlab forum, Garmin forum, DC Rainmaker Blog, EEVBlog, etc.

These are for me personally reason to retrait from Garmin and THIS IS ANT products, and reasons to find products and forums which are open, friendly and community driven.
  Reply
#7
Polar does not have a forum anymore. And Garmin migrated the forum to a new forum platform and lost part of the posts of the users during this migration. Every post can be restored on demand, but who asks Garmin for every post to get it back?


The most important thing is exerience, and user experience, and I cannot follow companies who don t appreciate the value of user experience.
  Reply
#8
About the USB - the USB bug means you need to switch USB modes manually to be able to use the phone with USB devices, but they should still work.
  Reply
#9
Thanks.
  Reply
#10
I think it is worth trying to run the low-cost high quality QBike Peloton Bike computer on a Pinephone, before BLE projects are available, a ANT+ stick does not cost much.


It is an open source bike computer project which is quite advanced, and more functionality could be added easily, for instance a SQL lite data base for sensors or a MQQT brocker stream to the web, which both are available for rasperri PI projects:


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

There are BLE projects available:

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

but Qbike is ready to go.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Office applications for the Pinephone Peter Gamma 2 523 09-05-2024, 09:22 AM
Last Post: Peter Gamma
  Struggle to install LibreOffice on the PinePhone Peter Gamma 50 35,079 07-26-2024, 10:35 PM
Last Post: Peter Gamma
  Why does Pine64 sabotage office on the Pinephone? Peter Gamma 5 976 07-04-2024, 07:34 AM
Last Post: Kevin Kofler
  Which word processor to choose for the Pinephone? Peter Gamma 16 5,269 06-22-2024, 07:28 AM
Last Post: Peter Gamma
  Samba share on the Pinephone? Peter Gamma 0 636 06-16-2024, 10:26 PM
Last Post: Peter Gamma
  Possible Free Backup Carrier for PinePhone PineFone 0 445 06-13-2024, 03:45 PM
Last Post: PineFone
  Using Signal on PinePhone in mid-2023? dante404 47 22,269 05-03-2024, 02:19 AM
Last Post: dragonhospital
  Slarm64 on PinePhone [Unofficial Slackware ARM - 64 bit] acid andy 38 32,687 04-23-2024, 10:29 AM
Last Post: donchurch
Wink PINEPHONE not booting Touchwood 2 1,202 02-23-2024, 07:27 AM
Last Post: Touchwood
  Slack on PinePhone Adam Seline 5 6,474 12-20-2023, 07:20 AM
Last Post: nickolas

Forum Jump:


Users browsing this thread: 1 Guest(s)