Skip to content

implement Machine Learning for LSM6DSOX? #51

Closed
@jerryneedell

Description

@jerryneedell

The MicroPython driver for the LSM6DOX has example for using ST's Machine Learning Core configurations for detecting certain types of motions.

https://github.com/micropython/micropython/blob/master/drivers/lsm6dsox/lsm6dsox_mlc.py
https://github.com/STMicroelectronics/STMems_Machine_Learning_Core/tree/master/application_examples/lsm6dsox

I have tried the vibration and head gesture examples and they are seem to work.
Would there be any interest in adding the ability to load the "ucf" files via the CircuitPython driver.
We won't be able to use the Interrupt MODE, but could poll.

The change to the library would be to add the "load_mlc, read_mlc_output and set_embedded_functions" methods. There actual usage is done in the examples.

Let me know if you think this is worth adding for the lsm6dsox. It may also apply to the lsmds33 but does not appear to be supported on the lsmdso32.

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