PART I: STM32 HAL I2C and MPU6050 IMU

  Рет қаралды 24,967

Steppe School

Steppe School

Күн бұрын

Пікірлер: 28
@steppeschool3629
@steppeschool3629 11 ай бұрын
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
@azmainyousuf5172
@azmainyousuf5172 Жыл бұрын
How are you getting the output in the SWV ITM Data Console
@emyemy7504
@emyemy7504 6 ай бұрын
Great Job. How do I get to interface mpu6050 with stm32 so that I only get readings anytime there is an interrupt coming from the interrupt pin of the mpu6050 when there is linear or rotational movement?
@steppeschool3629
@steppeschool3629 6 ай бұрын
The easiest solution will be using the timer update interrupt in STM32 MCUs. Every time this event occurs, you can sample the IMU sensor.
@steppeschool3629
@steppeschool3629 6 ай бұрын
What if you use the external interrupt to trigger reading the IMU sensor?
@walidazerkane9430
@walidazerkane9430 Жыл бұрын
Hello can u explain are you using bit-shifting method for the device address?
@steppeschool3629
@steppeschool3629 Жыл бұрын
Hello, If you want to know more about bit shifting, you can check my course: www.steppeschool.com/courses/stm32-programming-course
@peacefighter3559
@peacefighter3559 Жыл бұрын
console is not showing anything, swv is enabled, clock is set properly and the code is running the printf-states (debugging) any suggestions? also swo is soldered ( stm32L476rg nucleo board)
@steppeschool3629
@steppeschool3629 Жыл бұрын
Hi, Did you also implement the _write function? Minute 1:45 of this video: kzbin.info/www/bejne/n4OWZaSjm96Nqrc
@peacefighter3559
@peacefighter3559 Жыл бұрын
@@steppeschool3629 yeah but still nothing, even using other suggestions like disable syscall.c nothing shows in swv console
@peacefighter3559
@peacefighter3559 Жыл бұрын
nvm did find the mistake ... had a typo in the _write-fn
@steppeschool3629
@steppeschool3629 Жыл бұрын
@@peacefighter3559 great. Glad that you solved the problem
@kalex7370
@kalex7370 3 ай бұрын
what to do if I get no message in console?
@shafaaulia1661
@shafaaulia1661 Жыл бұрын
My SWV ITM data Console doesn't show any text, can you explain it? (btw, i'm using MPU6050 and STM32F103C6)
@steppeschool3629
@steppeschool3629 Жыл бұрын
Have you checked my video, where I showed how to configure the SWV? You can find it here: kzbin.info/www/bejne/n4OWZaSjm96Nqrc
@shafaaulia1661
@shafaaulia1661 Жыл бұрын
@@steppeschool3629 yes, i have. I have different wiring in my Clock Configuration. I don't have the "MSI" wire in the system clock mux. What should i do to have that MSI wire?
@vovanikotin
@vovanikotin Жыл бұрын
@@shafaaulia1661 probably your st-link programmer is clone, it`s have to be modified by wiring one wire to make SWV works, google it, there are many of examples how to do it
@GudalaChandanraj
@GudalaChandanraj Жыл бұрын
I am unable to see the output in SWV console what might be the issue ?
@steppeschool3629
@steppeschool3629 Жыл бұрын
Maybe the problem in SWV? Are you sure that you have configured it properly?
@gopireddyshanmukhareddy9884
@gopireddyshanmukhareddy9884 Жыл бұрын
@@steppeschool3629 how to configure it
@shafaaulia1661
@shafaaulia1661 Жыл бұрын
@@steppeschool3629 i have same problem. what else i need to do with the SWV that not show in this video?
@offensivebias3965
@offensivebias3965 Жыл бұрын
you should be on the debug mode
@47-dimethyl-2-heptene8
@47-dimethyl-2-heptene8 2 жыл бұрын
Great video, it really helped me and how did you store the calibration data to the microcontroller's flash memory? it is extremely impractical to perform calibration every time the sensor is powered up.
@steppeschool3629
@steppeschool3629 2 жыл бұрын
Hi, I am glad that you find the video helpful. But I did not fully understand your question. You mean configuration of the IMU registers?
@woldecosgrove
@woldecosgrove 9 ай бұрын
hello nice job ! can you upload the code?
@bharatsai9573
@bharatsai9573 Жыл бұрын
How did u connect
@darkknight700
@darkknight700 2 жыл бұрын
source code bro ^-^
@steppeschool3629
@steppeschool3629 2 жыл бұрын
Hi, This tutorial is part of the attitude estimation course based on the STM32 MCU: www.steppeschool.com/courses/stm32-hal-orientation-estimation You can find the code on GitHub: github.com/Steppeschool/STM32-attitude-estimation
PART II: STM32 HAL I2C and MPU6050 IMU
11:52
Steppe School
Рет қаралды 12 М.
STM32 SPI: MPU9250 IMU detailed guidance
12:21
Steppe School
Рет қаралды 10 М.
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
Using I2C for any device on STM32 with HAL | VIDEO 26
37:51
Matej Blagšič
Рет қаралды 82 М.
15 | Combine a gyroscope and accelerometer to measure angles - precisely
9:49
Лекция 308.  Шина I2C
19:54
Электротехника и электроника для программистов
Рет қаралды 106 М.
7 Outside The Box Puzzles
12:16
MindYourDecisions
Рет қаралды 93 М.
Tutorial on STM32 External Interrupts and callback funktions
24:31
How to use ADC in STM32 Microcontroller- Read Analog Sensor Value
17:32
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 223 М.
STM32 ADC Complete Guidance: Polling, Interrupt, and DMA Modes.
17:55
Steppe School
Рет қаралды 4,7 М.