PINE64
No bmp and stepcounter :( - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PineTime (https://forum.pine64.org/forumdisplay.php?fid=134)
+--- Forum: Development Discussion on PineTime (https://forum.pine64.org/forumdisplay.php?fid=136)
+--- Thread: No bmp and stepcounter :( (/showthread.php?tid=12789)

Pages: 1 2


No bmp and stepcounter :( - Martin87 - 01-15-2021

Hi

yesterday I got my three PineTime's. Installed was the firmware 0.7.1. I connected it to Gadgetbridge and the PT got the time.
So far so good Smile

The problem is that bmp and the stepcounter not work.
I updated to 0.10 but it do not help.

Have I to activate something?

Have anyone an idea?

M.


RE: No bmp and stepcounter :( - Martin87 - 01-15-2021

All tree PineTime's are showing the same mistake.

Is it possible to check the hardware? It is really depressiv Sad

   
   
   


RE: No bmp and stepcounter :( - barray - 01-15-2021

@Martin87 These are development devices - not a finished product. The process is still ongoing.

As it happens, @JF002 I believe will likely release some code soon that provides heart rate data.


RE: No bmp and stepcounter :( - Martin87 - 01-15-2021

Hi barray,

yes of course, I know that it is not a finished product. However on every picture I see that heart rate data sensor is working.
When it only work on dev Kit - PineTime’s and not on the other PineTimes, than I will wait.
I thought my PineTimes are all broken.

Thank you for answering!

M.


RE: No bmp and stepcounter :( - barray - 01-15-2021

@Martin87 Literally in the just dropped update: https://www.pine64.org/2021/01/15/january-update-happy-new-gear/

> PineTime InfiniTime fork brings colourful icons, multiple watchfaces and additional functionality (HR + step count)


RE: No bmp and stepcounter :( - pagesix1536 - 01-17-2021

Tried using the docker container build method with this forked version of Infinitime.
Nothing but fail.
Attached my output.
These projects won't do well if those of us with minimal or no development experience can't build, or download the binaries.


RE: No bmp and stepcounter :( - JF002 - 01-17-2021

dd

Quote:@Martin87 These are development devices - not a finished product. The process is still ongoing.

As it happens, @JF002 I believe will likely release some code soon that provides heart rate data.
As @barray said, InfiniTime does not implement the heart rate sensor and the motion sensor for now. The label is a placeholder that was placed on the clock app a long time ago but their are not functional. For the record, I had working demo for both sensors, but didn't merge them because it was based on non-free/proprietary code and libraries.


The good news is that I've been working on the heart rate sensor recently, and I've just created the PR : https://github.com/JF002/Pinetime/pull/169. It's based on Wasp-os 100% open source implementation.
As the code is not fully debugged, I would advise you against flashing it on your sealed devices, though.


Quote:@Martin87 Literally in the just dropped update: https://www.pine64.org/2021/01/15/januar...-new-gear/

> PineTime InfiniTime fork brings colourful icons, multiple watchfaces and additional functionality (HR + step count)
Right!

Wasp-os also supports the heart rate sensor.


RE: No bmp and stepcounter :( - Martin87 - 01-18-2021

Thank you for all these information. I think I have to read a lot to go deeper in this topic.

It is very interesting and I am excited how it goes further on.


RE: No bmp and stepcounter :( - danielt - 01-19-2021

If anyone is interested in getting the step counter working in Infinitime then I structured the wasp-os driver to make it easy to separate the micropython stuff from everything. Most of the code is C code directly from Bosch anyway so it's much more direct than JF's transliteration of the wasp-os HRS driver. If you're interested then take a look at https://github.com/daniel-thompson/bma42x-upy . You need the generic bma4.c/h code from the BMA423 directory together with bma421.c/h and bma421_config.h from the BMA421 directory (and some callbacks to the Infinitime I2C driver).

PS Once of the videos in my wasp-os series covers both HR and step count: https://youtu.be/lIo2-djNR48


RE: No bmp and stepcounter :( - Martin87 - 01-24-2021

Yesterday I installed v 0.11.0.
The heart rate sensor works great! Smile

   

However the measurement is stopping, when the screen is going off.
It would be great to have a button, that deactivate the power off-mode from the screen. Then it would be possible to have a longer view on the measurement.