How to use IMU with Raspberry Pi

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ต.ค. 2024
  • In this tutorial I explain how to use IMU with Raspberry Pi. Also, basic information about sensors used in IMU is explained.
    Here is the project file
    drive.google.c...
    Here is the sensor used in this tutorial
    www.adafruit.c...

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

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

    Excellent! As usual it is educational, concise and precise.

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

      Hi cmtro!
      I am glad if this video has helped you!

  • @JohnBo199
    @JohnBo199 8 หลายเดือนก่อน

    Great video!! I have one question left tho. What exactly is the difference between a IMU and a MEMS? Do they work together? Maybe you can help me to answer my question to get better understanding. Thanks a lot :-)

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

      Hi Jonathan Edling!
      Thanks for watching my video!
      In my understanding, MEMS itself is a sensor (accelerometer, gyroscope). And IMU consists of several sensors (often MEMS sensors), circuit and a program. I also found an interesting article. I hope it will help you.
      www.geospatialworld.net/prime/special-features/difference-between-mems-fog-imus/

    • @JohnBo199
      @JohnBo199 8 หลายเดือนก่อน

      Thank you! Great article ❤

  • @Anatiger.
    @Anatiger. 8 หลายเดือนก่อน

    Can you use a BNO055 instead of the IMU that you use? If so what can I change in the python code to make it work for the BNO055? Thank you!

    • @robotmania8896
      @robotmania8896  8 หลายเดือนก่อน

      Hi SusDio!
      Thanks for watching my video!
      Yes, the code provided with my video should work with BNO055. Please refer to this page to use BNO055 libraries.
      learn.adafruit.com/adafruit-bno055-absolute-orientation-sensor/python-circuitpython

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

    hey i am a little bit confused on how to use mpu9250 with raspberry pi4. i need to use it for keeping track on oriantation of my project rc car

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

      Hi Akshat Singh!
      Thanks for watching my video!
      What problem exactly do you have with mpu9250?

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

    Hi, do you think that signal could be more accurate using a raspberry instead of an esp32 wroom 32??? I need a very accurate X movement signal. Thanks

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

      Hi Dj Kad aka MC!
      I have never used esp32-wroom-32, so I cannot tell you for sure, but if the computational capabilities of these two devises are the same, I don’t think that there will be any difference.

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

      Thanks. I think esp32 have enough resource. Probably i should focus on the MEMS chip specs. I'm starting with mpu6050. If i need more accurated signal i will buy a MPU9250 because has better performance. If it's not enough i will buy an expensive ADIS16470. It's a very important project

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

    I got a question: can I use ubuntu os22.04 with imu bno055 this code be active?

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

      Hi Tân Lê Thái!
      Thanks for watching my video!
      I think you can use bno055 with ubuntu22 using this library
      rpi-lgpio.readthedocs.io/en/latest/
      But the code provided with this tutorial is not applicable for ubuntu22.

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

    it shows an error after the "pip3 install imufusion" i don't know why, help please

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

      Hi Michelle HC!
      Thanks for watching my video!
      What kind of error do you have?

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

      @@robotmania8896 go the same error, it says "ERROR: Could not find a version thta satisfies the requirement imfusion"

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

      @@psamae I think it could be a python version problem. Which version of python are you using?

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

      @@robotmania8896 I am on python 3

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

      @@psamae Which version of python3 exactly? It seems that “imufusion” is provided only from python3.8.
      pypi.org/project/imufusion/1.0.6/#files