-
Fri 2019.11.29
'. . . but the datasheet is sparse'
Hello Martyn @iMartyn and thank you for posting the link to the datasheet.
From that, I grabbed the URL (bottom p.1) to that company and opened the DDL for 'Developers':
and scrolling down, found the detail datasheet for the KX023 (nine references total)
https://d10bqar0tuhard.cloudfront.net/en/document/AN041-Getting-Started.pdf
Google'ing 'using the kx023 as a step counter'yielded this paper with pseudo code:
Hi wonderful Espruino folks!
Whilst I'm waiting eagerly for my Bangle, figured I'd have a play with the D6 bracelet thing I have.
It has an KX023 accelerometer, but I'm looking for using the device as a sleep and step counter.
Using an accel as a step counter will drain the battery fast, but I wondered if anyone had attempted this? There's some clever features that I don't really understand of the accelerometer but the datasheet is sparse ( https://eu.mouser.com/datasheet/2/217/KX023%20Sell%20Sheet_0-542331.pdf ).
Anyone used this particular part and got any tips?
Cheers,
--
Martyn