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: about 14 hours ago
JSON representation
Simple access to the g-force linear acceleration, gauss magnetic and dps angular rate sensors of the LSM9DS0 through I2C.
- Host: GitHub
- URL: https://github.com/micropython-IMU/micropython-lsm9ds0
- Owner: micropython-IMU
- License: mit
- Created: 2015-07-06T14:44:52.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-06-21T09:07:52.000Z (over 2 years ago)
- Last Synced: 2024-08-02T20:45:00.989Z (3 months ago)
- Language: Python
- Size: 5.86 KB
- Stars: 4
- Watchers: 5
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-micropython - micropython-lsm9ds0 - LSM9DS0 g-force linear acceleration, Gauss magnetic and DPS angular rate sensors. (Libraries / Sensors)
- awesome-mpython - micropython-lsm9ds0 - LSM9DS0 g-force linear acceleration, gauss magnetic and dps angular rate sensors. (精选驱动库 / 传感器)
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 =)