{"id":13613012,"url":"https://github.com/adamjezek98/MPU6050-ESP8266-MicroPython","last_synced_at":"2025-04-13T15:32:20.110Z","repository":{"id":41063241,"uuid":"80935172","full_name":"adamjezek98/MPU6050-ESP8266-MicroPython","owner":"adamjezek98","description":"Simple library for MPU6050 on ESP8266 with micropython","archived":false,"fork":false,"pushed_at":"2021-04-05T06:26:22.000Z","size":2,"stargazers_count":87,"open_issues_count":6,"forks_count":36,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-11-07T21:41:37.076Z","etag":null,"topics":[],"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/adamjezek98.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}},"created_at":"2017-02-04T17:22:58.000Z","updated_at":"2024-05-03T00:26:33.000Z","dependencies_parsed_at":"2022-09-20T21:50:22.428Z","dependency_job_id":null,"html_url":"https://github.com/adamjezek98/MPU6050-ESP8266-MicroPython","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/adamjezek98%2FMPU6050-ESP8266-MicroPython","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamjezek98%2FMPU6050-ESP8266-MicroPython/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamjezek98%2FMPU6050-ESP8266-MicroPython/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamjezek98%2FMPU6050-ESP8266-MicroPython/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adamjezek98","download_url":"https://codeload.github.com/adamjezek98/MPU6050-ESP8266-MicroPython/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248735862,"owners_count":21153486,"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":[],"created_at":"2024-08-01T20:00:37.933Z","updated_at":"2025-04-13T15:32:19.822Z","avatar_url":"https://github.com/adamjezek98.png","language":"Python","funding_links":[],"categories":["Libraries","精选驱动库"],"sub_categories":["Sensors","传感器"],"readme":"# MPU6050-ESP8266-MicroPython\nSimple library for MPU6050 on ESP8266 with micropython\n\nSCL connected to pin 5, SDA to pin 4\nexample usage:\n\n```python\n\u003e\u003e\u003efrom machine import I2C, Pin\n\u003e\u003e\u003eimport mpu6050\n\u003e\u003e\u003ei2c = I2C(scl=Pin(5), sda=Pin(4))\n\u003e\u003e\u003eaccelerometer = mpu6050.accel(i2c)\n\u003e\u003e\u003eaccelerometer.get_values()\n{'GyZ': -235, 'GyY': 296, 'GyX': 16, 'Tmp': 26.64764, 'AcZ': -1552, 'AcY': -412, 'AcX': 16892}\n```\nAccelerometer/Gyroscope values are in int16 range (-32768 to 32767)\nIf the mpu6050 loses power, you have to call __init__() again\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamjezek98%2FMPU6050-ESP8266-MicroPython","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamjezek98%2FMPU6050-ESP8266-MicroPython","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamjezek98%2FMPU6050-ESP8266-MicroPython/lists"}