BMA421 driver
#9
A quick update on PineTime accelometer. The BMA423 driver does work and the only changes needed are adopting a suitable config file (and with many thanks to Aaron for that) and changing the device ID. The resulting driver only supports BMA421 embedded intelligence features meaning things like hardware assisted wrist tilt doesn't work (which doesn't mean we can't implement tilt detection in software).

I assembled this into a ready-to-go micropython driver for wasp-os which I think should also be enough of an example to help other PineTime OS projects get the sensor running: https://github.com/daniel-thompson/bma42x-upy

I have tested it by porting the accelerometer, step-counter, motion/no-motion detect and temperature examples to Python (see examples/ for what is working).
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye


Messages In This Thread
BMA421 driver - by matthez - 04-07-2020, 12:22 PM
RE: BMA421 driver - by soracle - 05-14-2020, 03:10 PM
RE: BMA421 driver - by danielt - 05-15-2020, 05:44 AM
RE: BMA421 driver - by soracle - 05-17-2020, 04:17 PM
RE: BMA421 driver - by danielt - 05-18-2020, 03:30 AM
RE: BMA421 driver - by soracle - 05-18-2020, 10:22 AM
RE: BMA421 driver - by danielt - 05-19-2020, 02:55 AM
RE: BMA421 driver - by soracle - 05-20-2020, 04:43 PM
RE: BMA421 driver - by danielt - 06-10-2020, 03:20 AM
RE: BMA421 driver - by soracle - 06-15-2020, 02:30 PM
RE: BMA421 driver - by sdorre - 07-16-2020, 03:51 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Again, BMA421 driver help! jandy 0 1,776 08-09-2021, 08:41 PM
Last Post: jandy

Forum Jump:


Users browsing this thread: 3 Guest(s)