Giter Site home page Giter Site logo

mpu6050_light's Introduction

MPU6050_light bdg bdg bdg

Lightweight, fast and simple library to communicate with the MPU6050

โฌ‡๏ธ The source code is available at https://github.com/rfetick/MPU6050_light

๐Ÿ”„ Your feedback is important. Any issue or suggestion can be reported to the Github Issues section

Description

The library is made to retrieve accelerometer and gyroscope measurements from the MPU6050. This data is processed using a complementary filter to provide and estimation of tilt angles on X and Y with respect to the horizontal frame. The hypothesis for the validity of these angles are:

  • small linear accelerations (the gravity is the dominant one)
  • small loop delay between two calls to update() so the approximation angle[t]=angle[t-1]+gyro*dt is valid
  • heading (angle Z) is valid for small X and Y angles

Documentation

A documentation PDF is provided within the library folder, otherwise get it online at https://github.com/rfetick/MPU6050_light. It includes definitions of the functions and gives a minimal example of usage of the code. More examples can be found in the dedicated examples/ subfolder of the library.

License

See the LICENSE file

Authors

rfetick : modifications for better memory management, speed and efficiency.

tockn : initial author of the library (v1.5.2)

The library has also been improved thanks to the comments of edgar-bonet and augustosc

mpu6050_light's People

Contributors

rfetick avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.