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 - วิทยาศาสตร์และเทคโนโลยี
This was amazing. Thank you for it. Please make more.
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.
Thanks for the in-detail explanation.
You're welcome!
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.
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!
You're welcome!
Great video. really helpful. Thanks a lot.
You're welcome!
thank you man...😻
Thanks! Awesome
Fantastic sr....thank you for share .....save my university research...great video and coments....i'm your fan ....
Welcome!
great video!
Thanks!
Very good!
Thanks!
Nice!
Thanks!
You are great! However you are so far ahead of me in C++ that I am in info overload! That is me not you
Thanks!