Detailed MPU6050 Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 พ.ค. 2024
  • Learn how an MPU measures orientation. Hide Jeff Rowberg's complex library behind a simple and easy to use interface. Fix Jeff's flawed conversion from quaternion to yaw pitch and roll. Learn how to save calibration results to EEPROM so that you don't have to calibrate every time you power on. Overhaul the current animation process.
    🚃 Related tutorials 🚃:
    --------------------------------------
    Full C++ series: • C++
    Visual Studio code for Arduino: • Configuring Visual Stu...
    Dependency Injection: • Dependency Injection i...
    Header files: • C++ header files
    Class constructors: • Class constructors in C++
    🚅 Chapters 🚅:
    --------------------------
    00:00 Overview
    00:25 Measuring yaw pitch and roll
    01:23 Equivalence principle
    02:28 Orientation from gravity
    03:57 Orientation from angular acceleration
    05:17 Sensor fusion
    06:40 Getting an MPU-6050 that actually works
    08:49 Wiring diagram
    09:37 Loose connections
    10:50 Arduino Library
    12:12 Dependency Injection
    13:45 Visual Studio
    15:10 Hiding library behind simple interface
    25:27 From quaternion to yaw, pitch, roll
    32:01 Calibration
    33:44 EEPROM
    39:52 How to call our MPU interface
    43:11 Reset calibration demo
    44:09 Calibration demo
    44:53 Animation
    45:18 Processing.exe, Toxiclibs
    45:40 VPython
    49:56 Sending data to python over serial
    50:49 Rodrigues' rotation formula
    52:24 Test procedure
    54:25 Checking for gimbal locks
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 21

  • @shoes7973
    @shoes7973 ปีที่แล้ว +2

    This was amazing. Thank you for it. Please make more.

  • @MarkHopewell
    @MarkHopewell ปีที่แล้ว +5

    Surely, this is de facto tutorial on this device. I havent used one yet but am about to implement one in a prototype/experimental project. Some of the presentations of this device appear as if just playing around with it and little else. Your tutorial goes well beyond anything I've seen so far, touching on development matters applicable to not just the MPU but much more. Thank you again.

  • @patentes8463
    @patentes8463 ปีที่แล้ว +1

    Thanks for the in-detail explanation.

  • @Nocare89
    @Nocare89 18 วันที่ผ่านมา

    This has been awesome, not knowing CPP much.
    I have followed along and at the point of running a Calibrate sketch, it just runs forever xD
    Edit: Figured it out digging into the MPU6050 library. If the unit is not flat & still ENOUGH, it will just loop forever since there are no maximum attempts set.

  • @mounirkkk9078
    @mounirkkk9078 ปีที่แล้ว +5

    Thank you for sharing such a fruitful video! I found it incredibly informative and learned a lot of new concepts that I can now apply to my own learning and development. Your effort and dedication to creating and sharing this valuable content is greatly appreciated. Thank you again!

  • @yiqiongli4623
    @yiqiongli4623 ปีที่แล้ว +2

    Great video. really helpful. Thanks a lot.

  • @siddharthpatil6825
    @siddharthpatil6825 4 หลายเดือนก่อน

    thank you man...😻

  • @pietrosolariargentario84
    @pietrosolariargentario84 2 หลายเดือนก่อน

    Thanks! Awesome

  • @antoniocarloshanig2930
    @antoniocarloshanig2930 2 ปีที่แล้ว +1

    Fantastic sr....thank you for share .....save my university research...great video and coments....i'm your fan ....

  • @abrahamserranomireles4457
    @abrahamserranomireles4457 ปีที่แล้ว

    great video!

  • @karjolaking4586
    @karjolaking4586 2 ปีที่แล้ว +1

    Very good!

  • @embeddedroom
    @embeddedroom 2 ปีที่แล้ว

    Nice!

  • @jamescullins2709
    @jamescullins2709 ปีที่แล้ว

    You are great! However you are so far ahead of me in C++ that I am in info overload! That is me not you