Skip to content

v1.0.0

Choose a tag to compare

@Ewan-Dev Ewan-Dev released this 27 May 20:38
· 7 commits to main since this release
fd6e038

MPU6050 Arduino Library v1.0.0 — Initial Release

Easy-to-use, minimal and lightweight Arduino library for MPU6050s

Quick and easy to download, set up and use for any MPU6050 project. Reads gyroscope, accelerometer and temperature data. Trigonometry, integration, formulae and complementary filters are used to calculate angles to precision.

Full Changelog: https://github.com/Ewan-Dev/mpu6050/commits/v1.0.0

✨ Features

  • Getting started with MPU6050
    • wakeSensor();
  • MPU6050 basic data
    • readGyroData();
    • readAccelData();
    • readTempData();
  • MPU6050 raw value processing
    • rawGyroToDPS();
    • rawAccelToGForce();
    • dpsToAngles();
    • calculateGyroOffset();
    • calculateAccelOffset();
    • calculateAnglesFromAccel();
    • complementaryFilter();
  • MIT license file
  • library.properties for Arduino Library eligibility
  • README.md documentation

✅ Tested With

Although the code should work with any Arduino I2C supported architecture, the library has been tested with:

  • Arduino Uno
  • Arduino Nano
  • MPU6050 (GY-521 breakout board)
  • Arduino IDE 2.3.6

🤔 Where to get started?

Check out the documentation for function usage and example files for examples.