Это видео недоступно.
Сожалеем об этом.

STM32 ICM-20948 IMU Part 1: accelerometer and gyroscope | Do not use MPU6050 and MPU9250!

Поделиться
HTML-код
  • Опубликовано: 17 авг 2024

Комментарии • 25

  • @steppeschool3629
    @steppeschool3629  Год назад

    Complete guidance on ICM20948 along with attitude estimation using Euler angles and quaternions can be found in my course:
    www.steppeschool.com/courses/stm32-hal-orientation-estimation
    The source code is available on Patreon page:
    www.patreon.com/user?u=80399744

  • @cglike
    @cglike Месяц назад +1

    Here is a note in datasheet,
    `Low Byte of Gyroscope Y-axis data.
    To convert the output of the gyroscope to angular rate measurement use the
    formula below:
    Y_angular_rate = GYRO_YOUT/Gyro_Sensitivity`
    What is Gyro_Sensitivity ?

    • @steppeschool3629
      @steppeschool3629  Месяц назад

      You just define the full-scale range (250 dps, 500 dps, etc) using a register of the IMU senor. Based on that you can compute the gyro sensitivity. For the full info, you can refer to my course:
      www.steppeschool.com/courses/stm32-hal-orientation-estimation

  • @cybermascot
    @cybermascot Год назад +4

    That's an excellent series and can we expect a kalman filter processing for IMU video ?

    • @steppeschool3629
      @steppeschool3629  Год назад +2

      Hi,
      Thanks a lot. I am currently working on releasing new videos about attitude estimation based on the Kalman filter. However, it will take 1-2 months, not weeks. So stay tuned, and do not forget to subscribe😀

  • @theintjengineer
    @theintjengineer Год назад +1

    Given that accessing the GPIOs [externally, from say a breakout board, or with external sensors] with my STM32H757i-Evaluation Board is a PITA, today I ordered the H745I-DISCO Board [H747 out of stock everywhere :/], so that I get the STMod+ I/O Expansion and can connect external stuff more easily. I also bought the BMI088 IMU, so that I could learn some SPI and some general interfacing. Do you think I picked a good IMU or is it trash? There were a lot of them, so, hard to decide haha.
    Your channel is great. Also, congrats on the setup.
    I only wish there were more Dual Core Tutorials on the Web, and also C++ Projects though. But it seems everything is Single-Core only, and I don't have a single-core board. I also don't really have a problem with C, it's just that I am actually a C++ Programmer ^^

    • @steppeschool3629
      @steppeschool3629  Год назад

      Hi,
      Regarding BMI088, it is a good IMU sensor. It has a wide measurement range and selectable data rates up to 2 kHz. The only drawback is it does not possess a magnetometer.
      Thanks for finding my content interesting.
      You are correct that my projects are mostly related to microcontroller programming. However, in the near future, I plan to add more projects using knowledge from multiple disciplines.

  • @liuyepin9825
    @liuyepin9825 Год назад +1

    Yes , we don’t use the MPU9250 because it is in stop production, there is too many fake chips in the market

    • @WhatAmIGonnaGet
      @WhatAmIGonnaGet Год назад

      Hello. Do you know if or what difference this chip compared to a MPU9250 (if it were authentic) or a MPU6050 ?
      I thought this video would explain, maybe I missed it. A whole lot of "how to interface" is good and might be a more applicable title.

    • @steppeschool3629
      @steppeschool3629  Год назад

      Hi,
      MPU6050 does not have a magnetometer. That is the main difference. Compared to MPU9250, ICM-20948 has low-power capabilities and can estimate the attitude (quaternions) inside of the chip. There are other minor differences as well.

  • @user-mm7li9yr6o
    @user-mm7li9yr6o Год назад +1

    Hey
    In the end of the video you have a output on your gyroscope that says around 4000 on the x-axes, why is that when it is laying still?

  • @liuyepin9825
    @liuyepin9825 Год назад +1

    Very great video , can I watch your schematic ,I think the icm20948 is fonctionne under 1.8v, but the Gpios of STM32 is 3.3v, how do you solve this problem?

    • @steppeschool3629
      @steppeschool3629  Год назад

      Thanks a lot.😀
      If you check the datasheet, no maximum voltage is specified for SPI (page 14, VIH-VOH ). So it should work fine with 3.3 Volts. However, when using I2C, you must consider the voltage level.

  • @alexisdevillard
    @alexisdevillard Год назад +1

    Awesome!

  • @andreyl2705
    @andreyl2705 Год назад +1

    nice work)

  • @eyal4
    @eyal4 Год назад +1

    i didnt get why is this better than the mpu9250 and mpu6050, it has the same resulotion and setting according to the datasheet

    • @steppeschool3629
      @steppeschool3629  Год назад +2

      The main reason to switch to a new sensor is that old sensors will be obsolete, meaning they will not be produced at some point. Also, they might be the same in terms of resolution, but a new sensor has low-power capabilities and a digital motion processor.

    • @eyal4
      @eyal4 Год назад +1

      @@steppeschool3629 the mpu9250 also has DMP, and cost ×10 times less than the icm20948.
      There is no reason why they will be obsolete. And except from very small devices that needs low power sensors, I can't see what is the advantage.

    • @steppeschool3629
      @steppeschool3629  Год назад +2

      @@eyal4 We do not collectively decide whether the sensor gets obsolete or not. It is the manufacturer who decides this. And if you check the official website, it is written that the mpu9250 sensor is obsolete, meaning they are not manufactured anymore.

    • @WhatAmIGonnaGet
      @WhatAmIGonnaGet Год назад +1

      ​@@eyal4 Obsolete when? In my lifetime? I wish I could find myself into a position where the application I produced would use up the existing world supply of MPU9250 sensors. I would use 1 or 3 to check if I get my project to work, maybe.
      If I would struggle just as hard to get a $40 sensor to work, equal to the labor as a $6.00 sensor, it makes no sense to me at all.
      If any sensor works stable, easy to use without 6 months of geometry education and inertial physics study - then clearly a $40 sensor worth buying over a $6.00 cheap sensor.

  • @MrTough-dw7ot
    @MrTough-dw7ot 4 месяца назад

    which filter did you applied?

    • @steppeschool3629
      @steppeschool3629  4 месяца назад

      I did not use any external filter, just filters inside the IMU