No bmp and stepcounter :(
#11
(01-24-2021, 08:58 AM)Martin87 Wrote: 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.


Good to hear. Please open an issue on GitHub for any feature requests and maybe include details on how Garmin does it. (https://github.com/JF002/Pinetime/issues)
  Reply
#12
(01-19-2021, 10:35 AM)danielt Wrote: 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

I works on BMA421 pinetime using your driver mentioned above, but when write config file during initialization encounter -5 error
my project :https://gitee.com/fwatch/pinetime/tree/d...421/zephyr
  Reply
#13
(08-10-2021, 12:56 AM)jandy Wrote:
(01-19-2021, 10:35 AM)danielt Wrote: 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

I works on BMA421 pinetime using your driver mentioned above, but when write config file during initialization encounter -5 error
my project :https://gitee.com/fwatch/pinetime/tree/d...421/zephyr

Does reversing the order of the init and the soft reset make any difference?
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye
  Reply
#14
(08-16-2021, 04:57 AM)danielt Wrote:
(08-10-2021, 12:56 AM)jandy Wrote:
(01-19-2021, 10:35 AM)danielt Wrote: 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

I works on BMA421 pinetime using your driver mentioned above, but when write config file during initialization encounter -5 error
my project :https://gitee.com/fwatch/pinetime/tree/d...421/zephyr

Does reversing the order of the init and the soft reset make any difference?

It seems that IIC driver stuck, not the bma421 driver issue
  Reply
#15
Is there any reference for bma421 interrupt-driven examples? I can not make it work in interrupt mode(I didn't write config file but I could poll accel data)

https://gitee.com/fwatch/pinetime/blob/d..._trigger.c
  Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)