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
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    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.

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

    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

  • @DeeAviator1
    @DeeAviator1 7 หลายเดือนก่อน

    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.

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

    WORKS PERFECTLY FINE THANKS FOR THE VID

  • @fauzansyauqi2815
    @fauzansyauqi2815 3 หลายเดือนก่อน

    God bless you. please keep uploading a good content like this, I would love to buy you a coffee

  • @aradhyagaonkar9542
    @aradhyagaonkar9542 7 หลายเดือนก่อน +1

    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?

  • @FlightHeroRC1
    @FlightHeroRC1 9 หลายเดือนก่อน +1

    Can you make a video on how to turn these two into an artificial horizon?

  • @nax3736
    @nax3736 11 หลายเดือนก่อน

    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

  • @claygoober
    @claygoober 3 หลายเดือนก่อน

    Could explain dividing by LSB please?

  • @marcel-dennisboerzel7902
    @marcel-dennisboerzel7902 17 วันที่ผ่านมา

    Are we accessing the data from the DMP in this case? Thanks in advance.

  • @TanYihua-ge4yd
    @TanYihua-ge4yd ปีที่แล้ว +4

    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 ?

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

      It seems to turn on the internal LED. He used it in video 2

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

    6:48 , why didn't you set '1' at DEVICE_RESET ?

  • @thinkingthing4851
    @thinkingthing4851 6 หลายเดือนก่อน +1

    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 🙏❤

  • @initiald975
    @initiald975 13 วันที่ผ่านมา

    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?

  • @user-wp5ut9du5r
    @user-wp5ut9du5r 5 หลายเดือนก่อน +1

    Can Teensy be replaced with other chips? for example raspberry pico pi? Thanks

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

      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

    • @user-wp5ut9du5r
      @user-wp5ut9du5r 4 หลายเดือนก่อน

      @@P0K0thanks.The Teensy board is too expensive so I will use cheap chip and motors to make a micro drone.

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

      @@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 .

  • @rickygoings4823
    @rickygoings4823 8 หลายเดือนก่อน +1

    My Roll Rate is -0.02 and Pitch Rate is -0.02

    • @krishnatechnology5952
      @krishnatechnology5952 7 หลายเดือนก่อน

      same ive been trying this esp32 and this is exatly my problem . Did you find any solution?

    • @Eric-ku6cy
      @Eric-ku6cy หลายเดือนก่อน

      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.

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

    hum?