{"id":21017965,"url":"https://github.com/sthysel/mpu-6050","last_synced_at":"2025-10-14T01:36:00.136Z","repository":{"id":138850984,"uuid":"118780002","full_name":"sthysel/mpu-6050","owner":"sthysel","description":"MPU 6050 Gyroscope Raspberri Pi","archived":false,"fork":false,"pushed_at":"2020-05-27T05:45:57.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-11T04:59:45.880Z","etag":null,"topics":["gyroscope"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sthysel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-24T14:57:54.000Z","updated_at":"2020-05-27T05:45:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"a4cdc140-7c6d-4f5a-ae98-7df003a4db66","html_url":"https://github.com/sthysel/mpu-6050","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sthysel%2Fmpu-6050","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sthysel%2Fmpu-6050/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sthysel%2Fmpu-6050/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sthysel%2Fmpu-6050/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sthysel","download_url":"https://codeload.github.com/sthysel/mpu-6050/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243447641,"owners_count":20292452,"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":["gyroscope"],"created_at":"2024-11-19T10:22:54.227Z","updated_at":"2025-10-14T01:35:55.104Z","avatar_url":"https://github.com/sthysel.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MPU 6050\n\nUsing the MPU 6050  Gyroscope / Accelerator sensor board with a rasperry pi using i2c.\n\n\n## Pins\n\n| Raspberry Pi | MPU 6050 |\n|--------------|----------|\n| Pin 1 (3.3V) | VCC      |\n| Pin 3 (SDA)  | SDA      |\n| Pin 5 (SCL)  | SCL      |\n| Pin 6 (GND)  | GND      |\n\n## Modules\n\nEnsure these modules are loaded:\n\n\n* i2c-bcm2708\n* i2c-dev\n\nInstall i2c-tools \n\n```\n$ sudo apt-get install i2c-tools\n```\n\n## i2cdetect \n\n```\nthys@navio:~ $ sudo i2cdetect -y 1\n[sudo] password for thys: \n     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f\n00:          -- -- -- -- -- -- -- -- -- -- -- -- -- \n10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- \n20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- \n30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- \n40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- \n50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- \n60: -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- -- \n70: -- -- -- -- -- -- -- --                         \n\n```\n\n# mpu-650.py\n\n```\n{\n    \"gyro\": {\n        \"y\": -211, \n        \"x\": -592, \n        \"z\": -147\n    }, \n    \"rotation\": {\n        \"y\": 18.58245664915674, \n        \"x\": 12.841702233893653\n    }, \n    \"accelleration\": {\n        \"z_scaled\": 0.8330078125, \n        \"y_scaled\": 0.200927734375, \n        \"y\": 3292, \n        \"x\": -4720, \n        \"z\": 13648, \n        \"x_scaled\": -0.2880859375\n    }\n}\n{\n    \"gyro\": {\n        \"y\": -247, \n        \"x\": -622, \n        \"z\": -111\n    }, \n    \"rotation\": {\n        \"y\": 18.86977712270345, \n        \"x\": 12.861078737945162\n    }, \n    \"accelleration\": {\n        \"z_scaled\": 0.826171875, \n        \"y_scaled\": 0.199951171875, \n        \"y\": 3276, \n        \"x\": -4760, \n        \"z\": 13536, \n        \"x_scaled\": -0.29052734375\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsthysel%2Fmpu-6050","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsthysel%2Fmpu-6050","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsthysel%2Fmpu-6050/lists"}