{"id":25900566,"url":"https://github.com/ailtonfidelix/mpu6050","last_synced_at":"2026-05-10T18:52:11.824Z","repository":{"id":50683987,"uuid":"519832982","full_name":"AiltonFidelix/MPU6050","owner":"AiltonFidelix","description":"MPU6050 library for ESP-IDF","archived":false,"fork":false,"pushed_at":"2026-04-25T17:16:33.000Z","size":34,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-25T19:15:17.113Z","etag":null,"topics":["c","esp-idf","esp32","i2c","mpu6050"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AiltonFidelix.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-07-31T16:46:40.000Z","updated_at":"2026-04-25T17:16:38.000Z","dependencies_parsed_at":"2023-01-18T04:00:43.815Z","dependency_job_id":null,"html_url":"https://github.com/AiltonFidelix/MPU6050","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AiltonFidelix/MPU6050","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AiltonFidelix%2FMPU6050","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AiltonFidelix%2FMPU6050/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AiltonFidelix%2FMPU6050/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AiltonFidelix%2FMPU6050/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AiltonFidelix","download_url":"https://codeload.github.com/AiltonFidelix/MPU6050/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AiltonFidelix%2FMPU6050/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32867988,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"ssl_error","status_checked_at":"2026-05-10T13:40:02.145Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["c","esp-idf","esp32","i2c","mpu6050"],"created_at":"2025-03-03T02:17:40.777Z","updated_at":"2026-05-10T18:52:11.819Z","avatar_url":"https://github.com/AiltonFidelix.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MPU6050 library for ESP-IDF\n\nThis library allow to do the configurations to work with the MPU6050 device and read the sensors values.\n\n\n## How to use\n\nIf you are using PlatformIO like me, you can just clone this project in the **lib** folder. \n\n```\ncd lib/ \u0026\u0026 git clone https://github.com/AiltonFidelix/MPU6050.git\n```\n\nOtherwise, just copy this project and use however you want.\n\n## Example\n\n```\n#include \"freertos/FreeRTOS.h\"\n#include \"freertos/task.h\"\n#include \"sdkconfig.h\"\n\n// Include the library\n#include \u003cmpu6050.h\u003e\n\nvoid app_main()\n{\n    printf(\"Starting MPU6050!\\n\");\n    // bool true parameter to install the I2C driver\n    mpuBegin(MPU6050_ACCEL_RANGE_2G, MPU6050_GYRO_RANGE_250DPS, true);\n    mpuSetFilterBandwidth(MPU6050_BAND_21_HZ);\n\n    while (1)\n    {\n        esp_err_t ret = mpuReadSensors();\n        if (ret == ESP_OK)\n        {\n            printf(\"Temperature: %.2f°C\\n\", mpuGetTemperature());\n            printf(\"Acceleration X: %.2f\\n\", mpuGetAccelerationX());\n            printf(\"Acceleration Y: %.2f\\n\", mpuGetAccelerationY());\n            printf(\"Acceleration Z: %.2f\\n\", mpuGetAccelerationZ());\n            printf(\"Gyroscope X: %.2f\\n\", mpuGetGyroscopeX());\n            printf(\"Gyroscope Y: %.2f\\n\", mpuGetGyroscopeY());\n            printf(\"Gyroscope Z: %.2f\\n\", mpuGetGyroscopeZ());\n        }\n        else\n        {\n            printf(\"Read sensors failed! Error: %s\\n\", esp_err_to_name(ret));\n        }\n        vTaskDelay(1000 / portTICK_PERIOD_MS);\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Failtonfidelix%2Fmpu6050","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Failtonfidelix%2Fmpu6050","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Failtonfidelix%2Fmpu6050/lists"}