GithubHelp home page GithubHelp logo

hasi123 / mpu6050 Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 29.05 MB

I created this project to improve my understanding of the MPU6050 and create the most efficient, minimize size code.

License: GNU General Public License v3.0

C++ 82.01% C 17.99%

mpu6050's Introduction

MPU6050

I created this project to improve my understanding of the MPU6050 and write the most efficient (minimal size) code for it. Much of it is based on the I2Cdev library and prunkdump's arduino-variometer project.

InvenSenseMotionDriver is just an Arduino port of the official 6.12 DMP release. You can configure the DMP firmware with it and read back the firmware.

dmp_compress compresses the DMP firmware image (basically if there are many 0x00 after each other, it saves a count instead of the many zeros).

MPU6050_calibrate fully calibrates the sensor including gyro and accel offsets and accel gain factor! The calibration values can directly be pushed into the mpus registers, so you can directly read the corrected measurements.

MPU6060_DMP_minimal is an example sketch. The bare minimum with full dmp functionality only takes up 5790 bytes (18%) of the flash memory on a 328p.

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.