Self-leveling Servo with Arduino and MPU6050

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ก.ย. 2024
  • Program link drive.google.c...
    Circuit diagram: drive.google.c...
    Tried this self-leveling servo with my MPU6050 IMU. I have this IMU module for years. Previously I used it in head tracking for flight simulation games; it suffers from drifting in yaw axis from time to time but pitch and roll are rock solid. In this self-leveling setup I don't need yaw motion. I might convert it to stepper motor control and use in my robotic arm gripper auto leveling.

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

  • @rtclark4068
    @rtclark4068 7 หลายเดือนก่อน +3

    when the $500 gimbal is too much:

  • @notsogood4321
    @notsogood4321 6 หลายเดือนก่อน

    hi , im trying to do the same thing however after working for about 1 min the code crashes , and the servo stops moving and the serial moniter stops showing any new values , ive tried to follow the link you've provided but the link is broken , any advice would be extremely helpful , thank you

    • @DIY-electronics-automation
      @DIY-electronics-automation  6 หลายเดือนก่อน

      drive.google.com/file/d/1or2p0zRHeqEN0RH59jzgFAFD4ZrZqYE7/view?fbclid=IwAR0jSYM-zWsmWmQ-aSWFTVmqgXU8sWubeuoXPX4pLKIClLqEU2HMgEq41h0
      Thankyou for pointing out the link was broken. Here I posted the link again

    • @notsogood4321
      @notsogood4321 6 หลายเดือนก่อน

      @@DIY-electronics-automation thank you

    • @DIY-electronics-automation
      @DIY-electronics-automation  6 หลายเดือนก่อน

      I also included the circuit diagram; Yaw axis was not implemented in my test.
      @@notsogood4321

    • @DIY-electronics-automation
      @DIY-electronics-automation  6 หลายเดือนก่อน

      I also encountered the same problem when I increased the delay in the main loop. Probably due to MPU6050 FIFO buffer overflow.