Skip to content

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

License

Notifications You must be signed in to change notification settings

micropython-IMU/micropython-lsm9ds0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 =)

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages