4 | How to use the MPU6050 with Arduino and Teensy
ฝัง
- เผยแพร่เมื่อ 25 ก.ค. 2022
- This video explains how to use the MPU-6050 for the measurement of the roll, pitch and yaw rotation rates. You will learn how to connect the GY-521 breakout board to your Teensy 4.0 microcontroller and how to access the rotation rate measurements.
The purpose of this video series is to learn the basics behind a quadcopter drone and enable you to build one yourself, by dividing this challenging project in several easy-to-understand parts. You use the capable Teensy 4.0 microcontroller together with the easy-to-use Arduino language.
Full code available on GitHub: github.com/CarbonAeronautics - วิทยาศาสตร์และเทคโนโลยี
Excellent explanation of setting up the MPU-6050. I'm building a car that is self-directed and all the other videos made it crazy complex just to make a car drive straight. Thanks for this.
Wow! That's really nice explanation. I have been searching the whole internet for such explanation. You really went into clearly explaining every part really nice.
I are really good at teaching bro! Thank you
Nice video! One Quick question: 1) I would like to know the time period for the above calculation which I could use to compute roll, pitch and yaw in angles. Displaying roll, pitch, yaw in angles would enable the user to verify and validate the rotation undergone by the sensor instantly. Thank you.
WORKS PERFECTLY FINE THANKS FOR THE VID
God bless you. please keep uploading a good content like this, I would love to buy you a coffee
I am planning to use an esp32 based NODEMCU instead of a teensey. Do you believe it will be powerful enough to do exactly what you are doing?
Can you make a video on how to turn these two into an artificial horizon?
Hello! Great video
I am currently developing a thrust vectoring system that also works with the exact same IMU. However I am having a lot of trouble since I cannot get my MPU6050 to provide reasonable values, I am getting enormous spikes in angular rates with the slightest disturbance in orientation. I have tried all sensitivities but it did not work. I would appreciate some help.
Thank you
Could explain dividing by LSB please?
Are we accessing the data from the DMP in this case? Thanks in advance.
Hi Regarding pin 13, Output, i am using a totally different arduino board, ESP32, do i also set it as pin 13 ? and what does pin 13 control ?
It seems to turn on the internal LED. He used it in video 2
6:48 , why didn't you set '1' at DEVICE_RESET ?
Thank you so much for this video, and all the explanations. It's so helpful for understanding the chip and how it communicates. I am very thankful for your videos 🙏❤
I can’t get time to print on the far left side of the serial monitor, is this a tiny only thing or can this work on the uno r3?
Can Teensy be replaced with other chips? for example raspberry pico pi? Thanks
why not? you can even use cheap board like ESP32 , the code optimisation is upto you tho . Whatever you use just mind the available RAM and processor clock speed, you probably don't want to use these cheap boards for a good drone . but for micro drones based on coreless motors you can obviously go with cheaper things
@@P0K0thanks.The Teensy board is too expensive so I will use cheap chip and motors to make a micro drone.
@@user-wp5ut9du5r that's great man . I'm poor so I'll go with coreless motor cheap drone too . probably with esp32 , haha 😂 it's just a dream of mine to create and fly one doesn't matter if it's fall into toy catagory .
My Roll Rate is -0.02 and Pitch Rate is -0.02
same ive been trying this esp32 and this is exatly my problem . Did you find any solution?
I had the same problem. When I ran the IC2 scanner in the IDE example tab, it returned "No I2C devices found." I checked my wires, and my ground was disconnected.
hum?