{"id":14978030,"url":"https://github.com/m-rtijn/mpu6050","last_synced_at":"2025-04-04T10:08:32.517Z","repository":{"id":29500349,"uuid":"33038287","full_name":"m-rtijn/mpu6050","owner":"m-rtijn","description":"A Python module for accessing the MPU-6050 digital accelerometer and gyroscope on a Raspberry Pi.","archived":false,"fork":false,"pushed_at":"2021-12-24T11:24:27.000Z","size":35,"stargazers_count":301,"open_issues_count":10,"forks_count":147,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-03-28T09:08:46.000Z","etag":null,"topics":["mpu6050","python","raspberry-pi","raspberry-pi-gpio","raspberry-pi-library","raspberrypi"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"sinonjs/sinon","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/m-rtijn.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-28T15:23:23.000Z","updated_at":"2025-03-27T08:58:52.000Z","dependencies_parsed_at":"2022-08-27T00:01:55.583Z","dependency_job_id":null,"html_url":"https://github.com/m-rtijn/mpu6050","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-rtijn%2Fmpu6050","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-rtijn%2Fmpu6050/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-rtijn%2Fmpu6050/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-rtijn%2Fmpu6050/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m-rtijn","download_url":"https://codeload.github.com/m-rtijn/mpu6050/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247157283,"owners_count":20893220,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mpu6050","python","raspberry-pi","raspberry-pi-gpio","raspberry-pi-library","raspberrypi"],"created_at":"2024-09-24T13:56:44.415Z","updated_at":"2025-04-04T10:08:32.494Z","avatar_url":"https://github.com/m-rtijn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"mpu6050\n=======\n\n|badge_license| |pypi_version| |pypi_downloads|\n\nA Python module for accessing the MPU-6050 digital accelerometer and gyroscope on a Raspberry Pi.\n\nExample\n-------\n\nAssuming that the address of your MPU-6050 is 0x68, you can read read accelerometer data like this:\n\n::\n\n    \u003e\u003e\u003e from mpu6050 import mpu6050\n\n    \u003e\u003e\u003e sensor = mpu6050(0x68)\n\n    \u003e\u003e\u003e accelerometer_data = sensor.get_accel_data()\n\nDependencies\n------------\n\nEither the ``python-smbus`` or ``python3-smbus`` package, according to your\nPython version.\n\nInstallation\n------------\n\nThere are two ways of installing this package: via PyPi or via the git repository.\nInstalling from the git repository insures that you have the absolute latest\nversion installed, but this can be prone to bugs.\n\n1. install the python-smbus package\n::\n\n    sudo apt install python3-smbus\n\n2a. Install this package from PyPi repository\n::\n\n    pip install mpu6050-raspberrypi\n\nOr:\n\n2b. Clone the repository and run setup.py\n::\n    \n    git clone https://github.com/m-rtijn/mpu6050.git\n    python setup.py install\n\nIssues \u0026 Bugs\n-------------\n\nPlease report any issues or bugs here:\n\n    https://github.com/m-rtijn/mpu6050/issues\n\n\nLicense\n-------\n\nCopyright (c) 2015, 2016, 2017, 2018, 2021 Martijn (martijn@mrtijn.nl) and contributors.\nAvailable under the MIT License. For more information, see ``LICENSE``.\n\n.. |pypi_version| image:: https://img.shields.io/pypi/v/mpu6050-raspberrypi.svg\n    :alt: latest PyPI version\n    :target: https://pypi.org/project/mpu6050-raspberrypi/\n\n.. |pypi_downloads| image:: https://img.shields.io/pypi/dm/mpu6050-raspberrypi\n    :alt: PyPI download count\n    :target: https://pypi.org/project/mpu6050-raspberrypi/\n\n.. |badge_license| image:: https://img.shields.io/github/license/m-rtijn/mpu6050\n    :alt: license: MIT\n    :target: https://github.com/m-rtijn/mpu6050/blob/master/LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-rtijn%2Fmpu6050","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm-rtijn%2Fmpu6050","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-rtijn%2Fmpu6050/lists"}