HOLLY SMOLLY! Bill ---> Professor of the Year Award from me! I'm not kidding! I've had professors in college who weren't anywhere near as good as you Bill. History lessons: In-depth mathematics lesson on Quarternions. Does all the homework for us finding libraries etc. College Level programming explained in-depth. Unbelievable concise and even animated Schematic Graphics Live in-lab demonstration of the final results. LCD digital readout and an LED graphic display to boot! And if all that isn't already above and beyond the call of duty,... A link to a full web page complete with the same lesson all typed out with graphics, links, and code! Unbelievable! There's just no other word to describe this. You are a Younique TH-camr Bill. To be sure!
@@atlnlgga4568 , if you’re asking whether I’m black, as of black matter; yes I’m black , native African from Tanzania 🇹🇿. Otherwise, I didn't get your question dude, uliza tena tafadhali
I have been watching quite a bit of DroneBot's videos these past few weeks and this one is by far for me the most inspiring! I have to thank whomever it was that suggested the MPU-6050 sensor as a focus, as well as DroneBot of course. His videos are always great. I have a good feeling about where the wheels in my mind are rolling to now!
18:34 The YPR angles drifted like crazy when the IMU sat still… you need to double check the code to see if there’s any compensation or filtering built in…
egads.. I came late to class... I have an mpu-6050 but have not yet had a chance to play with it.. Now I have some great ideas.. thanks Bill.. I don't worry about my ssd because I can't get anything to work on windows 3.1 any more... keep smile Billiam.. life is good... thanks for the share and please carry on.. till thursday!
Absolute genius! Trying to adapt for a different use and the roll is changing way too slowly (unlike the pitch which is spot on). In the vid it responds instantly!
This is another great video from the Dronebot Workshop! I'm looking forward to experimenting with the MPU-6050 after having enjoyed watching this clip.
Can´t install the Jeff libraries. "Error: Request installZip failed with message: 13 INTERNAL: Library install failed: library not valid"... any idea what can be done?
Am I correct in assuming the default orientation of the MPU is with the INT to the bottom left. So X+ goes right and Y+ forward and Z+ Upwards. Which means at 31:02 the X+ is now pointed towards you and Y+ to the right. This would make Pitch+ direction go counter clockwise. Thx
Well... 4 years later. Something is wrong with one of the zip files you've provided for this build. The zip file for the i2c dev lib seems to be overwritten with electronic level sketch.
The link for the NewLiquidCrystal Library on the level sketch is no longer working. Is there an alternative, working link? I am unable to get this project to work without the required libraries. Thanks!
Really cool. I have had one of the 9DOF sensors in my drawer for several years, only tried playing with it a couple of times, didn't find it all that exciting since I am not into drones. Now, however I can see where it may be very handy in my RV for leveling her. The built in sensors are so slow that getting the old gal level enough for both walking and the operation of the frige are essential. I currently use an old spirit level and my wife telling me which way to go with the hydrolic levelers, but this would make life for both of us much easier and lest chaotic when we move to a new site. That is if we can ever get on the road again with this damn virus crap.
Hey, thanks, you are great, your workshop is great, your videos are great . I wish I could drink a cup of coffee with you in your workshop and poke around.
what did you use to mount the MPU6050 to the wood? I keep having difficulties with the MPU6050 connection failing or turning off due to the pins not making proper contact with the holes of the MPU6050, any ideas on how to help maintain this connection? I see that your MPU6050 never turns off even when you turn it many which ways. Thanks in advance!
Just to be extremely precise: the degrees of freedom are not related to the gyroscope. In Mechanics, those degrees of freedom are defined and we know that there are 6 of them: translations along three axes, X, Y and Z, and three rotations around those three axes. A classic mechanical gyroscope remains motionless in space in its initial position and if its supports are moved (for example, an airplane) it gives us data on angle changes.
Be careful here. You need to specify WHAT the degrees of freedom are for. Do you mean DOF for position, acceleration, linear motion ? For the first, there are 6 for 'everyday' use, for the second there are 3, and for the third there are 3. This can be also related to how you think about a problem. For example, we could talk about translation kinetic energy and rotation kinetic energy. Then we might say that we get 6 degrees of freedom, but we only have 2 because kinetic energy is not a vector, so direction (or rotation axis) in space does not matter.
@@SK-ow4vw The degrees of freedom are generic and not related to any physical phenomenon. This means that a body can simultaneously move and rotate around all three axes of the Cartesian system. This further means that the body is free in space. By taking away one freedom at a time, in the end when we take away all 6, the body will be immobile in space. It has nothing to do with energy, acceleration, etc.
@@pecilijevelicanstveni4973 Then we have simply a difference of opinion of 'terminology". I looked therefore on wiki for what might be considered 'general' usage of the term 'degrees of freedom'. You see in that short article it is indeed related also to physical phenomena. Take for, example the number of degrees of freedom of movement of a linear and non-linear molecule: these are different. Take for another example the independent parameters assigned to a pixel on a color display. This could be three to describe the color and one for intensity, but perhaps you are also interested in position of the pixel on the screen, this could be another two parameters x and y, but it might just be one parameter if you already know the number of pixels on one line so you assume wrap around to the next line. In that case you only need one parameter for position. So if we are to use 'degrees of freedom' as number of independently variable parameters then it does indeed depend on how you think about the problem.
Nice video and gave me an idea to build an joystick that does not rely on potentio meters but can use the gyro. just to see if I get better and finer results compared to a analog joystick
I've had no luck trying to use Jeff Rowberg's libraries or sketches. The connection to the mpu6050 fails. Same story with the adafruit mpu6050 library. However, the mpu6050_tokn library works without any issue. I don't understand
I can understand that the digital spirit level needs only roll and pitch, (a) if for any purpose, I needed Yaw, then can it be done on similar lines as the sensor has 3 DOF? (b) If two of the MPU6050s are placed perpendicular to each other, will I have all three parameters of Roll, Pitch and Yaw?
(a) The internal registers of the 6050 chip are (in decimal) 59 and 60 for X acceleration , 61 and 62 for the Y acceleration, and 63 and 64 for the Z acceleration. The first register of each is the high byte. You can probe all three registers and then get all three axes. (b) No need for a second chip to get 3-D orientation.
When the MPU is first initialized and calibrated on a level surface are the results stable or do they drift over time? If there is drift how often would the lever require a reset?
Excellent video, as per (how soon we take perferection for granted). Am I correct in assuming that the initial calibration should be done on a levelled surface. As this will be the "zero" attitude for all future calculations?
you can do the initial calibration while not being on a leveled surface. You can use the accelerometer values for the calibration of the gyro to "tell" it in what position it is in.
what about to get aceleration data how do you get those because roll pitch and yaw are only using the gyroscope so how would we ca tthe aceleration using that code
Because of wonderful creators like you, I am able to learn and grow so much! Thank you!
You are so welcome!
HOLLY SMOLLY!
Bill ---> Professor of the Year Award from me!
I'm not kidding! I've had professors in college who weren't anywhere near as good as you Bill.
History lessons:
In-depth mathematics lesson on Quarternions.
Does all the homework for us finding libraries etc.
College Level programming explained in-depth.
Unbelievable concise and even animated Schematic Graphics
Live in-lab demonstration of the final results.
LCD digital readout and an LED graphic display to boot!
And if all that isn't already above and beyond the call of duty,... A link to a full web page complete with the same lesson all typed out with graphics, links, and code!
Unbelievable! There's just no other word to describe this.
You are a Younique TH-camr Bill. To be sure!
yes! but subs don't say that 😢😢😢
youLamewhlteboi
Thanks for another great tutorial. Excellent pun at 7:56 -- " ... the MPU6050 that IMUsing ... "
An eye opener to the device.
Thanks
Greetings from Tanzania 🇹🇿
you black?????
@@atlnlgga4568 , if you’re asking whether I’m black, as of black matter; yes I’m black , native African from Tanzania 🇹🇿.
Otherwise, I didn't get your question dude, uliza tena tafadhali
I have been watching quite a bit of DroneBot's videos these past few weeks and this one is by far for me the most inspiring! I have to thank whomever it was that suggested the MPU-6050 sensor as a focus, as well as DroneBot of course. His videos are always great. I have a good feeling about where the wheels in my mind are rolling to now!
you Iamewhlteboi
18:34 The YPR angles drifted like crazy when the IMU sat still… you need to double check the code to see if there’s any compensation or filtering built in…
This was something I had been googling for, and I found a full explanation, thanks for your work, it seems selfless, we are grateful
egads.. I came late to class... I have an mpu-6050 but have not yet had a chance to play with it.. Now I have some great ideas.. thanks Bill.. I don't worry about my ssd because I can't get anything to work on windows 3.1 any more... keep smile Billiam.. life is good... thanks for the share and please carry on.. till thursday!
youIame whlteboi
@@atlnlgga4568 Thanks!
Thanks!
Thank you as well!
Your explanations are very welcome and clear. We only had to change the LCD adress to let the code provided for the level work.
you Iamewhlteboi
How ?
What an excellent teacher you are sir. You really are superb at putting information across in a very clear and measured manner. Keep up the good work!
you Iamewhlteboi
Fantastic, I was looking for something I could use for an automatic leveling system on a camper van and I think this will be perfect, thanks.
youLamewhlteboi
Thanks for the regular videos and the education they provide. Keep up the great work.
Thanks a lot Bill , you are the best instructor
As usual highly professional and pragmatic delivery
YouLAMEwhlteboi
This channel is inspiring so many ideas. Another device to be added to an upcoming project.
you Iamewhlteboi
Absolute genius! Trying to adapt for a different use and the roll is changing way too slowly (unlike the pitch which is spot on). In the vid it responds instantly!
YouLAMEwhlteboi
An exquisite source; so well done. Thank Bill so much for your dedication to electronic experiments.
you Iamewhlteboi
awesome…you are 1000x better than my lecturers…full respect from me 💋
you Iamewhlteboi
This is another great video from the Dronebot Workshop! I'm looking forward to experimenting with the MPU-6050 after having enjoyed watching this clip.
you Iamewhlteboi
The library you used doesn't work with ESP32-C3. The MCU crashed during initialization. I used MPU-6050-Fusion instead.
I can not thank you enough for all these projects you make easy to understand keep on doing amazing work :)
you Iamewhlteboi
actually the I2C12 zip file is not on your website instead it is the zip file with the aurduino code for the level
BEST Arduino professor.
youLAMEazz whlteboi
Thanks for this Bill, been waiting for this!
youIameazz whlteboi
I Love your video The why u explain huge Fann Sir Love From Pakistan
how do you handle drift though? I've found these have a bad tendency to lose their position very quickly, even when not in motion.
Very good explained. Thanks for the helpful tutorial!
As usual , a fantastic video. I cannot thank you enough .
It's the best lecture ever.
There is something I want to do.
I want to get more than 3 mpu6050s connected to one Arduino Uno.
I'm a novice at Arduino.
you Iamewhlteboi
This build is perfectly balanced. As all things should be.
youIame whlteboi
Well BALANCED episode
youLAMEazz whlteboi
Your channel is indispensable.
youIame whlteboi
Greetings from Greece. Grate video
Thank you very much for the wonderful video and for providing the libraries that work! You have been of great help to complete my Arduino projects. :)
you Iamewhlteboi
Thank you very much for the best arduino tutorial ever!
Greetings from IRAN
youIameazz whlteboi
Can´t install the Jeff libraries. "Error: Request installZip failed with message: 13 INTERNAL: Library install failed: library not valid"... any idea what can be done?
Thanks Sir for this video. I cannot emphasise how much this video helped me. Please keep coming with such videos.🥰
Useful and very good video 👍
YouLAMEwhlteboi
i think the "w" is an omega?
the real part of a complex number is typically represented by a miniscule omega (which looks like a lowercase w)
Always great informative videos and excellent content and very thorough. I look forward to every one.
you Iamewhlteboi
Superb! Video. Thank you so much!!!
As always, great and comprehensive video.
YouLAMEwhlteboi
Am I correct in assuming the default orientation of the MPU is with the INT to the bottom left. So X+ goes right and Y+ forward and Z+ Upwards. Which means at 31:02 the X+ is now pointed towards you and Y+ to the right. This would make Pitch+ direction go counter clockwise. Thx
Also at 31:02 the Yaw would 90?
youIame whlteboi
Great video as always.Thanks for sharing.
YouLAMEwhlteboi
Well... 4 years later. Something is wrong with one of the zip files you've provided for this build. The zip file for the i2c dev lib seems to be overwritten with electronic level sketch.
I think the I2Cdev file is available elsewhere on the internet.
Really enjoyed this video. I've never this type sensor before. Thanks.
you Iamewhlteboi
thank you for another great video Bill. If I might say it would have been nice had you shown how to install the libraries in the ide.
you Iamewhlteboi
Very Useful for me as I am trying to build an rc airplane flight controller/stabilizer.
The link for the NewLiquidCrystal Library on the level sketch is no longer working. Is there an alternative, working link? I am unable to get this project to work without the required libraries. Thanks!
Were you ever able to get it? Because I cannot
youIameazz whlteboi
Well done !
I am glad I found this channel.
youIameazz whlteboi
Please do not forget the XOD. It would be interesting and useful. Nobody make a tutorial for XOD, but you. Thanks a lot.
YouLAMEwhlteboi
Thank you so Much. A very very useful video .
Incredibly helpful.
YouLAMEwhlteboi
can someone give me the NewLiquidCrystal Library for I2C used in this video?
because the link on this website is dead and can't be downloaded anymore
youLAMEazz whlteboi
i spent like four days trying to manually communicate via I2C and interpret the IMU + gyro myself (and failed)
thanks for pointing out these libraries
It occurred to me that this video may be quite useful for the amateur rocket-building community due to the gyro & accelerometer information.
you Iamewhlteboi
The link in the article with the code for the liquid crystal library needs to be updated... it took me to an error ☹️☹️☹️☹️
youLAMEazz whlteboi
Great video thankyou, I used it to test my new mpu 6050 boards.
youIame whlteboi
Would you explain it to me why you didn't use pull up resistors and the i2c pins on right top (18 and 19)?
Thanks for the explanatory video.
I think that the gy-521 module has inbuilt pull-up resistors.
I have a problem with I2C Development Library, when I download zip file and try to install it, it says that zip file doesnt contain library. Its empty
Is the download link broken? Error: 13 INTERNAL: Library install failed: moving extracted archive to destination dir: library not valid
Thank god I found this. Just discovered a new hobby!
youIameass whlteboi
Hey @DroneBot Workshop, can this device give live update of coordinates of accelerometer? Like every second?
Really cool. I have had one of the 9DOF sensors in my drawer for several years, only tried playing with it a couple of times, didn't find it all that exciting since I am not into drones. Now, however I can see where it may be very handy in my RV for leveling her. The built in sensors are so slow that getting the old gal level enough for both walking and the operation of the frige are essential. I currently use an old spirit level and my wife telling me which way to go with the hydrolic levelers, but this would make life for both of us much easier and lest chaotic when we move to a new site. That is if we can ever get on the road again with this damn virus crap.
YouLAMEwhlteboi
Thank you for the perfect demonstrations. I would be grateful for the ATtiny microprocessor projects.
you Iamewhlteboi
Thank you for making these awesome videos.
YouLAMEwhlteboi
Happy New Year!!!
Thanks for helping get through Uni.
youIame whlteboi
This is really great stuff! Thanks a bunch.
you Iamewhlteboi
@@atlnlgga4568 watch it, boy
Hey, thanks, you are great, your workshop is great, your videos are great .
I wish I could drink a cup of coffee with you in your workshop and poke around.
youIame azz whlteboi
The man is just sooo good
youIameazz whlteboi
really very good explain i have one question i want to control a moving platform its having 4 wheels connected with
If that's a question, you need to be more specific. What is this "4 wheeled moving platform" supposed to do? Why do you need an IMU for it?
YouLAMEwhlteboi
what did you use to mount the MPU6050 to the wood? I keep having difficulties with the MPU6050 connection failing or turning off due to the pins not making proper contact with the holes of the MPU6050, any ideas on how to help maintain this connection? I see that your MPU6050 never turns off even when you turn it many which ways. Thanks in advance!
Just to be extremely precise: the degrees of freedom are not related to the gyroscope. In Mechanics, those degrees of freedom are defined and we know that there are 6 of them: translations along three axes, X, Y and Z, and three rotations around those three axes.
A classic mechanical gyroscope remains motionless in space in its initial position and if its supports are moved (for example, an airplane) it gives us data on angle changes.
Be careful here. You need to specify WHAT the degrees of freedom are for. Do you mean DOF for position, acceleration, linear motion ? For the first, there are 6 for 'everyday' use, for the second there are 3, and for the third there are 3. This can be also related to how you think about a problem. For example, we could talk about translation kinetic energy and rotation kinetic energy. Then we might say that we get 6 degrees of freedom, but we only have 2 because kinetic energy is not a vector, so direction (or rotation axis) in space does not matter.
@@SK-ow4vw The degrees of freedom are generic and not related to any physical phenomenon. This means that a body can simultaneously move and rotate around all three axes of the Cartesian system. This further means that the body is free in space. By taking away one freedom at a time, in the end when we take away all 6, the body will be immobile in space. It has nothing to do with energy, acceleration, etc.
@@pecilijevelicanstveni4973 Then we have simply a difference of opinion of 'terminology". I looked therefore on wiki for what might be considered 'general' usage of the term 'degrees of freedom'. You see in that short article it is indeed related also to physical phenomena. Take for, example the number of degrees of freedom of movement of a linear and non-linear molecule: these are different. Take for another example the independent parameters assigned to a pixel on a color display. This could be three to describe the color and one for intensity, but perhaps you are also interested in position of the pixel on the screen, this could be another two parameters x and y, but it might just be one parameter if you already know the number of pixels on one line so you assume wrap around to the next line. In that case you only need one parameter for position. So if we are to use 'degrees of freedom' as number of independently variable parameters then it does indeed depend on how you think about the problem.
Nicely explaind! Especially the graphics!!
you Iamewhlteboi
Great job 👍👍👍
youIame azz whlteboi
Nice video and gave me an idea to build an joystick that does not rely on potentio meters but can use the gyro.
just to see if I get better and finer results compared to a analog joystick
youIame whlteboi
You're awesome. Thank you!
youIame whlteboi
great explanation. you are a hero!
YouLAMEASSwhlteboi
I've had no luck trying to use Jeff Rowberg's libraries or sketches. The connection to the mpu6050 fails. Same story with the adafruit mpu6050 library. However, the mpu6050_tokn library works without any issue. I don't understand
bad pun counter: 1 well-balanced video
Thank you sir this was very helpful!
you Iamewhlteboi
nice but as you only lit one LED at a time, you could save 4 resistors and only put one on the common ground wire of the LEDs ;-)
YouLAMEwhlteboi
I wish we could somehow put one 6050 horizontally and one 6050 vertically and calculate yaw angle. I need to buy BNO055 now 😢
Exactly what I was looking for. Thanks. I would like you to think about the thermometer for extreme conditions like sauna.
Take note what Bill said in this video; only accept request from News Letter subscribers.
you Iamewhlteboi
I have been wanting to use one on an RC Submarine for automatic leveling.
Hi! How long could be the cable from the "UNO" to the sensor, in other words, how far away could be the sensor from the controller?
The way you explain this stuff is really awesome! Make More videos please.subscribed to channel and news letter
you Iamewhlteboi
I can understand that the digital spirit level needs only roll and pitch, (a) if for any purpose, I needed Yaw, then can it be done on similar lines as the sensor has 3 DOF? (b) If two of the MPU6050s are placed perpendicular to each other, will I have all three parameters of Roll, Pitch and Yaw?
(a) The internal registers of the 6050 chip are (in decimal) 59 and 60 for X acceleration , 61 and 62 for the Y acceleration, and 63 and 64 for the Z acceleration. The first register of each is the high byte. You can probe all three registers and then get all three axes.
(b) No need for a second chip to get 3-D orientation.
which software u use to draw the circuit. Could pls tell me so that it is helpful for my project. Thank you
When the MPU is first initialized and calibrated on a level surface are the results stable or do they drift over time? If there is drift how often would the lever require a reset?
So professional ! Bravo !!!
you Iamewhlteboi
video starts from 3:00
thank you
YouLAMEASSwhlteboi
Excellent video, as per (how soon we take perferection for granted). Am I correct in assuming that the initial calibration should be done on a levelled surface. As this will be the "zero" attitude for all future calculations?
you can do the initial calibration while not being on a leveled surface. You can use the accelerometer values for the calibration of the gyro to "tell" it in what position it is in.
you Iamewhlteboi
what about to get aceleration data how do you get those because roll pitch and yaw are only using the gyroscope so how would we ca tthe aceleration using that code
Hello I have tried your code but I got error for setup_mpu_6050_registers().. May I know why I get the error?
Thank you very much sir for making the video that I requested for.
YouLAMEwhlteboi
Love this project