Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/micropython-IMU/micropython-lsm9ds0

Simple access to the g-force linear acceleration, gauss magnetic and dps angular rate sensors of the LSM9DS0 through I2C.
https://github.com/micropython-IMU/micropython-lsm9ds0

Last synced: 2 months ago
JSON representation

Simple access to the g-force linear acceleration, gauss magnetic and dps angular rate sensors of the LSM9DS0 through I2C.

Lists

README

        

# lsm9ds0
Simple access to the g-force linear acceleration, gauss magnetic and dps angular rate sensors of the LSM9DS0 through I2C.

I've done some initial work on interfacing with the LSM9DS0 through I2C. Basically, you can set the different sensitivities (or max ranges) and read normalized values from the three sensors.

I intend to add more support for the common options as well as an easy way of setting all options (you can set all options manually with update_reg but I'd like something nicer), as well as SPI and interrupts etc, but this works for now.

SPI access has been implemented according to specification and reference implementation, but may not work.
Either there's a problem with my device, or I've missed something, but I'm not gonna spend any more time on it.
Feel free to test it and send me a pull request when you've found my mistake =)