8000 LSM6DS032 "doubled" acceleration sensitivity (code matches datasheet but not test) · Issue #61 · adafruit/Adafruit_CircuitPython_LSM6DS · GitHub
[go: up one dir, main page]

Skip to content
LSM6DS032 "doubled" acceleration sensitivity (code matches datasheet but not test) #61
Open
@scandey

Description

@scandey

Hello! I have an Adafruit LSM6DS032 board connected by Stemma QT cable to an Adafruit RP2040 Feather, all purchased about a year ago. I've dug them back out for a repeat of a workshop I ran in June last year, where I noticed that the acceleration values were all about double what they should be (Z acceleration on a flat surface was reported as about 19.5G). It didn't matter much to the workshop (just seeing any data was good enough), but I'm curious about it now.

After a peek through the code in this library:
In the LSM6DS032 class, the acceleration ranges override those from the default LSM6DS values in __init__.py with doubled max values and doubled conversion factors . If I use the original conversion factors, the output is reasonable. So the code matches the relevant datasheet, but my test suggests the conversion factors are "actually" somehow the same for both the ±16G max chips and the ±32G max chip, which just cannot be true.

I'm now starting to wonder if is possible that my actual board has the wrong chip on it. Is there any easy way to tell if that were the case, short of trying to put >16G's while getting data from the sensor and seeing what happens?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0