Due to high demand expect some shipping delays at this time, orders may not ship for 1-2 business days.
0

How can I read out sensor data in real-time from a Clue to a
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Re: How can I read out sensor data in real-time from a Clue

by adafruit_support_bill on Wed Jun 24, 2020 6:40 am

The Pyloton uses a 3rd party heart rate sensor that supports the BLE standard heart-rate sensor protocol: https://learn.adafruit.com/pyloton/over ... ep-3056077
You would probably need to modify the library to intercept that data stream.
https://github.com/adafruit/Adafruit_Ci ... Heart_Rate

adafruit_support_bill
 
Posts: 81007
Joined: Sat Feb 07, 2009 10:11 am

Re: How can I read out sensor data in real-time from a Clue

by Peter_Gamma on Sun Jul 05, 2020 3:33 am

Thanks.

Peter_Gamma
 
Posts: 31
Joined: Tue Jun 02, 2020 5:38 pm

Re: How can I read out sensor data in real-time from a Clue

by Peter_Gamma on Sun Jul 05, 2020 4:42 am

The Peloton Bike Computer is still a bit complicated for me personally, as a Yogi and non programmer, but it has a great potential to use it as a live stream device to optain sensor data for research, but also to practise yoga and meditation at home. A new product from Adafruit, a Peloton Bike Computer with live streaming option, and also an option to access raw data would be great. Sports watch companies like Garmin do not have a satisfying solution for this.

Peter_Gamma
 
Posts: 31
Joined: Tue Jun 02, 2020 5:38 pm

Re: How can I read out sensor data in real-time from a Clue

by Peter_Gamma on Sun Jul 05, 2020 4:56 am

A new product or an update of the Peloton bike computer with these features. For instance an example to stream to Matlab or Python, and an example how to access sensor raw data, which can be used to measure heart rate variability or to estimate respiratory rate in Matlab. Most Matlab user do not code. To integrate these features is for most of them hard work, but for a programmer probably an easy job.

Peter_Gamma
 
Posts: 31
Joined: Tue Jun 02, 2020 5:38 pm

Re: How can I read out sensor data in real-time from a Clue

by Peter_Gamma on Sat Aug 15, 2020 1:54 am

The Matlab toolbox EEGlab can run in Octave and probably on the new Linux Pinephone:

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

Which is great and for me personally unexpected. Octave is an attractive open source Matlab alternative, which probably also can serve als data acquisition software for the Peloton open source bike computer which is based on the Clue chip. The Clue can be connectied via USB to the Linux Pinephone running Ocatave as a mobile software aquisiton solution.

Peter_Gamma
 
Posts: 31
Joined: Tue Jun 02, 2020 5:38 pm

Re: How can I read out sensor data in real-time from a Clue

by Peter_Gamma on Sat Aug 15, 2020 3:41 am

To cut it short: connect the Peloton bike computer software with Octave, and let the whole software running on the new Linux Pinephone. You can then use the Clue chip for something else.

Peter_Gamma
 
Posts: 31
Joined: Tue Jun 02, 2020 5:38 pm

Re: How can I read out sensor data in real-time from a Clue

by adafruit_support_bill on Sat Aug 15, 2020 7:54 am

Thanks for the feedback and suggestions. I will forward them to the authors of the guide.

adafruit_support_bill
 
Posts: 81007
Joined: Sat Feb 07, 2009 10:11 am

Re: How can I read out sensor data in real-time from a Clue

by Peter_Gamma on Sat Aug 15, 2020 8:41 am

Thank you, Bill, for your help. This modification should work:

https://forum.pine64.org/showthread.php ... e+computer

Make an Adafruit Peloton Pinephone Open Source Bike Computer, that would be great. Much more options for modifications as with the Clue, for instance integration with ANT+ sensors, which is also not far from reality. Other interesting features would be MQQT brocker, open sourche Influx Data base for sensors from different devices, visuialization in Grafana, or integrate more BLE profiles in the Peloton to make it a multi purpose device. There is a lot which can be done with the Peloton.

Peter_Gamma
 
Posts: 31
Joined: Tue Jun 02, 2020 5:38 pm

Re: How can I read out sensor data in real-time from a Clue

by Peter_Gamma on Sat Aug 29, 2020 10:20 am

I m currently struggling with several devices which have the potential to be used with Matlab or Python software like Scott Hardens sound card ecg, Bitalino, Mind Monitor, Rainer Blinds a training tracker, but also the Peloton bike computer. I m promoting the idea to integrate MQQT in these device softwares and stream sensor data to the Influx data base. In this way, sensor data from different low cost high quality devices can be streamed into one data base, and can be read out for instance with the Influx Data Base client for Matlab or Python:

https://ch.mathworks.com/matlabcentral/ ... contriblnk

https://ch.mathworks.com/matlabcentral/ ... contriblnk

https://forum.bitalino.com/viewtopic.php?f=19&t=627

MQQT is well established and there are android apps available for MQQT, MQQT brocker targets in the web, and support in Matlab, Python, Influx Database and Grafana for MQQT. Adding MQQT to the Peloton software and would make it easy to combine the sensor data from the Peloton with sensor data from other devices.

Peter_Gamma
 
Posts: 31
Joined: Tue Jun 02, 2020 5:38 pm

Re: How can I read out sensor data in real-time from a Clue

by Peter_Gamma on Sat Sep 12, 2020 5:35 am

Matlab supports now Bluetooth low energy sensors:

https://ch.mathworks.com/help/matlab/im ... vices.html

but who wants to carry around a laptop with Matlab for sporting activites? The Adafruit Peloton bike computer could solve this problem, for instance running on a Linux Pinephone.

Matlab doe not run on an ARM based platform like the Pinephone, OpenSignals does not run on on an ARM based platform like the Pinephone, but OpenBCI brain computer interface software GUI5 which is based on BrainFlow:

https://openbci.com/forum/index.php?p=/ ... one#latest

The Adafruit Peloton Bike computer could be integrated in the OpenBCI GUI5 software. This would give real-time mobile data acquisition software on the Pinephone for heart rate, speed, cadence, EEG, MEG, etc which can compete with OpenSignals or Matlab.

Peter_Gamma
 
Posts: 31
Joined: Tue Jun 02, 2020 5:38 pm

Re: How can I read out sensor data in real-time from a Clue

by Peter_Gamma on Sat Sep 12, 2020 8:53 am

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

https://openbci.com/

This software should also run on the Linux PinePhone, as well as well as the Adafruit Peloton bike computer. Does the Peloton bike computer work on the PinePhone with BLE sensors and the OpenBCI software? This would really be a revolutionary open source bike computer.

Peter_Gamma
 
Posts: 31
Joined: Tue Jun 02, 2020 5:38 pm

Re: How can I read out sensor data in real-time from a Clue

by Peter_Gamma on Wed Dec 23, 2020 6:06 am

Matlab deleted all of my questions in the Matlab forum for reasons I cannot follow. Use Python instead of Matlab. The Peloton bike computer which has been developed for the Clue could find a new home: Linux phones and Linux watches. There are now open source Linux watches available, the Linux Asteroid watches:

https://petergamma.org/

but who wants to use an ANT+ stick with a Linux watch to track heart rate and other sensor data? The Peloton bike computer software is the solution. You can run the Peloton software also on a PinePhone. Shipping of the PinePhone takes up to a month, although it is shipped through DHL. You can use a Xiaomi Redmi 7 instead. There is a stable version of Ubuntu Touch available for it:

https://forums.ubports.com/topic/5155/x ... -questions

you can buy the Xiaomi Redmi 7 for less than 100 USD on ebay. Make out of the Peloton Bike computer an open source linux sports watch and an open source Linux bike computer smartphone, and bring new life to the Peloton, Adafruit. All components are there an freely available.

Peter_Gamma
 
Posts: 31
Joined: Tue Jun 02, 2020 5:38 pm

Please be positive and constructive with your questions and comments.