STM32 SPI: MPU9250 IMU detailed guidance

  Рет қаралды 9,893

Steppe School

Steppe School

Күн бұрын

Пікірлер: 24
@steppeschool3629
@steppeschool3629 2 жыл бұрын
Complete guidance on Euler angles and quaternions computation using IMU sensors can be found in my course: www.steppeschool.com/courses/stm32-hal-orientation-estimation The code is available on: github.com/Steppeschool/STM32-MPU9250-Example
@camilolopezcalvache6205
@camilolopezcalvache6205 Жыл бұрын
I from Colombia, I watch your videos about imu sensors. I would like You to continue with the imu icm sensor configuration series.
@steppeschool3629
@steppeschool3629 Жыл бұрын
Hi, I appreciate your interest in my channel. Soon, I will release new videos about the ICM-20948 sensor. If you have not subscribed, do not forget to subscribe to avoid missing out on new videos. Also, you can get up-to-date info and source code on my Patreon page: www.patreon.com/user?u=80399744
@arjunsivasankar1427
@arjunsivasankar1427 Жыл бұрын
hello sir, thank you very much for the videos you have posted till now/ could you please post a video on how to initialize the swv data tracking timeline graph, and how to use them for I2C connections as well. that would be really helpful for my project.
@onyinyechichukwuma689
@onyinyechichukwuma689 Жыл бұрын
Very helpful. Thanks :)
@steppeschool3629
@steppeschool3629 Жыл бұрын
Glad it was helpful!
@toorikul
@toorikul 4 ай бұрын
great video sir
@jayarangarakesh4581
@jayarangarakesh4581 Жыл бұрын
For accessing the full scale range using mpu9250_write_reg() function, why are you sending the register without write bit? I could see you have just send 0x28 as address. Are you not sending the write bit because the write bit is "0"?
@steppeschool3629
@steppeschool3629 Жыл бұрын
Yes, you are right. The most significant bit is 0 for a write operation and '1' for read operation
@rohitsinghbhadauria5543
@rohitsinghbhadauria5543 Жыл бұрын
Hii, I am using imu icm-42688 with stm32 nucleo-144 board. Here, i am trying to read WHO_AM_I register value but output i am getting is 0xFF or 0x0. I dont know what is going wrong
@steppeschool3629
@steppeschool3629 Жыл бұрын
Hi, Are you sure that the wirings are correct? Once you verify it, check the register address and other small details. Usually, the problem originates from a place you least expected
@rohitsinghbhadauria5543
@rohitsinghbhadauria5543 Жыл бұрын
Actually I got the output but it's not working on setting frequency of spi above 2Mhz
@electro.engineering
@electro.engineering 2 жыл бұрын
Could you please explain the prescaler that you use in the beginning of the video? Why did you choose that value, how does it affect the process? Thanks.
@steppeschool3629
@steppeschool3629 2 жыл бұрын
Hi, The prescaler defines the speed (frequency) of the SPI protocol: SPI speed = clock frequency / (prescaler + 1) Usually, every chip has a maximum SPI speed it can support. Based on this info, you set the prescaler. However, if time is not critical, you can set higher prescaler to have lower speed. Did I answer your question?
@electro.engineering
@electro.engineering 2 жыл бұрын
@@steppeschool3629, you did. Thank you very much. Greetings from 🇩🇪.
@arjunsivasankar1427
@arjunsivasankar1427 Жыл бұрын
why did u perform this operation uint8_t temp_data = 0x80|reg; from did that 0x80 came ?
@steppeschool3629
@steppeschool3629 Жыл бұрын
Hi, For a read operation, you have to set the most significant bit. That is why I added 0x80
@rhamarn.6586
@rhamarn.6586 Жыл бұрын
Hello friend, my scale setting on the accelerometer is not working, it is only in 2g mode. MPU9250
@steppeschool3629
@steppeschool3629 Жыл бұрын
Hi, What value did you set for register 28 (accelerometer configuration register)?
@isaacclark9825
@isaacclark9825 2 жыл бұрын
Not sure if it matters to you, but this particular IMU, the MPU9250 is no longer manufactured. There are still some around.
@steppeschool3629
@steppeschool3629 2 жыл бұрын
thanks for insightful information
@shamssalehin2376
@shamssalehin2376 6 ай бұрын
I bought one board, thats fake ic
@bobby9568
@bobby9568 Жыл бұрын
Very cool
@steppeschool3629
@steppeschool3629 Жыл бұрын
Thanks😀
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
STM32 ADC Complete Guidance: Polling, Interrupt, and DMA Modes.
17:55
Steppe School
Рет қаралды 4,7 М.
15 | Combine a gyroscope and accelerometer to measure angles - precisely
9:49
14 | Measure angles with the MPU6050 accelerometer
13:03
Carbon Aeronautics
Рет қаралды 169 М.
Accelerometers and Gyroscopes - Sensor Fusion #1 - Phil's Lab #33
14:50
MPU9250 Quickstart
4:56
머잉
Рет қаралды 7 М.
PART I: STM32 HAL I2C and MPU6050 IMU
13:49
Steppe School
Рет қаралды 24 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН