{ "info": { "author": "Richard Gemmell", "author_email": "16683467+Richard-Gemmell@users.noreply.github.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Embedded Systems", "Topic :: System :: Hardware :: Hardware Drivers" ], "description": "# lsm9ds1-rjg\n## Introduction\nThis is a device driver that enables a Raspberry Pi to access an LSM9DS1 IMU sensor.\n\nThe LSM9DS1 combines a 3D accelerometer, 3D rate gyroscope and a 3D magnetometer. It's useful in robotics and other applications for measuring a robot's attitude and movement. The LSM9DS1 is made by ST Microelectronics. The datasheet is available from [their website](https://www.st.com/en/mems-and-sensors/lsm9ds1.html).\n\nLow cost breakout boards are available from various vendors including [Adafruit](https://learn.adafruit.com/adafruit-lsm9ds1-accelerometer-plus-gyro-plus-magnetometer-9-dof-breakout/overview) and [Sparkfun](https://www.sparkfun.com/products/13284).\n\n## Driver Features\n* Connects with I2C or SPI\n* Preconfigured for 230 Hz output data rate\n* Converts accelerometer and gyro output to use the same axes as the magnetometer by flipping the direction of the x axis.\n* Detects data ready in software or with an optional GPIO hardware interrupt.\n* Provides raw, unscaled data. i.e. max acceleration is 32768 not 2g.\n* Extensible\n* Optionally enables high priority thread scheduling\n\n## Limitations\n* Not a complete implementation of the sensor's API.\n\n## Scaling\nThis driver returns raw unscaled data. This is a deliberate choice to make it easier\nto scale the data with your application.\n\n## Data Ready\nIf you don't check for data ready and just read data then you will miss some samples.\nWorse than that, in some cases you'll read part of one sample and part of the next.\nThis provides plausible looking but incorrect data. You _must_ wait for data ready\nbefore reading the sensor values. See the examples.\n\n## Examples\n* [Simple Example](https://github.com/Richard-Gemmell/lsm9ds1-rjg/blob/master/examples/simple.py)\n* [Using a hardware interrupt](https://github.com/Richard-Gemmell/lsm9ds1-rjg/blob/master/examples/hardware_data_ready.py)\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Richard-Gemmell/lsm9ds1-rjg", "keywords": "", "license": "LICENSE.txt", "maintainer": "", "maintainer_email": "", "name": "lsm9ds1-rjg", "package_url": "https://pypi.org/project/lsm9ds1-rjg/", "platform": "", "project_url": "https://pypi.org/project/lsm9ds1-rjg/", "project_urls": { "Homepage": "https://github.com/Richard-Gemmell/lsm9ds1-rjg" }, "release_url": "https://pypi.org/project/lsm9ds1-rjg/0.9.2/", "requires_dist": [ "smbus2 (>=0.2)", "spidev (>=3.2)" ], "requires_python": "", "summary": "A python module to enable a Raspberry Pi to access an LSM9DS1 IMU sensor.", "version": "0.9.2" }, "last_serial": 4831099, "releases": { "0.9.2": [ { "comment_text": "", "digests": { "md5": "fe597989a7cd30d18dffe047def596f2", "sha256": "5c7ddc28a6817c40a3619f769d9a6a9f1c97da1411ae0ce95aa2e90e1d3520f0" }, "downloads": -1, "filename": "lsm9ds1_rjg-0.9.2-py3-none-any.whl", "has_sig": false, "md5_digest": "fe597989a7cd30d18dffe047def596f2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 13628, "upload_time": "2019-02-17T09:48:21", "url": "https://files.pythonhosted.org/packages/72/0f/e8d24b66c3dd8624c57653d382c8b4cdf72a3246f54e080f252f480de177/lsm9ds1_rjg-0.9.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "73abd997263960660d8a7414b18b93d6", "sha256": "9c78ef765f135b3668111c8a12d6ad7120df2e62133f4feaf79f9b628b1b7d5d" }, "downloads": -1, "filename": "lsm9ds1-rjg-0.9.2.tar.gz", "has_sig": false, "md5_digest": "73abd997263960660d8a7414b18b93d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9460, "upload_time": "2019-02-17T09:48:22", "url": "https://files.pythonhosted.org/packages/70/68/9720b0ec62745a4f90584841c0a501d2ee3aa61c15858c28ac43961701a3/lsm9ds1-rjg-0.9.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fe597989a7cd30d18dffe047def596f2", "sha256": "5c7ddc28a6817c40a3619f769d9a6a9f1c97da1411ae0ce95aa2e90e1d3520f0" }, "downloads": -1, "filename": "lsm9ds1_rjg-0.9.2-py3-none-any.whl", "has_sig": false, "md5_digest": "fe597989a7cd30d18dffe047def596f2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 13628, "upload_time": "2019-02-17T09:48:21", "url": "https://files.pythonhosted.org/packages/72/0f/e8d24b66c3dd8624c57653d382c8b4cdf72a3246f54e080f252f480de177/lsm9ds1_rjg-0.9.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "73abd997263960660d8a7414b18b93d6", "sha256": "9c78ef765f135b3668111c8a12d6ad7120df2e62133f4feaf79f9b628b1b7d5d" }, "downloads": -1, "filename": "lsm9ds1-rjg-0.9.2.tar.gz", "has_sig": false, "md5_digest": "73abd997263960660d8a7414b18b93d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9460, "upload_time": "2019-02-17T09:48:22", "url": "https://files.pythonhosted.org/packages/70/68/9720b0ec62745a4f90584841c0a501d2ee3aa61c15858c28ac43961701a3/lsm9ds1-rjg-0.9.2.tar.gz" } ] }