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
  PureOS on Pinephone dukla2000 88 58,042 07-30-2021, 08:12 PM
Last Post: bcnaz
  Pinephone Apps Unified Dev Hub biketool 0 64 07-28-2021, 01:02 AM
Last Post: biketool
  Fedora + Phosh for PinePhone njha 68 39,780 07-26-2021, 04:57 AM
Last Post: wizmart
  pinephone oses and qemu emulation streak 1 429 07-19-2021, 11:40 AM
Last Post: swiley
  Slarm64 on PinePhone [Unofficial Slackware ARM - 64 bit] acid andy 12 3,587 07-04-2021, 08:12 AM
Last Post: jfenn2199
  Easiest way to use Android applications on Pinephone esud 4 2,289 06-21-2021, 04:52 AM
Last Post: vanja
  Amazfish on Pinephone pagesix1536 6 1,525 06-04-2021, 11:05 AM
Last Post: pagesix1536
Brick VR apps for the Pinephone (Google Cardboard) MirceaKitsune 0 307 05-30-2021, 10:45 AM
Last Post: MirceaKitsune
  Pine Phone Desktop Mode or "Standard" Gnome Desktop on PinePhone? 4920441 4 1,086 05-11-2021, 02:42 AM
Last Post: wizmart
  Adafruit Pyloton Open Source Bike computer on the PinePhone? Peter Gamma 0 472 04-02-2021, 06:37 PM
Last Post: Peter Gamma

Forum Jump:


Users browsing this thread: 1 Guest(s)