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
  Slarm64 on PinePhone [Unofficial Slackware ARM - 64 bit] acid andy 32 23,340 03-21-2024, 04:27 PM
Last Post: donchurch
Wink PINEPHONE not booting Touchwood 2 278 02-23-2024, 07:27 AM
Last Post: Touchwood
  Slack on PinePhone Adam Seline 5 5,156 12-20-2023, 07:20 AM
Last Post: nickolas
  Struggle to install LibreOffice on the PinePhone Peter Gamma 48 22,937 11-24-2023, 07:02 AM
Last Post: Peter Gamma
  Which word processor to choose for the Pinephone? Peter Gamma 8 1,710 11-23-2023, 01:06 AM
Last Post: Peter Gamma
  openSUSE for Pinephone Alefnode 75 99,936 11-17-2023, 08:37 AM
Last Post: Uturn
  Using Signal on PinePhone in mid-2023? dante404 45 11,758 11-17-2023, 04:23 AM
Last Post: Kevin Kofler
  Genode- Sculpt OS for the PinePhone (non Linux) Surehand53 1 814 11-04-2023, 07:23 PM
Last Post: tllim
  Abiword as a office mobile word processor for the Pinephone? Peter Gamma 11 1,837 10-24-2023, 08:57 AM
Last Post: Peter Gamma
  What File Manager Options Are There For The Pinephone? pinephoneuser22 7 2,109 10-18-2023, 08:37 AM
Last Post: luppivega

Forum Jump:


Users browsing this thread: 1 Guest(s)