-
Notifications
You must be signed in to change notification settings - Fork 14
Range/Scale and TapDetection #16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
checked DS - ben is correct it does not change with range (unlike other accels) so @siddacious we just need to change the comment? |
@ladyada For instance: |
IMO I would assume that the equation would HAVE to change based on scale like your lib indicated, but obviously the DS disagrees or is wrong. |
🤷♀ you could open a ticket with ADI - they'd know for sure :) |
That is my next step. I wanted to check with you all first though. I thought, due to the comment in your library that you knew something we didn't :). |
In your documentation and in your library code you make a statement that the "Scale factor" for the threshold (THRESH_TAP) for tap detection changes based on the "Range" of the accelerometer. Can you explain how that works?
Our current impression is that the datasheet doesn't say that. It comments that the scale is a constant 62.5mG/LSB. We are interpreting "LSB" as the value set for the threshold.
(i.e. if the threshold is 0xFF, then that would be equal to 16G. -- 62.5 * 255 / 1000 = 16)
The text was updated successfully, but these errors were encountered: